route 查看路由 linux如何查看路由表?
linux如何查看路由表?路由表內(nèi)容描述:查看路由#route-N kernel IP Routing table destination gateway genmask flags metric r
linux如何查看路由表?
路由表內(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 ugh 0 0 0 eth0 192.168.1.0 0 0 0 0 255.0 u 0 0 0 0 eth0 169.254.0.0 255.0 255.0 u 0 0 0 0 0 0 0 0 0 0 eth0 0 0 0 0 0 0 0 0 0 0 192.168.1 0.0.0 UG 0 0 0 0 0 0 eth0 destination:目標(biāo)網(wǎng)絡(luò)或主機(jī)。網(wǎng)關(guān):網(wǎng)關(guān)地址。Genmask:目標(biāo)網(wǎng)絡(luò)的網(wǎng)絡(luò)掩碼?!?55.255.255.255”表示主機(jī)?!?.0.0.0”指網(wǎng)關(guān)。標(biāo)志:標(biāo)記。已啟用U.路由。H.目標(biāo)是主機(jī)g,使用網(wǎng)關(guān)。詳見(jiàn)此處http://www.cnblogs.com/dongzhiquan/archive/2012/12/26/2834904.html
linux路由表怎么看?
Linux查看路由表的步驟如下:
我們需要準(zhǔn)備的材料是:計(jì)算機(jī)和Linux連接工具。
1. 首先,連接Linux主機(jī)并進(jìn)入命令行狀態(tài)。
2. 在命令行中,輸入:Route-N,然后按enter鍵。
3. 將打印所有路由表以供查看。
LiNUX系統(tǒng)下,通過(guò)什么命令可以查看系統(tǒng)的路由表?
1. 連接相應(yīng)的Linux主機(jī),進(jìn)入Linux命令行狀態(tài)等待shell指令。
2. 在Linux命令行中,輸入shell命令:route-n.
3。鍵盤按“回車”運(yùn)行shell命令。此時(shí),您將看到系統(tǒng)的路由表信息。