-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default RA lifetime and hoplimit not set in route #428
Comments
Found it, in if-linux and ipv6. I'll create a patch to send it to netlink. |
Sends route lifetime to NETLINK RTA_EXPIRES Partially addresses NetworkConfiguration#428
ISC dhclient doesn't set any routes, just addresses. dhcpcd will expire the routes anyway, so any fix we do is purely cosmetic (unless of course dhcpcd has stopped for whatever reason) |
Yes, I agree it's purely cosmetic. I have some other code that reports the current route lifetime from nl, so this is why I'm adding it for informational purposes.
I found that out once I started looking deeper. :) |
If it helps, hop limit is defined here in the kernel: https://elixir.bootlin.com/linux/v6.12.6/source/include/uapi/linux/rtnetlink.h#L485 So it's a property of RTA_METRICS. Good luck! |
the default route is being sent by the router via RA, and they are setting a lifetime of 1800s and a hop limit of 64. However this is not showing up in the ip -6 route show.
dhcpcd 10.1.0 linux
here's what it looks like if I use ISC's dhclient 4.4.3
Any ideas where to start looking?
The text was updated successfully, but these errors were encountered: