I am a bit pushed for time, so reaching out to the community rather than spending hours figuring out the root cause myself.
I have three OpenWRT devices — two Flint 2s, and one old ASUS RT-N56UB—configured as:
Flint 2 (a) main router (PPOE fibre)
Flint 2 (b) wireless repeater (WDS AP, connected via 5GHz)
ASUS (c) wireless AP, via powerline to (1)
I have IoT Wi-Fi devices that are connected to (1). I can ping them from (1), but not from (2) or (3).
I can successfully ping other Wi-Fi devices, like my phone, from all nodes. But my IoT devices (Shelly relays, Octopus Home Mini, etc. do not respond).
I don't have wireless isolation enabled. Any pointers on how to test this? I tried disabling the firewall on the master router, to no avail.
We have not seen your configs, so this is just a guess…
Typically bridged APs only have an address on the network used to manage the AP(this is best practice for security). This means that the APs themselves will only be able to directly ping the devices on that same network. The rest would be routed and subject to the routing and firewall rules on the main router. For this to work, the APs need to also have the gateway populated in the network config.
Let’s see the configs from all of your devices.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option localservice '1'
option ednspacket_max '1232'
option filter_aaaa '0'
option filter_a '0'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
option ra_preference 'medium'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option leasefile '/tmp/odhcpd.leases'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
option piodir '/tmp/odhcpd-piodir'
option hostsdir '/tmp/hosts'
config host
option name 'AngusElectricBlanket'
list mac '**:**:**:**:**:**'
option ip '192.168.68.53'
config host
option name 'AngusOfficeLights'
list mac '**:**:**:**:**:**'
option ip '192.168.68.59'
config host
option name 'ElliesElectricBlanket'
list mac '**:**:**:**:**:**'
option ip '192.168.68.74'
config host
option name 'ElliesOfficeLights'
list mac '**:**:**:**:**:**'
option ip '192.168.68.65'
config host
option name 'FrontDoorbell'
list mac '**:**:**:**:**:**'
option ip '192.168.68.56'
config host
option name 'HallwayLights'
list mac '**:**:**:**:**:**'
option ip '192.168.68.50'
config host
option name 'KitchenCamera'
option ip '192.168.68.93'
list mac '**:**:**:**:**:**'
config host
option name 'KitchenLights1'
list mac '**:**:**:**:**:**'
option ip '192.168.68.51'
config host
option name 'KitchenLights2'
list mac '**:**:**:**:**:**'
option ip '192.168.68.80'
config host
option name 'LowerGuestRoomBlinds'
list mac '**:**:**:**:**:**'
option ip '192.168.68.71'
config host
option name 'LowerGuestRoomLight'
list mac '**:**:**:**:**:**'
option ip '192.168.68.58'
config host
option name 'LowerLandingLights'
list mac '**:**:**:**:**:**'
option ip '192.168.68.69'
config host
option name 'NixOS'
list mac '**:**:**:**:**:**'
option ip '192.168.68.75'
config host
option name 'OfficeDesk'
list mac '**:**:**:**:**:**'
option ip '192.168.68.60'
config host
option name 'Tado'
list mac '**:**:**:**:**:**'
option ip '192.168.68.81'
config host
option name 'MasterBedroomLight'
list mac '**:**:**:**:**:**'
option ip '192.168.68.73'
config host
option name 'UpperGuestRoomLight'
list mac '**:**:**:**:**:**'
option ip '192.168.68.72'
config host
option name 'UpperLandingLights'
list mac '**:**:**:**:**:**'
option ip '192.168.68.78'
config host
option name 'WashingMachinePlug'
list mac '**:**:**:**:**:**'
option ip '192.168.68.62'
config host
option name 'Hass'
list mac '**:**:**:**:**:**'
option ip '192.168.68.63'
config host
option name 'HallwayCamera'
list mac '**:**:**:**:**:**'
option ip '192.168.68.61'
config host
option name 'DogFlapCover'
list mac '**:**:**:**:**:**'
option ip '192.168.68.100'
config host
option name 'OctopusMini'
list mac '**:**:**:**:**:**'
option ip '192.168.68.86'
config host
option name 'Dishwasher'
list mac '**:**:**:**:**:**'
option ip '192.168.68.87'
config host
option name 'ANNKE'
option ip '192.168.68.176'
list mac '**:**:**:**:**:**'
list mac '**:**:**:**:**:**'
config host
option name 'Zappi'
option ip '192.168.68.208'
list mac '**:**:**:**:**:**'
config host
option name 'Mu-so0164'
option ip '192.168.68.127'
list mac '**:**:**:**:**:**'
cat /etc/config/firewall
config defaults
option syn_flood 1
option input REJECT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
list network 'lan'
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
list network 'wan6'
option input REJECT
option output ACCEPT
option forward DROP
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest wan
# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
option name Allow-DHCP-Renew
option src wan
option proto udp
option dest_port 68
option target ACCEPT
option family ipv4
# Allow IPv4 ping
config rule
option name Allow-Ping
option src wan
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT
config rule
option name Allow-IGMP
option src wan
option proto igmp
option family ipv4
option target ACCEPT
# Allow DHCPv6 replies
# see https://github.com/openwrt/openwrt/issues/5066
config rule
option name Allow-DHCPv6
option src wan
option proto udp
option dest_port 546
option family ipv6
option target ACCEPT
config rule
option name Allow-MLD
option src wan
option proto icmp
option src_ip fe80::/10
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family ipv6
option target ACCEPT
# Allow essential incoming IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Input
option src wan
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
list icmp_type router-solicitation
list icmp_type neighbour-solicitation
list icmp_type router-advertisement
list icmp_type neighbour-advertisement
option limit 1000/sec
option family ipv6
option target ACCEPT
# Allow essential forwarded IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Forward
option src wan
option dest *
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
option limit 1000/sec
option family ipv6
option target ACCEPT
config rule
option name Allow-IPSec-ESP
option src wan
option dest lan
option proto esp
option target ACCEPT
config rule
option name Allow-ISAKMP
option src wan
option dest lan
option dest_port 500
option proto udp
option target ACCEPT
### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
# option src lan
# option src_ip 192.168.45.2
# option dest wan
# option proto tcp
# option target REJECT
# block a specific mac on wan
#config rule
# option dest wan
# option src_mac 00:11:22:33:44:66
# option target REJECT
# block incoming ICMP traffic on a zone
#config rule
# option src lan
# option proto ICMP
# option target DROP
# port redirect port coming in on wan to lan
#config redirect
# option src wan
# option src_dport 80
# option dest lan
# option dest_ip 192.168.16.235
# option dest_port 80
# option proto tcp
# port redirect of remapped ssh port (22001) on wan
#config redirect
# option src wan
# option src_dport 22001
# option dest lan
# option dest_port 22
# option proto tcp
### FULL CONFIG SECTIONS
#config rule
# option src lan
# option src_ip 192.168.45.2
# option src_mac 00:11:22:33:44:55
# option src_port 80
# option dest wan
# option dest_ip 194.25.2.129
# option dest_port 120
# option proto tcp
# option target REJECT
#config redirect
# option src lan
# option src_ip 192.168.45.2
# option src_mac 00:11:22:33:44:55
# option src_port 1024
# option src_dport 80
# option dest_ip 194.25.2.129
# option dest_port 120
# option proto tcp
Agreed. However, I have only been running this setup for three days (since the last reboot), so I'm highly suspicious that this is going to be an on-going problem (especially given the number of GitHub Issues tracking these kinds of phenomena).
I suspect it's not just the IoT devices, and that my observation is related to the heterogeneity of my network:
I have ~40 devices, or which ~35 are not phones or computers. So, if each device is equally likely to misbehave, it's more likely to be an IoT device than my laptop.
I'm most interested in polling / speaking to IoT devices + Home Assistant inside my network.
Home Assistant & my desktop are on the AP LAN ports, so they're not connecting like the IoT devices are (over 2.4GHz).