Skip to content
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

enable network on ipv6-only hosts #208

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

helmutg
Copy link

@helmutg helmutg commented May 14, 2024

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: #207

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 <helmut@subdivi.de>
@@ -301,9 +301,6 @@ Type=ether

[Network]
DHCP=ipv4
# Disable link-local address to speedup boot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this cause any slow-down as per the comment above ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It quite definitely causes a slow-down. Not sure how much. To me the question is more of whether it works at all. I cannot use debos at all as a result of this problem.

machine.go Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fails to provide network on IPv6-only hosts
2 participants