AIX:
chdev -l inet0 -a route='net,-hopcount,0,,,,,,-static,40.1.18.0,40.1.243.254'
redhat linux:
route add -net 40.1.18.0/24 gw 40.1.243.254 dev eth1
echo "route add -net 40.1.18.0/24 gw 40.1.243.254 dev eth1" >> /etc/rc.local
suse linux:
route add -net 40.1.18.0/24 gw 40.1.243.254 dev eth1
echo "40.1.18.0 40.1.243.254 255.255.255.0 eth1" >> /etc/sysconfig/network/routes
windows :
route add 40.1.18.0 mask 255.255.255.0 40.1.243.254 -p
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22661144/viewspace-1454025/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22661144/viewspace-1454025/