Hi,
I have two networks, 'br-lan' and 'br-novpn', associated with each network incorporating both switch ports and Wi-Fi networks. Each network has a VLAN associated with it and switch ports are untagged. I would like for the switch ports on one of the networks to also work with tagged packets for the other network. Here are the relevant sections of /etc/config/network:
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan4'
config bridge-vlan
option device 'br-lan'
option vlan '9'
list ports 'lan1:u*'
list ports 'lan4:u*'
#config bridge-vlan
# option device 'br-lan'
# option vlan '12'
# list ports 'lan1:t'
# list ports 'lan4:t'
config interface 'lan'
option device 'br-lan.9'
option proto 'static'
option ipaddr '172.24.1.1'
option netmask '255.255.255.0'
option ip6assign '64'
option ip6hint '1'
option ip6ifaceid '::1'
list dns '::1'
config device
option name 'br-novpn'
option type 'bridge'
list ports 'lan2'
config bridge-vlan
option device 'br-novpn'
option vlan '12'
list ports 'lan2:u*'
config interface 'novpn'
option device 'br-novpn.12'
option proto 'static'
option ipaddr '172.24.2.1'
option netmask '255.255.255.0'
option ip6assign '64'
option ip6hint '2'
The commented out bridge-vlan section is what I hoped would get tagged packets working. Unfortunately, if I uncomment this section, the 'br-novpn' switch port, lan2, stops responding to DHCP requests.
I'd like to understand why this is. Can anyone explain either (1) where I've gone wrong or (2) whether this is a bug?
Thanks,
rah