Help: Mandriva drops DHCP IP address nor can't ping to local host

From: Michael Badt (mb_at_yahoo.com)
Date: 07/17/05


Date: Sun, 17 Jul 2005 19:58:13 +0300

Hi,
My dual boot (Mandriva LE 2005 LE - fully updated/Win2000) at work worked
fine (both OS) till this weekend.
The laptop is connected to a physical LAN with a DHCP server.
This week, I couldn't browse in Linux, although I was able to download
emails from the local exchange server (but not my other, "external"
account). Trying to analyze the problem (details below) I noticed that,
among others:
a. The laptop couldn't ping to 127.0.0.1
b. The system log showed that eth0 has been allocated an IP address, yet,
less than a minute afterwards dhclient notified that there weren't free
leases (see below). Manually initiating dhclient resulted the same.

Trying to compare, I switched to Win 2000 only to find that I COULD browse
using MS Explorer (Yak) but could NOT browse using (Win) Firefox. Weird!
I've checked the Win networking parameters and found these were identical to
those as Linux. The Win parameters were:
IP 10.4.4.3
Net Mask 255.255.0.0
GW 10.4.253.253
DNS Suffix rf.local

Needless to mention that my Sys Administrator isn't concerned neither about
Linux nor Firefox...

Please advise.

TIA
Michael Badt

-----------following are the relevant Linux commands and responses---------
Commands ran as root in updated Mandriva 2005 LE
-----------------
[root@Atlantis miki]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:A5:BA:EF:CC
          inet addr:10.4.4.13 Bcast:10.4.255.255 Mask:255.255.0.0
          inet6 addr: fe80::202:a5ff:feba:efcc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:289 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:28768 (28.0 Kb) TX bytes:7662 (7.4 Kb)

lo Link encap:Local Loopback
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4171 (4.0 Kb) TX bytes:4171 (4.0 Kb)

sit0 Link encap:IPv6-in-IPv4
          inet6 addr: ::127.0.0.1/96 Scope:Unknown
          UP RUNNING NOARP MTU:1480 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:10 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
--------------------------
[root@Atlantis miki]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.

--- 127.0.0.1 ping statistics ---
87 packets transmitted, 0 received, 100% packet loss, time 85986ms

[root@Atlantis miki]# ping 10.4.4.13
PING 10.4.4.13 (10.4.4.13) 56(84) bytes of data.
64 bytes from 10.4.4.13: icmp_seq=1 ttl=64 time=0.122 ms
64 bytes from 10.4.4.13: icmp_seq=2 ttl=64 time=0.086 ms
64 bytes from 10.4.4.13: icmp_seq=3 ttl=64 time=0.074 ms

--- 10.4.4.13 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.074/0.094/0.122/0.020 ms

------------------

route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.4.0.0 * 255.255.0.0 U 0 0 0 eth0
default 10.4.253.253 0.0.0.0 UG 0 0 0 eth0
------------------
cat /etc/resolv.conf
search rf.local
nameserver 10.2.34.1
nameserver 10.2.34.2
---------------
cat /etc/hosts
127.0.0.1 Atlantis localhost
-----------------
relevant part of /var/log/syslog
Jul 17 13:54:01 Atlantis dhclient: DHCPACK from 194.90.39.108
Jul 17 13:54:01 Atlantis dhclient: bound to 10.4.4.13 -- renewal in 297597
seconds.
Jul 17 13:54:05 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
port 67 interval 15
Jul 17 13:54:07 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 11
Jul 17 13:54:18 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 7
Jul 17 13:54:20 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
port 67 interval 9
Jul 17 13:54:25 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 7
Jul 17 13:54:29 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
port 67 interval 21
Jul 17 13:54:32 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 12
Jul 17 13:54:43 Atlantis ntpd[7123]: synchronized to LOCAL(0), stratum=10
Jul 17 13:54:43 Atlantis ntpd[7123]: kernel time sync disabled 0041
Jul 17 13:54:44 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 10
Jul 17 13:54:50 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
port 67 interval 5
Jul 17 13:54:54 Atlantis dhclient: No DHCPOFFERS received.
Jul 17 13:54:54 Atlantis dhclient: No working leases in persistent database
- sleeping.



Relevant Pages

  • Re: Probably a really dumb question
    ... On Tue, 16 Dec 2003 at 18:05 GMT, Joe Beanfish wrote: ... >> Please forgive me as I am new to linux. ... >> strip the port number off it and then ping it. ... >> to be able to ping the game server IPs straight from that using URL ...
    (comp.os.linux.misc)
  • Re: Oracle 10g on Linux
    ... I disabled firewalls on both sides and tried to ... So you connect internally on the linux box using port 1158 and it works ... the output from a ping from the linux box over to the windows box ...
    (comp.databases.oracle.server)
  • Re: SSH
    ... I'm a bit new to Linux. ... I changed my SSH port from 22 to something else. ... from my Windows box I can ping the new Linux box.....from ... If you've changed the port you need to specify it when you do the ssh. ...
    (comp.os.linux.misc)
  • Re: How does one go about setting up linux to listen on port 3306 for MyODBC driver traffic coming f
    ... > fails to connect. ... I can ping the linux server successfully. ... are you sure that there is a server listening on that port? ...
    (comp.os.linux.security)
  • network slowness/freez-up since update 10/11
    ... network problems: first the network is slow (even within a few ... network - but not the rest of the system - just locks up (can't ping ... OHCI version 1.0, legacy support ... <Parallel port bus> on ppc0 ...
    (freebsd-current)