Skip to content

Draft: ndisc: send router solicitations when advertised data is about to expire

Jonas Kümmerlin requested to merge genosseeinhorn/NetworkManager:main into main

My router, a ISP-provided FritzBox, responds to router solicitations, but does not reliably send unsolicited router advertisements (Or maybe it does and they get lost on the wire, no idea how to check that). As a result, the gateway expires and I am left without IPv6 connectivity until I disconnect and then connect again.

In the past, that had been papered over by NetworkManager sending router solicitations whenever the half-life of dns servers and dns domains expired, but this has been changed in commit 03c6d828.

I propose to start router solicitation again when advertised data is about to expire, and I've written some code to demonstrate it. While it does fix my IPv6 connectivity problems, I'm not sure whether the idea actually makes sense and how it should be implemented. It also needs a unit test.

Merge request reports

Loading