Is there a way to change the metric of non-default IPv6 routes learned via RA (proto ra)?
0
votes
1
answer
40
views
My setup involves receiving IPv6 routes via Router Advertisements (RA).
- A global on-link prefix route (e.g. 2405:200:185:2666::/64 dev eth0 proto ra metric 110)
I know you can use net.ipv6.conf.eth0.ra_defrtr_metric to lower the metric of the default route.
However, I would like to modify the metric of the global prefix route added via RA, not the default route, but the proto ra route for the global /64 prefix.
This route always appears with proto ra metric 110, and I haven’t found a sysctl or documented method to influence that value.
Is there a way in kernel 6.1 or newer to set or override the metric of non-default RA-learned routes (prefix routes)?
Thanks for the help!
Asked by nhz
(1 rep)
May 8, 2025, 05:15 AM
Last activity: May 8, 2025, 06:40 AM
Last activity: May 8, 2025, 06:40 AM