kstamand
Regular Contributor
I'm contemplating getting an RT-BE92U, but need someone who has one to confirm if the following commands are supported? (RT-BE96U and GT-BE98 Pro are out of my $$ range)
Commands
My plans are to have the RT-BE92U setup in AP mode with a *Sense firewall in front of it, with the firewall connected to ISP.
For reference below is an excerpt of the script I'm planning to use.
Commands
- ip link add
- brctl addif and brctl delif
My plans are to have the RT-BE92U setup in AP mode with a *Sense firewall in front of it, with the firewall connected to ISP.
For reference below is an excerpt of the script I'm planning to use.
Code:
brctl delif br0 eth0 eth1 eth2 eth3 eth4 eth6 eth7
# remove guest wifi interfaces from the default bridge, we're gonna move them to other bridges
brctl delif br0 wl0.1 wl1.1 wl1.2
# simple for loop IF adding subinterfaces fo
for int in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7;
# for each interface;
do
ip link add link ${int} name ${int}.v2 type vlan id 2 # (HOME VLAN)
ip link add link ${int} name ${int}.v3 type vlan id 3 # (ADULTS VLAN)
ip link add link ${int} name ${int}.v4 type vlan id 4 # (KIDS/IOT VLAN)
ip link set ${int}.v2 up
ip link set ${int}.v3 up
ip link set ${int}.v4 up
done
# set up br2, HOME Vlan (Eth2 and Router's wireless SSID)
brctl addbr br2
brctl stp br2 on # STP to prevent bridge loops
brctl addif br2 eth0.v2 # subinterface of this bridge/vlan
brctl addif br2 eth1 # trusted wired device plugged into port 2 on Asuswrt router
brctl addif br2 eth2 # trusted wired device plugged into port 2 on Asuswrt router
brctl addif br2 eth6 # Asuswrt WebUI "Wireless" tab 2.4 GHz network for Home devices
brctl addif br2 eth7 # Asuswrt WebUI "Wireless" tab 5.0 GHz network for Home devices
#ifconfig br1 192.168.##.## netmask 255.255.255.0
# ... IP address assignments will be handled by DHCP on firewall
ip link set br2 up
...
