这是我的服务器里面的路由
[root@mailserver root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 10.0.0.7 255.255.255.0 UG 0 0 0 eth1
10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
211.154.***.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 211.***.***.254 0.0.0.0 UG 0 0 0 eth0
[root@mailserver root]# ping 192.168.0.15
PING 192.168.0.15 (192.168.0.15) from 211.154.135.182 : 56(84) bytes of data.
现在我加了一条route add -net 10.0.0.0/24 gw 10.0.0.7 dev eth1进去了可是还是不能通过网关10.0.0.7PING到192.168.0.0的机器,请大家帮帮我