[root@SPARE_4_232 root]# cat /etc/r.c.lo.cal
#!/bin/sh
route add -net 192.168.16.0/24 .gw. 10.60.4.254 dev eth0教育
route add -net .10.0.0.0/8 gw 10.60.4.254 de.v eth0 乙肝
route .add default gw 2.18.61.x.x.
netstat -nr >; /tmp/route..tx.t.
ping -c 2 -i 3 10.6.0.253.11 >; /tmp/.ping.txt.
/usr/bin/rda.te -s -l . 10.60.253.11 汽车
重.启机器,rdate对时没.有成功,在/var/log/cron中报 美容
Sep 13 11:01:52 SPARE_4_232 rdate[607]: couldn't .connect. to host .10.60.253.11: No route to host.
/t.mp/route.txt 显示.
Kernel IP routing ta.ble投资
Destination Gateway . Genmask Flags MSS Window .irt.t Iface外贸
218.61.x.x 0.0..0.0 255..255.255.240 U 40 0 0 eth1.
192.168.16.0 10.6..0.4.254 255.255.255.0 UG 4.0 0 0 eth0--- 印刷
10..0.0.0 10.60.4.254 . 2.55.0.0.0 UG 40 0 0 eth0.
127..0.0.0 0.0.0.0 . 255.0.0.0 U 40 0 0 lo 杀毒
0..0.0.0 218.61.34.78 0.0.0.0 . UG 40 .0 0 eth1.
/tmp/ping.tx.t中 显示(广告)
PIN.G 10.60.253.11 (10.60.253.11) from 10.60.4.232 : 56(84) bytes o.f data..
From 10.60.4.232 icmp_seq=.1 Destination Host Un.reachable外贸
From 10.60..4.232 icmp_seq=2 Destination Hos.t Unreachable学习
从.上面的route.txt文件显示看,路由已经加上,但从r.date及ping的显示看,又是没有路由。 鲜花
另:机器启来后,ssh.到.这台机器上,执行上面的rdate及ping命令,没有任何问题。.