WayOS软路由用交换机扩展网卡方法 wayos软路由小区版

做软路由时 通常电脑PCI接口最多的只有4个,也就是说最多只能插4块网卡接入4条宽带,这让做小区宽带的太为难了。

利用带VLan功能的交换机可以实现扩展网卡的功能,下面是交换机扩展网卡的telnet命令:

进入路由器:
telnet 192.168.1.1
用户名:root
密码:路由器密码(输入密码时屏幕不会显示)

扩展1台交换机23WAN:
以下需一次一行输入
nvram setjhl_vlan="eth1|24,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23<"
nvram set wan_ifname="eth1.24"
nvram set wan1_ifname="eth1.2"
nvram set wan2_ifname="eth1.3"
nvram set wan3_ifname="eth1.4"
nvram set wan4_ifname="eth1.5"
nvram set wan5_ifname="eth1.6"
nvram set wan6_ifname="eth1.7"
nvram set wan7_ifname="eth1.8"
nvram set wan8_ifname="eth1.9"
nvram set wan9_ifname="eth1.10"
nvram set wan10_ifname="eth1.11"
WayOS软路由用交换机扩展网卡方法 wayos软路由小区版
nvram set wan11_ifname="eth1.12"
nvram set wan12_ifname="eth1.13"
nvram set wan13_ifname="eth1.14"
nvram set wan14_ifname="eth1.15"
nvram set wan15_ifname="eth1.16"
nvram set wan16_ifname="eth1.17"
nvram set wan17_ifname="eth1.18"
nvram set wan18_ifname="eth1.19"
nvram set wan19_ifname="eth1.20"
nvram set wan20_ifname="eth1.21"
nvram set wan21_ifname="eth1.22"
nvram set wan22_ifname="eth1.23"
nvram commit

reboot


扩展2台交换机46WAN:
以下()里需一次一行输入,()号不用输
(nvram setjhl_vlan="eth1|24,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23<")

nvram set wan_ifname="eth1.24"
nvram set wan1_ifname="eth1.2"
nvram set wan2_ifname="eth1.3"
nvram set wan3_ifname="eth1.4"
nvram set wan4_ifname="eth1.5"
nvram set wan5_ifname="eth1.6"
nvram set wan6_ifname="eth1.7"
nvram set wan7_ifname="eth1.8"
nvram set wan8_ifname="eth1.9"
nvram set wan9_ifname="eth1.10"
nvram set wan10_ifname="eth1.11"
nvram set wan11_ifname="eth1.12"
nvram set wan12_ifname="eth1.13"
nvram set wan13_ifname="eth1.14"
nvram set wan14_ifname="eth1.15"
nvram set wan15_ifname="eth1.16"
nvram set wan16_ifname="eth1.17"
nvram set wan17_ifname="eth1.18"
nvram set wan18_ifname="eth1.19"
nvram set wan19_ifname="eth1.20"
nvram set wan20_ifname="eth1.21"
nvram set wan21_ifname="eth1.22"
nvram set wan22_ifname="eth1.23"

nvram set wan23_ifname="eth2.24"
nvram set wan24_ifname="eth2.2"
nvram set wan25_ifname="eth2.3"
nvram set wan26_ifname="eth2.4"
nvram set wan27_ifname="eth2.5"
nvram set wan28_ifname="eth2.6"
nvram set wan29_ifname="eth2.7"
nvram set wan30_ifname="eth2.8"
nvram set wan31_ifname="eth2.9"
nvram set wan32_ifname="eth2.10"
nvram set wan33_ifname="eth2.11"
nvram set wan34_ifname="eth2.12"
nvram set wan35_ifname="eth2.13"
nvram set wan36_ifname="eth2.14"
nvram set wan37_ifname="eth2.15"
nvram set wan38_ifname="eth2.16"
nvram set wan39_ifname="eth2.17"
nvram set wan40_ifname="eth2.18"
nvram set wan41_ifname="eth2.19"
nvram set wan42_ifname="eth2.20"
nvram set wan43_ifname="eth2.21"
nvram set wan44_ifname="eth2.22"
nvram set wan45_ifname="eth2.23"

nvram commit
reboot


扩展3台交换机69WAN:
以下()里需一次一行输入,()号不用输
(nvram setjhl_vlan="eth1|24,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23<")

