linux如何查看路由表
1 回答

慕的地8271018
TA貢獻1796條經驗 獲得超4個贊
路由表內容說明:
查看路由
# 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:目標網絡或主機。
Gateway:網關地址。
Genmask:目標網絡的網絡掩碼。"255.255.255.255"表示一個主機。"0.0.0.0"表示網關。
Flags:標記。
U、路由被啟用。
H、目標是一個主機
G、使用網關。
- 1 回答
- 0 關注
- 1016 瀏覽
添加回答
舉報
0/150
提交
取消