johunt | hitting a problem where my vms are not honoring accept_ra sysctls defined in /proc. it looks like netplan should? based on some code default to whatever the value is in the kernel, but that does not appear to get passed to systemd-networkd. | 00:21 |
---|---|---|
johunt | i see this code | 00:21 |
johunt | netdef->accept_ra = NETPLAN_RA_MODE_KERNEL; | 00:21 |
slyon | johunt: Yes, if accept-ra is not set in your netplan config, systemd-networkd will use it's defaults: https://systemd.network/systemd.network.html#IPv6AcceptRA= | 10:12 |
slyon | "The default is to disable RA reception for bridge devices or when IP forwarding is enabled, and to enable it otherwise. Cannot be enabled on bond devices and when link-local addressing is disabled." | 10:12 |
slyon | If you're using VMs, bridges/IP forwarding might be in place, so you could try force-enabling it to accept RAs | 10:13 |
=== JanC_ is now known as JanC | ||
johunt | sylon: thanks. yeah this is all a little confusing b/c i have the sysctls set on the machine to set accept_ra and autoconf to 0, but systemd seems to know better than that... | 17:08 |
johunt | i guess i was hoping that if there was no specific netplan config param set for accept_ra then it or systemd would default to the sysctl values... | 17:09 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!