I'm upgrading one of my APs from TL-WR940N to Cudy-WR2100 with OpenWrt 21.2.1 stable.
The WR2100 has one WAN and four LAN 1000BASE-T ports.
The WAN connection is an Ethernet trunk carrying tagged 802.1q VLANs 2, 4 and 5.
802.1q wan.2 is used by bridge device br-private, which bridges to a WLAN private3. br-private is used in a static IP address interface PRIVATE. Works fine and I can connect to the WR2100 over wan.2.
802.1q wan.5 is used by bridge device br-guest, which bridges to a WLAN guest3. br-guest is used in an unmanaged interface GUEST. Works fine as well.
802.1q wan.4 is used together with lan1, lan2, lan3 and lan4 by a bridge device br-offsite. br-offsite is used in an unmanaged interface OFFSITE. A Raspberry PI is connected untagged to lan4.
The issue is that I can't reach the RasPi on lan4 over wan.4.
To check what's going on I turned OFFSITE into a static IP address interface. I can then log into the WR2100 over wan.4, I can ping back to my main router over wan.4. I can also ssh from the WR2100 to the RasPi, and pinging the WR2100 back from the RasPi works fine as well.
However, pinging my main router from the RasPi does not work. What I observe using tcpdump is that the ARP who-has request is visible on lan4 and on br-offsite, but not on wan.4 (and neither on wan with VLAN 4).
What am I doing wrong?
Kind regards, Sebastian
/etc/config/network:
config interface 'loopback'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
option device 'lo'
config globals 'globals'
option packet_steering '1'
option ula_prefix 'fd19:bb72:c09d::/48'
config device
option type '8021q'
option ifname 'wan'
option vid '2'
option name 'wan.2'
config device
option type '8021q'
option ifname 'wan'
option vid '4'
option name 'wan.4'
config device
option type '8021q'
option ifname 'wan'
option vid '5'
option name 'wan.5'
config device
option type 'bridge'
option name 'br-private'
list ports 'wan.2'
config device
option type 'bridge'
option name 'br-offsite'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'wan.4'
config device
option type 'bridge'
option name 'br-guest'
list ports 'wan.5'
config interface 'PRIVATE'
option proto 'static'
option device 'br-private'
option ipaddr '192.168.2.129'
option netmask '255.255.255.0'
option gateway '192.168.2.1'
list dns '192.168.2.1'
config interface 'OFFSITE'
option device 'br-offsite'
option proto 'static'
option ipaddr '192.168.4.129'
option netmask '255.255.255.0'
config interface 'GUEST'
option proto 'none'
option device 'br-guest'
option force_link '1'