如何使用Linux命令 route

时间:2014-02-14 20:07:25
【文件属性】:

文件名称:如何使用Linux命令 route

文件大小:4KB

文件格式:TXT

更新时间:2014-02-14 20:07:25

如何使用Linux命令 route

Show / manipulate the IP routing table. linux route 的语法 route [-CFvnee] route [-v] [-A family] add [-net|-host] target [netmask Nm] [gw Gw] [metric N] [mss M] [window W] [irtt I] [reject] [mod] [dyn] [reinstate] [[dev] If] route [-v] [-A family] del [-net|-host] target [gw Gw] [netmask Nm] [metric N] [[dev] If] route [-V] [--version] [-h] [--help] -A family use the specified address family (eg `inet'; use `route --help' for a full list). -F operate on the kernel's FIB (Forwarding Information Base) routing table. This is the default. -C operate on the kernel's routing cache. -v select verbose operation. -n show numerical addresses instead of trying to determine symbolic host names. This is useful if you are trying to determine why the route to your nameserver has vanished. -e use netstat-format for displaying the routing table. -ee will generate a very long line with all parameters from the routing table.


网友评论