卖逼视频免费看片|狼人就干网中文字慕|成人av影院导航|人妻少妇精品无码专区二区妖婧|亚洲丝袜视频玖玖|一区二区免费中文|日本高清无码一区|国产91无码小说|国产黄片子视频91sese日韩|免费高清无码成人网站入口

linux靜態(tài)路由配置 linux添加默認(rèn)路由?

linux添加默認(rèn)路由?在Linux中添加路由的方法:1。使用route命令添加使用route命令添加的管線。重新啟動(dòng)機(jī)器或重新啟動(dòng)網(wǎng)卡后,路由將無(wú)效。Methods://routes add to

linux添加默認(rèn)路由?

在Linux中添加路由的方法:1。使用route命令添加使用route命令添加的管線。重新啟動(dòng)機(jī)器或重新啟動(dòng)網(wǎng)卡后,路由將無(wú)效。Methods://routes add to the host#route add–host 192.168.168.110 dev eth0#route add–host 192.168.168.119 GW 192.168.168.1//添加到網(wǎng)絡(luò)的路由#route add–net IP netmask eth0#route add–net IP netmask GW IP#route add–net IP/24 eth1//添加默認(rèn)網(wǎng)關(guān)#route add default GW IP//刪除route#route del–host 192.168.168.110 dev eth0 2:在Linux中設(shè)置永久路由的方法:1。在/etc/rc.本地添加方法:route Add-net 192.168.3.0/24 dev eth0 route Add-net 192.168.2.0/24 GW 192.168.3.254 2。添加到/etc/sysconfig/network方法的末尾:gateway=GW IP或gateway=GW dev 3。/etc/sysconfig/static Router:any net x.x.x.x/24gw y.y.y

如果你的Linux有一個(gè)快速網(wǎng)卡,你可以用Linux作為路由器。您說(shuō)過(guò)您在windows中設(shè)置的默認(rèn)網(wǎng)關(guān)實(shí)際上是在向本地路由表添加默認(rèn)路由。