华硕AC86U原厂固件AP模式支持VLAN

访客 阅读:18 2024-06-19 05:15:20 评论:0
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
4个vlan vlan10 20 30 40

交换机侧设置vlan10 为untag,20 30 40为tag

Switch side setting vlan10 for tung, 20, 30, 40 for tag

华硕侧接lan4口对应(eth1)

Xeth1

端口和物理网口的对应:
eth0——wan
eth1——lan4
eth2——lan3
eth3——lan2
eth4——lan1
eth5——无线2.4G
eth6——无线5G
wl0.1——访客1 2.4G
wl1.1——访客1 5G
wl0.2——访客2 2.4G
wl1.2——访客2 5G
wl0.3——访客3 2.4G
wl1.3——访客3 5G

Ports and physical nodes:
eth0 - wan
eth1 - lan4
eth2 - lan3
eth3 - lan2
eth4 - lan1
eth5 - wireless 2.4G
eth6 - wireless 5G
wl0.1 - Visitors 1 2.4G
wl1.1 - Visitors 1 5G
wl0.2 - Visitors 2 2.4G
wl1.2 - Visitors 2 5G
wl0.3 - Visitors 3 2.4G
wl1.3 - Visitors 3 5G

86U开启SSH,并在USB应用安装一个软件(插入U盘并安装下载大师,U盘大小不限插入后不能拔下),这样就可以在/opt下创建文件

86U turns on SSH and installs a software in the USB application (insert and install a download master, the size of which cannot be pulled down after being inserted) so that files can be created under/opt

需要创建2个文件,cd到/opt/lib/ipkg/info下创建vlan.control,内容为Enabled: yes

Need to create 2 files, cd to/opt/lib/ipkg/info to create vlan.control for Enabled: yes

cd到/opt/etc/init.d/下,创建S50vlan必须已S开头

cd to/opt/etc/init.d/, creating S50vlan must have started with S

S50vlan内容为执行创建vlan脚本

S50vlan content to create vlan script for implementation

增加带 VLAN ID 的接口

Add interface with VLAN ID

ip link add link eth1 name eth1.20 type vlan id 20
ip link add link eth1 name eth1.30 type vlan id 30
ip link add link eth1 name eth1.40 type vlan id 40

新增接口UP
ip link set eth1.20 up
ip link set eth1.30 up
ip link set eth1.40 up

Add interface UP
ip link set eth1.20 up
ip link set eth1.30 up
ip link set eth1.40 up

添加网桥

Add Bridge

brctl addbr br1
brctl addbr br2
brctl addbr br3

添加网桥后也要像上面启用接口一样启用网桥。
ip link set br1 up
ip link set br2 up
ip link set br3 up

When you add a bridge, you also need to activate the bridge like the above interface.
ip link set b1 up
ip link set b2 up
ip link set b3 up

从 br0 网桥中删除不属于它的接口

Remove interfaces that are not part of the br0 bridge

brctl delif br0 wl0.1 wl0.2 wl0.3 wl1.1 wl1.2? wl1.3

把接口添加进网桥

Add interface to the bridge

brctl addif br1 eth1.2 wl0.1 wl1.1
brctl addif br2 eth1.3 wl0.2 wl1.2
brctl addif br3 eth1.5 wl0.3 wl1.3

nvram set lan_ifnames="eth0 eth1 eth2 eth3 eth4 eth5 eth6"
nvram set br0_ifnames="eth0 eth1 eth2 eth3 eth4 eth5 eth6"

nvram set lan1_ifnames="eth1.20 wl0.1 wl1.1"
nvram set lan1_ifname="br1"? ?
?
nvram set lan2_ifnames="eth1.30 wl0.2 wl1.2"
nvram set lan2_ifname="br2"? ?
?
nvram set lan3_ifnames="eth1.40 wl0.3 wl1.3"
nvram set lan3_ifname="br3

nvram set br1_ifnames="eth1.20 wl0.1 wl1.1"
nvram set br1_ifname="br1"? ?
?
nvram set br2_ifnames="eth1.30 wl0.2 wl1.2"
nvram set br2_ifname="br2"? ?
?
nvram set br3_ifnames="eth1.40 wl0.3 wl1.3"
nvram set br3_ifname="br3

killall eapd
eapd

以上就可以了创建完S50vlan后查看属性是否是777,保存退出sh 执行即可,每次重启后会执行脚本内容。

This allows you to see whether the attribute is 777 after creating S50vlan, save the exit sh execution and execute the script content after each restart.

这样设置后vlan对应如下

When this is set, the vlan corresponds to the following:

vlan10---eth5 eth6

vlan20---wl0.1 wl1.1

vlan30---wl0.2 wl1.2

vlan40---wl0.3 wl1.3

提前把访客网络设置好,每次更改无线设置需要重启。

Set the visitors' network in advance, and every change in the wireless settings needs to be restarted.




文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明 网址:https://netpsp.com/?id=68387

美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
可以去百度分享获取分享代码输入这里。
声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
关注我们

若遇到问题,加微信客服---清歌

搜索
排行榜
扫一扫,加我为微信好友加我为微信好友