linux 网关不起作用
发布时间:2011-08-12 17:09:40来源:红联作者:liachun
[i=s] 本帖最后由 liachun 于 2011-8-12 17:28 编辑 [/i]
一台安装linux机器,双网卡,分别配置了IP地址:
路由表如下:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.2.2.0 10.233.40.9 255.255.255.240 UG 0 0 0 eth0
10.233.40.0 0.0.0.0 255.255.255.240 U 0 0 0 eth0
10.233.36.192 0.0.0.0 255.255.255.192 U 0 0 0 eth1
10.2.2.0 10.233.40.9 255.255.255.0 UG 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.233.40.9 0.0.0.0 UG 0 0 0 eth0
可在tracert 时候:
[root@db1 network-scripts]# tracert 10.2.2.3
traceroute to 10.2.2.3 (10.2.2.3), 30 hops max, 40 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 *
[root@db1 network-scripts]#
但ping 10.233.40.9可以ping通,为什么一跳也不跳呢,请高手指教!