Skip to content

babeld replaces routes non-atomically #110

@DanielG

Description

@DanielG

Hi Juliusz,

I've just tracked down a particularly bothersome behavior in my babeld deployment to the fact that babeld doesn't use NLM_F_REPLACE to replace changed routes atomically.

The use-case involves ingesting babel routes into bird to make use of it's support for router advertisements with (default) router lifetime controlled by IGP route presence.

What seems to happen in my system is that babeld removes the default route and quickly re-adds the modified route. Bird sees this and sends a RA lifetime=0 announcement, but it doesn't send the lifetime>0 update quite as quickly it takes a couple of seconds (not sure why yet). This obviously breaks internet connectivity for all clients on the LAN intermittently.

--Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions