I have this setup with:
guest
interfaceinternal
interfacelan
interfacevpnlan
interface
All of them use a VLAN from a single bridge. For whatever reason, even though I set them all the same way - if I ever just enable interfaceinternal
nothing works - I can no longer connect to any other interface through any of myethX
ports. Even the ones that carry Untagged packages. It doesn't break immediately either - I have to reboot and then nothing works. Until I reboot I just can't connect tointernal
.
Then, if I disable internal
or take away its' device, everything goes back to working normal.
Any clues on what it could be? Here's my /etc/config/network
:
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd95:f13:1605::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'br-vlan.1'
list ports 'eth0'
config interface 'lan'
option device 'br-vlan.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
config interface 'wan'
option device 'eth1'
option proto 'dhcp'
option peerdns '0'
config interface 'wan6'
option device 'eth1'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
option norelease '1'
option peerdns '0'
config interface 'vpn'
option proto 'wireguard'
option private_key 'privatekey='
list addresses '10.2.0.2/32'
option listen_port '51820'
list dns '10.2.0.1'
option mtu '1280'
config wireguard_vpn
option description 'WG'
option public_key 'publickey='
list allowed_ips '0.0.0.0/0'
option endpoint_host '79.127.186.193'
option endpoint_port '51820'
option persistent_keepalive '25'
config rule
option in 'vpnlan'
option lookup '102'
config route
option interface 'vpn'
option target '0.0.0.0/0'
option table '102'
config interface 'vpnlan'
option proto 'static'
option ipaddr '192.168.12.1'
option netmask '255.255.255.0'
option defaultroute '0'
option device 'br-vlan.12'
config route
option interface 'vpn'
option target '10.2.0.1/24'
option table '110'
config rule
option in 'guest'
option lookup '102'
config rule
option dest '10.2.0.1/24'
option lookup '110'
option in 'loopback'
config interface 'guest'
option proto 'static'
option ipaddr '192.168.10.1'
option netmask '255.255.255.0'
option device 'br-vlan.10'
config interface 'internal'
option proto 'static'
option ipaddr '192.168.20.1'
option netmask '255.255.255.0'
option device 'br-vlan.20'
option disabled '1'
config device
option type 'bridge'
option name 'br-vlan'
list ports 'eth0'
list ports 'eth2'
list ports 'eth3'
config bridge-vlan
option device 'br-vlan'
option vlan '1'
list ports 'eth0'
list ports 'eth2'
list ports 'eth3:u*'
config bridge-vlan
option device 'br-vlan'
option vlan '10'
list ports 'eth3:t'
config bridge-vlan
option device 'br-vlan'
option vlan '20'
list ports 'eth3:t'
config bridge-vlan
option device 'br-vlan'
option vlan '12'
list ports 'eth3:t'