nvram set wan_ifname="eth1.24"
nvram set wan1_ifname="eth1.2"
nvram set wan2_ifname="eth1.3"
nvram set wan3_ifname="eth1.4"
nvram set wan4_ifname="eth1.5"
nvram set wan5_ifname="eth1.6"
nvram set wan6_ifname="eth1.7"
nvram set wan7_ifname="eth1.8"
nvram set wan8_ifname="eth1.9"
nvram set wan9_ifname="eth1.10"
nvram set wan10_ifname="eth1.11"
nvram set wan11_ifname="eth1.12"
nvram set wan12_ifname="eth1.13"
nvram set wan13_ifname="eth1.14"
nvram set wan14_ifname="eth1.15"
nvram set wan15_ifname="eth1.16"
nvram set wan16_ifname="eth1.17"
nvram set wan17_ifname="eth1.18"
nvram set wan18_ifname="eth1.19"
nvram set wan19_ifname="eth1.20"
nvram set wan20_ifname="eth1.21"
nvram set wan21_ifname="eth1.22"
nvram set wan22_ifname="eth1.23"

nvram set wan23_ifname="eth2.24"
nvram set wan24_ifname="eth2.2"
nvram set wan25_ifname="eth2.3"
nvram set wan26_ifname="eth2.4"
nvram set wan27_ifname="eth2.5"
nvram set wan28_ifname="eth2.6"
nvram set wan29_ifname="eth2.7"
nvram set wan30_ifname="eth2.8"
nvram set wan31_ifname="eth2.9"
nvram set wan32_ifname="eth2.10"
nvram set wan33_ifname="eth2.11"
nvram set wan34_ifname="eth2.12"
nvram set wan35_ifname="eth2.13"
nvram set wan36_ifname="eth2.14"
nvram set wan37_ifname="eth2.15"
nvram set wan38_ifname="eth2.16"
nvram set wan39_ifname="eth2.17"
nvram set wan40_ifname="eth2.18"
nvram set wan41_ifname="eth2.19"
nvram set wan42_ifname="eth2.20"
nvram set wan43_ifname="eth2.21"
nvram set wan44_ifname="eth2.22"
nvram set wan45_ifname="eth2.23"

nvram set wan46_ifname="eth3.24"
nvram set wan47_ifname="eth3.2"
nvram set wan48_ifname="eth3.3"
nvram set wan49_ifname="eth3.4"
nvram set wan50_ifname="eth3.5"
nvram set wan51_ifname="eth3.6"
nvram set wan52_ifname="eth3.7"
nvram set wan53_ifname="eth3.8"
nvram set wan54_ifname="eth3.9"
nvram set wan55_ifname="eth3.10"
nvram set wan56_ifname="eth3.11"
nvram set wan57_ifname="eth3.12"
nvram set wan58_ifname="eth3.13"
nvram set wan59_ifname="eth3.14"
nvram set wan60_ifname="eth3.15"
nvram set wan61_ifname="eth3.16"
nvram set wan62_ifname="eth3.17"
nvram set wan63_ifname="eth3.18"
nvram set wan64_ifname="eth3.19"
nvram set wan65_ifname="eth3.20"
nvram set wan66_ifname="eth3.21"
nvram set wan67_ifname="eth3.22"
nvram set wan68_ifname="eth3.23"

nvram commit
reboot

哈哈,交换机等于网卡了,这下就怕你没有那么RMB装宽带了吧!

  

爱华网本文地址 » http://www.413yy.cn/a/25101012/109025.html

更多阅读

台式机电脑网卡坏了怎么更换? 台式机网卡坏了怎么办

台式机电脑网卡坏了怎么更换?——简介本例介绍台式机出现网卡不能用了,上不了网了,怎么更换主板的网卡台式机电脑网卡坏了怎么更换?——工具/原料新的网卡台式机电脑网卡坏了怎么更换?——方法/步骤台式机电脑网卡坏了怎么更换? 1、首先,

无线usb网卡怎么用 usb无限网卡多少钱

无线usb网卡怎么用——简介u sb网卡的使用方法非常简单,只要我们插入网卡,然后更新一下驱动即可,当然如果你有驱动的安装包就更方便了,如果没有就只能从网上下载了,下面是具体的下载和安装方法:无线usb网卡怎么用——方法/步骤无线usb网

蹭网卡好用吗 找黑客帮忙要多少钱

蹭网卡好用吗——简介蹭网卡,是一张带有自动搜索邻家无线网络并破解密码的网卡,将这张“蹭网卡”插在电脑中,它会自动搜索附近的无限网络,并破解该网络的安全密码,还会强行地共享该无线网络。蹭网卡就好比强行蹭饭、吃霸王餐一样,这就是“

声明:《WayOS软路由用交换机扩展网卡方法 wayos软路由小区版》为网友非常人分享!如侵犯到您的合法权益请联系我们删除