linux系统:
#netstat -r         //查看路由表 (route也可以做到)
 
#route add -net 192.168.0.0 netmask 255.255.255.0 gateway 192.168.0.1 dev eth0
#route del -net 192.168.0.0 netmask 255.255.255.0 gateway 192.168.0.1 dev eth0
 
#traceroute *.*.*.*           //追踪路由Linux
 
windows系统:
#route print          //查看路由表
 
#route add 192.168.0.0 mask 255.255.255.0 gateway 192.168.0.1 metric 1
#route chang 192.168.0.0 mask 255.255.255.0 gateway *.*.*.* metric *        //只能修改GW和metric
#route delete 192.168.0.0
 
#tracert *.*.*.*          //追踪路由windows