linux如何查看路由表
1 回答

慕的地8271018
TA貢獻1796條經(jīng)驗 獲得超4個贊
路由表內(nèi)容說明:
查看路由
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.57.66.200 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Destination:目標網(wǎng)絡或主機。
Gateway:網(wǎng)關地址。
Genmask:目標網(wǎng)絡的網(wǎng)絡掩碼。"255.255.255.255"表示一個主機。"0.0.0.0"表示網(wǎng)關。
Flags:標記。
U、路由被啟用。
H、目標是一個主機
G、使用網(wǎng)關。
添加回答
舉報
0/150
提交
取消