新装的redhat es 5 联网有问题,ping不通
x3550配成了192.168.1.250,255.255.255.0, 网关为空,笔记本是x201,一样的配置,ip末尾是240,用普通网线直连,ping不通,但3550可以ping通自己的IP以及127.0.0.1。另外还测试ping网关,用笔记本测试时可以通的,然后把网线拔下来插在服务器上,服务器ping不通网关。服务器有四块网卡,测试过程中只配了eth0. 这批服务器一样的有好几台,之前配置挺容易的,这台就是后来插了一块新的双口网卡,然后重装了操作系统。我对网络接触不多,请大家帮忙分析下原因,多谢!
ifconfig -a
[root@localhost ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 90:E2:BA:0A:D2:CA
inet addr:192.168.1.250 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:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:97a80000-97b00000
eth1 Link encap:Ethernet HWaddr 90:E2:BA:0A:D2:CB
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:97a00000-97a80000
eth2 Link encap:Ethernet HWaddr 5C:F3:FC:E7:98:84
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:169 Memory:92000000-92012800
eth3 Link encap:Ethernet HWaddr 5C:F3:FC:E7:98:86
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:210 Memory:94000000-94012800
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:10036 errors:0 dropped:0 overruns:0 frame:0
TX packets:10036 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10714232 (10.2 MiB) TX bytes:10714232 (10.2 MiB)
usb0 Link encap:Ethernet HWaddr 5E:F3:FC:DF:98:87
inet addr:169.254.95.120 Bcast:169.254.95.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2004 errors:0 dropped:0 overruns:0 frame:0
TX packets:1058 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:136470 (133.2 KiB) TX bytes:63249 (61.7 KiB)
------解决方案--------------------
如果网卡禁用的话也是自己的机子可以ping通,别的机子ping不不通ifup启用试试
------解决方案--------------------
eth0的ip都没有,怎么配置的?