-
Notifications
You must be signed in to change notification settings - Fork 30
Disabling IPv6 causes network interface to stay in configuring status #1419
Comments
what happens if you set:
|
Nope, that doesn't change the behavior unfortunately. In the same vein, I also tried adding |
i checked and confirmed this happens in QEMU. |
already reported upstream at systemd/systemd#2713 |
Any updates on this? I can't upgrade CoreOS because of this bug... |
The behavior has changed in the current beta (for the worse), because networkd actually enables IPv6... Here is an example of a stable and beta machine, both having a sysctl dropin setting CoreOS 1122.2.0 (systemd 229): sudo sysctl -qa 2>/dev/null | grep 'disable_ipv6'
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.docker0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1 CoreOS 1153.4.0 (systemd 231): sudo sysctl -qa 2>/dev/null | grep 'disable_ipv6'
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.docker0.disable_ipv6 = 0
net.ipv6.conf.eth0.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 1 |
The issue is that systemd's system-wide IPv6 detection function is broken. It looks like you can add both of these lines to your
A fix should be included in the next alpha that will work with the |
Upstream systemd has rejected fixing this. The recommended solution is to write your network files to disable IPv6 as described in the previous comment. |
Issue Report
Bug
Since our beta machines have been upgraded to version 1068.2.0, they alway boot up in a degraded status because unit systemd-networkd-wait-online fails.
networkctl shows our (statically configured) interface as configuring and never gets the configured status. But the configuration has actually been applied and networking does work.
Running the
systemd-networkd-wait-online
command manually, it never returns.We have our servers configured with static networking:
And have IPv6 disabled with a sysctl drop-in:
When I re-enable IPv6 by removing the drop-in, the system boots up normally.
CoreOS Version
Environment
VMware ESXi
Expected Behavior
Interface to become configured and systemd-networkd-wait-online not to fail.
Actual Behavior
Interface never gets configured state:
And systemd-networkd-wait-online fails:
Reproduction Steps
net.ipv6.conf.all.disable_ipv6
)networkctl status
, will show interface as configuringOther Information
I've not been able to test if this also happens when using DHCP.
The text was updated successfully, but these errors were encountered: