I've hit a roadblock getting VLANs to work on my PCEngines APU2 with an external, managed switch.
Here's the pertinent bit from my network config:
config interface 'lan' option type 'bridge' option proto 'static' option ip6assign '60' option netmask '255.255.255.0' option ifname 'eth1 eth2' option ipaddr '192.168.10.1' config interface 'streaming' option type 'bridge' option proto 'static' option netmask '255.255.255.0' option ifname 'eth1.20 eth2.20' option ipaddr '192.168.20.1'
My managed switch is configured:
- Port 1 configured with VLAN 1 untagged, VLAN 20 tagged
- Ports 2-18 configured with VLAN 1 untagged
- Ports 19-24 configured with VLAN 20 untagged
When I plug into any of ports 2-18, I get an address from 192.168.10.1/24. When I plug into 19-24, I don't get anything; I am, of course, expecting something from 192.168.20.1/24.
I'm sure I'm missing something obvious. Hopefully somebody is able to point out my error(s)?