You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running fakemachine on an IPv6-only host results in "Network is unreachable" when trying to access the network. The network stack usually tries IPv6 first, but machine.go sets LinkLocalAddressing=no and IPv6AcceptRA=no, so it does not have any IPv6 address nor route and the Linux kernel inside KVM reports -ENETUNREACH. It then falls back to IPv4 and sends a packet. KVM's slirp-based user network stack then tries to send this packet, but observes that the host machine does not have any IPv4 addresses nor routes and generates an ICMPv4 packet indicating -ENETUNREACH. Having failed both address families, -ENETUNREACH is reported to the end user. This makes e.g. debos fail.
The networkd template explicitly disables IPv6-connectivity. When
connecting to a host, the attempt to use IPv6 results in -ENETUNREACH
from the guest kernel. If the host is IPv6-only, the host kernel
likewise makes attempts to use IPv4 result in -ENETUNREACH. Hence
fakemachine has dysfunctional network when invoked on an IPv6-only host.
Closes: go-debos#207
Signed-off-by: Helmut Grohne <[email protected]>
Running fakemachine on an IPv6-only host results in "Network is unreachable" when trying to access the network. The network stack usually tries IPv6 first, but
machine.go
setsLinkLocalAddressing=no
andIPv6AcceptRA=no
, so it does not have any IPv6 address nor route and the Linux kernel inside KVM reports-ENETUNREACH
. It then falls back to IPv4 and sends a packet. KVM's slirp-based user network stack then tries to send this packet, but observes that the host machine does not have any IPv4 addresses nor routes and generates an ICMPv4 packet indicating-ENETUNREACH
. Having failed both address families,-ENETUNREACH
is reported to the end user. This makes e.g.debos
fail.Debian-Bug: https://bugs.debian.org/1071033
The text was updated successfully, but these errors were encountered: