Bugzilla – Bug 131295
IP address is "lost" and I cannot access the internet
Last modified: 2006-05-08 14:41:30 UTC
I have no problem with the network for an entire day and then the next morning I log in and I have no internet access. When I run ifconfig it appears that there is no ipv4 address associated with eth0 (although it appears ipv6 is ok although I don't really know how to test it). The only solution I have found is to shutdown and reboot. This problem happens if I us my router to assign a dynamic address via DHCP or I assign a static address from the computer itself. Is there any solution for this?
Please provide logs ('grep dhc /var/log/messages'), and the contents of the file /var/lib/dhcpcd/dhcpcd-eth0.info!
Created attachment 56282 [details] requested logs The " grep dhc /var/log/messages" info is attached The "dhcpcd-eth0.info" contents are below IPADDR=192.168.1.140 NETMASK=255.255.255.0 NETWORK=192.168.1.0 BROADCAST=192.168.1.255 GATEWAY=192.168.1.1 DNS=167.206.245.10,167.206.245.9,167.206.245.74 DHCPSID=192.168.1.1 DHCPGIADDR=0.0.0.0 DHCPSIADDR=192.168.1.1 DHCPCHADDR=00:E0:81:51:C1:D3 DHCPSHADDR=00:14:BF:06:CC:5E DHCPSNAME='' LEASETIME=86400 RENEWALTIME=43200 REBINDTIME=75600 INTERFACE='eth0' CLASSID='Linux 2.6.13-15-smp i686' CLIENTID=00:E0:81:51:C1:D3
There are a lot of DHCP_NAKs in the log. Can you set DHCLIENT_DEBUG=yes in /etc/sysconfig/network/dhcp please? And, could you please run tcpdump -i eth0 -s 1500 -w ~/tcpdump.out port bootps maybe for 20 minutes, and provide the ~/tcpdump.out file? Thanks.
I set DHCLIENT_DEBUG="yes" and ran tcpdump for 20 minutes but it only recieved one packet. I'll attach the file anyway. By the way I was checking email and surfing the web while it was running if that helps.
Created attachment 57368 [details] output file for tcpdump Here is the tcpdump file.
Created attachment 62035 [details] another tcpdump (from 10.1) I did run into this too, for me it looks like an arp query results in changed ip... 12:31:21.059084 arp who-has 169.254.3.97 (00:50:22:9b:02:97) tell 169.254.3.97 Since it works for awhile after restart of network I tried to remove as much as possible after the initial DHCP check. A rebote fixed the issue, clue below? http://aaltonen.us/archive/2003/10/30/tip-fix-169254-ips/
The link is about Windows -- I don't see any relation. Unfortunately, there aren't any dhcp messages in the tcpdump files. When the IP is disappeared, what is the ifconfig output? Is dhcpcd running then? (Check with 'ps aux | grep dhc')
Sorry, without further information, I can't do much... I'm closing the bug. Feel free to reopen with the requested information. Thanks.