-
Notifications
You must be signed in to change notification settings - Fork 597
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
accept_ra=2 not consistently applied #5632
Comments
It shouldn't matter that eth0 is already present; router advertisements are not handled in a one-shot manner. |
To clarify, I believe the |
Oh, yes. I see what you're talking about now. Yes, that is quite correct. |
FYI: Same here in my LAN which doesn't use dhcpv6 but SLAAC only. I need to set |
Any updates? |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Still relevant here. I'm still setting |
Bug Report
I'm not getting my ipv6 default routes through router advertisements, even though Talos is setting sys.net.ipv6.conf.default.accept_ra=2
Description and logs
My 'physical' (VM) interface is eth0. When enabling dhpv6 in the MachineConfig but not doing any specific configuration otherwise the potentially relevant values for it are:
Empirically and some attempts at googling and reading Kernel sources lead me to believe that the
all
value is either irrelevant foraccept_ra
settings, or it gets ANDed and as such the effective value foreth0
is1
.Notably, I've set
all.accept_ra
to 2, waited for a router advertisement to show up in tcpdump and observed no route being added.While setting
eth0.accept_ra
to 2, waiting for a router advertisement in tcpdump does result in a default route being added.I do not believe having dhcpv6 enabled or disabled in the MachineConfig is of any influence, but I haven't done extensive testing on this.
Manually configuring
net.ipv6.conf.eth0.accept_ra: '2'
in MC sysctls is a valid workaround in my environment.Lastly, my current assumption is that the
net.ipv6.conf.default.accept_ra
that Talos does set does not apply to myeth0
becauseeth0
is probably present before this happens.Environment
metal
(libvirt QEMU VM)The text was updated successfully, but these errors were encountered: