2009年8月25日 星期二

route 操作指令

[n**a@*** ~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
140.115.0.0 * 255.255.0.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
default MGT-gw.mgt.ncu. 0.0.0.0 UG 0 0 0 eth0
[n**a@ncu ~]$ which route
/sbin/route
[n**a@ncu ~]$
------------------------------------
此指令可查詢、刪除或新增閘道器。
default是目前預設的閘道器。

沒有留言: