Just upgraded to 386.5(beta).
Life just got a lot easier with vlans, finally its just as easy as any other Linux dist.
Works straight away, not even a reboot is needed(but you should =P)
Tried it on rt-ax56u and rt-ac66u_B1.
(vlan 501,502 doesn't matter if enabled or not(guest-wlan,mesh))
Life just got a lot easier with vlans, finally its just as easy as any other Linux dist.
Code:
#!/bin/sh
# Should be put in /jffs/scripts/init-start
# (First script to run so other services can bind to vlan interfaces and well less issues...)
# For some strange reason interfaces needs to be brought up by ifconfig
# Works just fine with IP, but ifconfig cant see interfaces so some cosmetic(webui) issues if ifconfig isen´t used.
#--- Sample vlan Interface config ---#
ip link add link eth1 name eth1.200 type vlan id 200
ifconfig eth1.200 allmulti up
brctl addbr br200
brctl stp br200 on
brctl addif br200 eth1.200
ifconfig br200 192.168.200.1 netmask 255.255.255.0 broadcast 192.168.200.255 allmulti up
#--- Sample vlan Interface config ---#
Works straight away, not even a reboot is needed(but you should =P)
Tried it on rt-ax56u and rt-ac66u_B1.
(vlan 501,502 doesn't matter if enabled or not(guest-wlan,mesh))