I've got multiple routers that I'm trying to use as switches for my network, and I think I've misconfigured something along the way.
The physical layout looks like this:
The devices I'm having issues with are the wifi nodes at the ends. I'd like them to be configured as APs with switching on both ports. They seem to be working, internet goes to all the downstream devices and such, but I've noticed weird routing issues with them, where I try to ping them or connect to them and get responses from other routers.
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.4: Destination host unreachable.
Reply from 192.168.1.4: Destination host unreachable.
Reply from 192.168.1.4: Destination host unreachable.
Reply from 192.168.1.2: bytes=32 time=1ms TTL=64
This makes me think I messed up somewhere. In general, I want each of those nodes to be accessible at .2, .3, and .4 addresses. Below is the /etc/config/network from the .2 node.
config interface 'loopback'
option device 'lo'
option proto 'static'
list ipaddr '127.0.0.1/8'
config globals 'globals'
option dhcp_default_duid '0004c75abca8eb4a47b684e8987c9b75c804'
option ula_prefix 'fdf5:bcf8:6634::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
option stp '1'
option igmp_snooping '1'
list ports 'eth0'
list ports 'lan'
list ports 'wan'
config device
option name 'lan'
option macaddr '7c:2e:bd:91:db:67'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option gateway '192.168.1.9'
option ipaddr '192.168.1.2'
option netmask '255.255.255.0'
option multipath 'off'
list dns '192.168.1.9'
config device
option name 'wan'
option macaddr '7c:2e:bd:91:db:66'
Is there anything obvious I missed in here? Or maybe I just missed something on the primary router?
