標題:
Busybox —— route command
[打印本頁]
作者:
角色
時間:
2013-2-23 13:24
標題:
Busybox —— route command
/ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default pfsense.local.l 0.0.0.0 UG 0 0 0 eth0
/ # route add -net 10.10.10.0 netmask 255.255.255.0 gw 192.168.1.10 dev eth0
/ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
10.10.10.0 192.168.1.10 255.255.255.0 UG 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default pfsense.local.l 0.0.0.0 UG 0 0 0 eth0
複製代碼
作者:
角色
時間:
2013-2-23 15:05
http://www.softpanorama.org/Net/Netutils/route_in_linux.shtml
歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/)
Powered by Discuz! 7.2