route命令的用法:操作或者显示IP路由表route:DESCRIPTION Route manipulates the kernel's IP routing tables. Its primary use is to set up static routes to specific hosts or networks via an interface after it has been configured with the ifconfig(8) pro‐gram. When the a
Linux下查看网关方法:route -n ip route show traceroute www.prudentwoo.com -s 100 第一行就是自己的默认网关 netstat -r more /etc/network/interfaces Debian/Ubuntu Linux more /etc/sysconfig/network-scripts/ifcfg-eth0 Red Hat