日期:2014-05-16  浏览次数:22150 次

装了Red Hat Enterprise 5.3 但是ping不通网关和其他机器,具体见贴内。
route 的结果
Destinatin Gateway Genmask Flags Metric Ref Use lface 
192.168.6.0 * 255.255.255.0 U 0 0 0 eth0
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.6.1 0.0.0.0 UG 0 0 0 eth0

ifconfig的结果
eth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet addr:192.168.6.238 Bcast 192.168.6.255
mask:255.255.255.0
inet6 addr:fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICASE MTU:1500 metric:1
RX packets:290392 errors:0 dropped:0
overruns:0 frame:0 TXpackets:91 collisions:0 txqueuelen:0
RX bytes:31634822(30.1MiB) TX bytes 21317(20.8 KiB)
 
lo ....

peth0 ....

vif0.0....  

virbr0....

已经确认网线和网络设备没有问题。
(用一张能自启动的ubantu linux启动后,配置同样的ip和网关可以Ping通网关和其他机器)

请问会是什么问题?

------解决方案--------------------
试试先将不需要的接口 down...

Perl code
# ifconfig vif0.0 down
# ifconfig virbr0 down

------解决方案--------------------
ifconfig的结果 
eth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF 
inet addr:192.168.6.238 Bcast 192.168.6.255 
mask:255.255.255.0 
inet6 addr:fe80::fcff:ffff:feff:ffff/64 Scope:Link 
UP BROADCAST RUNNING MULTICASE MTU:1500 metric:1 
RX packets:290392 errors:0 dropped:0 
overruns:0 frame:0 TXpackets:91 collisions:0 txqueuelen:0
RX bytes:31634822(30.1MiB) TX bytes 21317(20.8 KiB)

貌似没有通过 eth0 发送嘛...