格式:route -n
格式:/sbin/route -n
用于打印路由表,加上-n参数就是在输出的信息中不打印主机名而直接打印ip地址。像netstat命令也有此参数。
-n show numerical addresses instead of trying to determine symbolic host names. This is use-ful if you are trying to determine why the route to your nameserver has vanished.
##del
route del -net 121.10.243.0/24
#改为166 我一般的使用
#添加默认网关
route add default gw 192.168.0.254
#删除原来的默认网关
route del default gw 192.168.1.1
http://codingstandards.iteye.com/blog/1125312
http://hi.baidu.com/wfgaozheng/blog/item/4ab6972563f5516135a80f6a.html
http://233375.blog.51cto.com/223375/53982