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

dhcpcd timeout due to unavailability of IPv6 #34

Closed
Lekensteyn opened this issue May 16, 2013 · 1 comment
Closed

dhcpcd timeout due to unavailability of IPv6 #34

Lekensteyn opened this issue May 16, 2013 · 1 comment

Comments

@Lekensteyn
Copy link

With the default ethernet-dhcp from the examples directory, setting up a DHCP network on an IPv4-only network fails:

May 16 12:11:48 ar dhcpcd[2711]: eth0: sending IPv6 Router Solicitation
May 16 12:11:48 ar dhcpcd[2711]: eth0: broadcasting for a lease
May 16 12:11:52 ar dhcpcd[2711]: eth0: sending IPv6 Router Solicitation
May 16 12:11:54 ar dhcpcd[2711]: eth0: offered 192.168.2.17 from 192.168.2.1
May 16 12:11:54 ar dhcpcd[2711]: eth0: acknowledged 192.168.2.17 from 192.168.2.1
May 16 12:11:54 ar dhcpcd[2711]: eth0: checking for 192.168.2.17
May 16 12:11:56 ar dhcpcd[2711]: eth0: sending IPv6 Router Solicitation
May 16 12:11:58 ar dhcpcd[2711]: timed out

dhcpcd shouldn't be trying to get an IPv6 address, the following configuration "fixes" that:

DhcpcdOptions=-4

Other solutions that I have seen is using dhclient instead of dhcpcd.

@joukewitteveen
Copy link
Owner

Interesting. I'll add the -4 parameter to the defaults. It looks like netctl should support dhcpcd also for IPv6 nowadays...

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

No branches or pull requests

2 participants