IPv6 RA route add/removal does not trigger dispatch action
Using ipv6.mode=auto, with slaac (my router/modem does not respond to dhcpv6), when I bring up an ipv6 interface, pre-up
, up
, and dhcp6-change
dispatch actions get triggered. However, when new routes are added or removed from the router advertisement, NetworkManager adds/removes the the corresponding addresses, but does not trigger a dispatch event.
When I asked about this on the mailing list1, Thomas Haller said
I think it's a missing feature.
However, it also seems problematic, because a lot of router advertisements are received. Running the dispatcher scripts each time, sounds expensive. But they could be in a separate directory, and NM would only spawn the dispatcher if there are any scripts there. Like already done for pre-up and pre-down.
Unfortunately, I'm not a C programmer and have the most basic comprehension of such code. My lack of skill prevents me from contributing a patch, hence the submission of this ticket. If someone is kind enough to submit a patch, I would gladly test it and provide feedback. Thanks!