Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd keeps getting Link-Local addresses assigned
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
geeksheik
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2003
Posts: 87

PostPosted: Mon Oct 26, 2015 2:26 pm    Post subject: dhcpcd keeps getting Link-Local addresses assigned Reply with quote

Recently my wireless interfaces keep getting assigned Link-local addresses (169.254.184.224 in this case) via the dhcpcd daemon. This occurs with multiple different routers and multiple different gentoo installations.

Here is an excerpt from a dhcpcd debugging session:

Quote:
# dhcpcd -d wlan3

dhcpcd-6.9.0 starting
wlan3: if_disable_autolinklocal: Invalid argument
wlan3: executing `/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
wlan3: executing `/lib/dhcpcd/dhcpcd-run-hooks' CARRIER
DUID 00:01:00:01:1d:1c:97:f3:00:0a:cd:25:39:b4
wlan3: IAID 3b:6e:cb:c8
wlan3: delaying IPv6 router solicitation for 0.2 seconds
wlan3: delaying IPv4 for 0.5 seconds
wlan3: soliciting an IPv6 router
wlan3: sending Router Solicitation
wlan3: soliciting a DHCP lease
wlan3: sending DISCOVER (xid 0xcb1a3a8b), next in 3.6 seconds
wlan3: sending DISCOVER (xid 0xcb1a3a8b), next in 7.7 seconds
wlan3: sending Router Solicitation
wlan3: using IPv4LL address 169.254.184.224
wlan3: writing lease `/var/lib/dhcpcd/dhcpcd-wlan3-.lease'
wlan3: IP address 169.254.184.224/16 already exists
wlan3: executing `/lib/dhcpcd/dhcpcd-run-hooks' IPV4LL
forking to background
forked to background, child pid 4088


This happens within a second or two; it does not time out. I do not think this address is coming from the DHCP server. Any idea why this is happening or how I might debug it?

I've tried removing the leases from /var/lib/dhcpcd, but it keeps getting this back.

Thanks.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6737
Location: Blighty

PostPosted: Mon Oct 26, 2015 4:16 pm    Post subject: Re: dhcpcd keeps getting Link-Local addresses assigned Reply with quote

geeksheik wrote:
I do not think this address is coming from the DHCP server. Any idea why this is happening or how I might debug it?


That's entirely the point of the link-local address - you're not getting ANYTHING back from the DHCP server!
You could try upgrading to dhcpcd-6.9.3 (6.9.0 isn't the latest release) if you think it's a dhcpcd problem.
If that doesn't work, examine the network traffic using tcpdump or wireshark.
If you do see a DHCP packet come from a server to your host which dhcpcd ignores for some reason then we can look into making dhcpcd work for you.

But I'll probably go out on a limb here and suggest your DHCP server is faulty.
Try removing the rapid_commit option and then if that fails changing from duid to clientid in /etc/dhcpcd.conf
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum