国产成人毛片视频|星空传媒久草视频|欧美激情草久视频|久久久久女女|久操超碰在线播放|亚洲强奸一区二区|五月天丁香社区在线|色婷婷成人丁香网|午夜欧美6666|纯肉无码91视频

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)路由。