I am using a Ruckus r500 which uses a QCA8337 switch chip. I have configured the two physical interfaces as the traditional "WAN" / "LAN" setup using VLANs on the switch chip.
However for a brief moment on boot, they physical interfaces are bridged. This results in hosts connected to the "LAN" interface getting an IP address from the upstream router connected to the "WAN" interface. This automatically fixes itself a few seconds later.
Here's an example of the config:
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '3 0'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 6'
I've noticed that if I stop the boot process and drop into the uboot shell, the switch interfaces remain isolated, which makes me thing its OpenWRT specific but I could be wrong.
I've created an issue on Github but sharing here for more visibility.
Does anyone have any suggestions?
Thanks