I have 2 centos 5 servers, directly connected via an ethernet cable(not sure it's a crossover cable or straight through), but they can not ping each other. This did work at some point, but I believe stopped working yesterday.
Unfortunately this is a remote server, so I'm limited to what I can test over ssh or remote console access, i.e., I can't just replace the cable.
ethtool and mii-tool both show the nics connected, auto-negotiated at 1000/full. iptables is off, and selinux is disabled.
I have tried restarting the network interface on both, forcing them to renegotiate, even went so far as rebooting both servers. nothing looks out of place in the configs to me, so I'm at a loss here.
Server1 config:
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 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
10.90.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.90.250.1 0.0.0.0 UG 0 0 0 eth0
ifcfg file:
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.7
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
IPV6_AUTOCONF=yes
ifconfig output:
eth1 Link encap:Ethernet HWaddr 00:15:17:66:99:C5
inet addr:192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe66:99c5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2633 errors:0 dropped:0 overruns:0 frame:0
TX packets:1530 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:168952 (164.9 KiB) TX bytes:137137 (133.9 KiB)
Base address:0x2000 Memory:b8800000-b8820000
Server2 config:
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 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
10.90.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.90.250.1 0.0.0.0 UG 0 0 0 eth0
ifcfg file:
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.8
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
IPV6_AUTOCONF=yes
ifconfig output:
eth1 Link encap:Ethernet HWaddr 00:15:17:66:9A:2D
inet addr:192.168.1.8 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe66:9a2d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5857 errors:0 dropped:0 overruns:0 frame:0
TX packets:7035 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:375200 (366.4 KiB) TX bytes:728319 (711.2 KiB)
Base address:0x2000 Memory:b8800000-b8820000
Any ideas or suggestions would be greatly appreciated.