Issues with Configuring multiple switches

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?

is the WRT1200AC's IP .1.9 ?

if you're on 25.10, the ipaddr should be '192.168.1.2/24', option netmask isn't needed.

Yeah, the WRT1200 is 1.9.

I had set these up in LuCI and at some point I think I clicked a button that converted them from /24 to netmask versions. Didn't seem to let me go back but they should be equivalent.

Ahhh I finally found the problem.

When I originally set these up, I did them back-to-back, and to speed it up, I had copied the /etc/config/network file of the first working unit over to the rest, modifying the IP address. What I missed, was that the file contained the mac addresses of the interfaces too, and that got copied over to the other units.

Weirdly, removing it wasn't enough, but I just went ahead and factory reset them all and manually updated the files with the necessary changes, and now they're all behaving and pinging correctly again.