linux系統(tǒng)查看路由表命令 linux如何查看路由表?
linux如何查看路由表?路由表內(nèi)容描述:查看路由#Route-n內(nèi)核IP路由表目標網(wǎng)關(guān)genmask標志metric ref use interface192.57.66.200 192.168.1
linux如何查看路由表?
路由表內(nèi)容描述:
查看路由
#Route-n
內(nèi)核IP路由表
目標網(wǎng)關(guān)genmask標志metric ref use interface
192.57.66.200 192.168.1.1 255.255.255.255 ugh 0 0 0 0 eth0
192.168.1.0 0 0 0 0 255.255.0 u 0 0 0 eth0
169.254.0.0 0 0 0 0 0 0 255.0 u 0 0 0 0 0 0 0 eth0
0.0.0.0192.168.1.1 0.0.0.0.0.0 UG 0.0 Eth0
目標:目標網(wǎng)絡(luò)或主機。
網(wǎng)關(guān):網(wǎng)關(guān)地址。
Genmask:目標網(wǎng)絡(luò)的網(wǎng)絡(luò)掩碼?!?55.255.255.255”表示主機。“0.0.0.0”指網(wǎng)關(guān)。
標志:標記。
已啟用U.路由。
H.目標是主機
g.使用網(wǎng)關(guān)。
有關(guān)詳細信息,請參閱此處http://www.cnblogs.com/dongzhiquan/archive/2012/12/26/2834904.html
linux路由表怎么看?
Linux查看路由表的步驟如下:
我們需要準備的材料是:計算機和Linux連接工具。
1. 首先,連接Linux主機并進入命令行狀態(tài)。
2. 在命令行中,輸入:Route-N,然后按enter鍵。
3. 將打印所有路由表以供查看。
LiNUX系統(tǒng)下,通過什么命令可以查看系統(tǒng)的路由表?
1. 連接相應(yīng)的Linux主機,進入Linux命令行狀態(tài)等待shell指令。
2. 在Linux命令行中,輸入shell命令:route-n.
3。鍵盤按“回車”運行shell命令。此時,您將看到系統(tǒng)的路由表信息。