[CentOS] strange network problem

Jack Bailey

jack at internetguy.net
Thu Mar 16 02:20:48 UTC 2006


I can't figure this one out.  There's a Belken USB->Ethernet adapter as 
eth2 on my server.  After a reboot it doesn't communicate with anything 
ever though it's up:

ipaddress is 68.15.6.136
gateway is 68.15.6.129

# ifconfig eth2
eth2      Link encap:Ethernet  HWaddr 00:05:1B:00:52:BF
          inet addr:68.15.6.136  Bcast:68.15.6.191  Mask:255.255.255.192
          inet6 addr: fe80::205:1bff:fe00:52bf/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1536  Metric:1
          RX packets:208 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13540 (13.2 KiB)  TX bytes:0 (0.0 b)

it can ping itself:

# ping 68.15.6.136
PING 68.15.6.136 (68.15.6.136) 56(84) bytes of data.
64 bytes from 68.15.6.136: icmp_seq=0 ttl=64 time=0.056 ms
64 bytes from 68.15.6.136: icmp_seq=1 ttl=64 time=0.021 ms

--- 68.15.6.136 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.021/0.038/0.056/0.018 ms, pipe 2

can't ping the gateway:

# ping 68.15.6.129
PING 68.15.6.129 (68.15.6.129) 56(84) bytes of data.
 From 68.15.6.136 icmp_seq=0 Destination Host Unreachable

bounce the interface:

# ifconfig eth2 down
# ifconfig eth2 up

now it works:

# ping 68.15.6.129
PING 68.15.6.129 (68.15.6.129) 56(84) bytes of data.
64 bytes from 68.15.6.129: icmp_seq=0 ttl=64 time=64.4 ms
64 bytes from 68.15.6.129: icmp_seq=1 ttl=64 time=12.3 ms
64 bytes from 68.15.6.129: icmp_seq=2 ttl=64 time=12.3 ms


Any ideas?

Jack




More information about the CentOS mailing list