Linux系统加路由
742 ll
743 ps -ef |grep java
744 cd /utxt/soft/
745 ll
746 cd isftp1
747 ll
748 tail -f nohup.out
749 netstat -nap |grep 20201
750 ps -ef |grep java
751 tail -500 nohup.out
752 tail -f nohup.out
753 sftp root@10.188.35.37
754 route add 10.188.35.0
755 route -n
756 ping 10.188.35.37
757 route add -net 10.188.0.0/16 gw 10.193.106.1
758 route -n
759 route add -net 10.188.0.0/16 gw 10.193.106.1
760 ping 10.188.35.37
761 route add -net 10.189.0.0/16 gw 10.193.106.1
762 route add -net 10.187.0.0/16 gw 10.193.106.1
763 route add -net 10.186.0.0/16 gw 10.193.106.1
764 route add -net 10.185.0.0/16 gw 10.193.106.1
765 route add -net 10.184.0.0/16 gw 10.193.106.1
766 route add -net 10.183.0.0/16 gw 10.193.106.1
767 route -n
768 touch /etc/sysconfig/network-scripts/route-eth1.3882
769 vi /etc/sysconfig/network-scripts/route-eth1.3882
10.185.0.0/16 via 10.193.106.1
加进配置文件以免重启失效
cat /etc/rc.local
10.191.0.0/16 via 10.193.106.1
route add -net 10.187.0.0/16 gw 10.193.106.33
route add -net 10.188.0.0/16 gw 10.193.106.1
route add -net 10.185.0.0/16 gw 10.193.106.1
route add -net 10.189.0.0/16 gw 10.193.106.1
route add -net 10.187.0.0/16 gw 10.193.106.1
route add -net 10.186.0.0/16 gw 10.193.106.1
route add -net 10.185.0.0/16 gw 10.193.106.1
route add -net 10.184.0.0/16 gw 10.193.106.1
route add -net 10.183.0.0/16 gw 10.193.106.1
route add -net 10.184.0.0/16 gw 10.193.106.33
route add -net 10.189.0.0/16 gw 10.193.106.33
route add -net 10.187.0.0/16 gw 10.193.106.33
route add -net 10.186.0.0/16 gw 10.193.106.33
route add -net 10.185.0.0/16 gw 10.193.106.33
route add -net 10.184.0.0/16 gw 10.193.106.33
route add -net 10.183.0.0/16 gw 10.193.106.33
route add -net 110.239.0.0/16 gw 10.193.106.1
route add -net 10.193.0.0/16 gw 10.185.8.238