eth0 not working properly !?

Kim Neunert k9ert at gmx.de
Wed Nov 16 02:26:48 PST 2005


Hi,

I recently finished with LFS book and now I try to get my 
Internet-connection working. First, I wondered that "ifconfig" is not 
installed. It seems, that "link" is another frontend to the "ip 
interfaces" ?! I installed ifconfig as described in BLFS.

But I should proceed to my problem: pinging is not possible. Everything 
is fine but no ping-answer:
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from quorty-lfs (192.168.1.5): Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst Data
 4  5  c0 7000 3074   0 0000  40  01 4282 192.168.1.5  192.168.1.5

So, what's wrong? Here is ifconfig's output:


eth0      Link encap:Ethernet  HWaddr 00:50:BA:D5:73:E9
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:540 (540.0 b)
          Interrupt:18 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:984 (984.0 b)  TX bytes:984 (984.0 b)


Here is "route -n"

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 
eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 
eth0

So, I installed tcpdump. Here is tcpdump's output:


10:42:36.671360 arp who-has 192.168.1.1 tell quorty-lfs
[only-this-message-a-million-times]

Maybe, the address is not existing? But I'm sure, it exists (it's my 
internet-gw). From my good working debian system on the same computer, 
ping looks like that:
kim at quorty:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.31 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.743 ms

--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.743/1.031/1.319/0.288 ms
kim at quorty:~$

Another strange thing is, that the light on the switch is not blinking, 
while pinging.

Any hints how I could track down the error?

Greetings

Kim




More information about the blfs-support mailing list