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

关于redhat的route问题。
请教一个问题
操作系统:redhat EL 5.4 X86_64
双网卡,配置如下:
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=static
BROADCAST=10.36.4.127
HWADDR=00:50:56:98:4B:4D
IPADDR=10.36.4.31
NETMASK=255.255.255.128
NETWORK=10.36.4.0
ONBOOT=yes

# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth1
BOOTPROTO=static
HWADDR=00:50:56:98:4B:4E
BROADCAST=10.255.255.255
IPADDR=10.10.10.10
NETMASK=255.0.0.0
NETWORK=10.0.0.0
ONBOOT=yes
DHCP_HOSTNAME=ps01

路由表如下:
[root@ps01 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.36.4.0 * 255.255.255.128 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth1
default 10.36.4.126 0.0.0.0 UG 0 0 0 eth0

ping另一个子网的一个IP10.36.0.80,两个子网是互通的.
[root@ps01 ~]# ping 10.36.0.80
PING 10.36.0.80 (10.36.0.80) 56(84) bytes of data.
From 10.10.10.10 icmp_seq=1 Destination Host Unreachable
From 10.10.10.10 icmp_seq=2 Destination Host Unreachable
From 10.10.10.10 icmp_seq=3 Destination Host Unreachable
From 10.10.10.10 icmp_seq=4 Destination Host Unreachable
From 10.10.10.10 icmp_seq=5 Destination Host Unreachable
From 10.10.10.10 icmp_seq=6 Destination Host Unreachable

同时从10.36.0.80上也ping不通10.36.4.31.

如何解决给点提示.



------解决方案--------------------
看10.36.4.31上是否有防火墙限制,或者内核参数是否屏蔽了ping响应
看10.36.0.80的路由表