This topic has been addressed already but I haven't been able to solve it.
I have the Openwrt router with 2 AP's running in the same network address family. The router has a static IP that ends in 1. The AP's end in 2 and 3, static addresses also.
The DHCP server is set to send addresses from x.x.x.100 to x.x.x.150. I have all my known clients with static IP's.
I became aware of this problem when I needed to print a document after my router replacement. I cannot ping my printer if both clients (Laptop and printer) are connected to the wireless network from the router. It happens only in this case.
I know know that it happens with every client that when connected to the WLAN of the router.
Let's look at your configs... It sounds like there are 3 devices here, so let's review all three -- main router, AP1, and AP2:
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:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option cachesize '1000'
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 confdir '/tmp/dnsmasq.d'
option authoritative '1'
option port '5300'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '50'
option leasetime '12h'
option dhcpv4 'server'
option force '1'
list dhcp_option '6,xxx.xxx.xxx.1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config host
option name 'A14'
list mac 'MAC'
option ip 'xxx.xxx.xxx.12'
option leasetime 'infinite'
config host
option name 'nass'
list mac 'mac'
option ip 'xxx.xxx.xxx.58'
option leasetime 'infinite'
config host
option name 'AP'
list mac 'mac'
option ip 'xxx.xxx.xxx.2'
option leasetime 'infinite'
config host
option name 'RYZEN'
list mac 'mac'
option ip 'xxx.xxx.xxx.56'
option leasetime 'infinite'
config host
option name 'Lenovo'
list mac 'mac'
option ip 'xxx.xxx.xxx.51'
option leasetime 'infinite'
config host
option name 'Aspirador'
list mac 'mac'
option ip 'xxx.xxx.xxx.60'
option leasetime 'infinite'
config host
option name 'Win10.VM'
list mac 'mac'
option ip 'xxx.xxx.xxx.252'
option leasetime 'infinite'
config host
option name 'Chromecast.CZ'
list mac 'mac'
option ip 'xxx.xxx.xxx.42'
option leasetime 'infinite'
config host
option ip 'xxx.xxx.xxx.3'
option mac 'mac'
option name 'AP2'
config host
option name 'Chromecast.SL'
option ip 'xxx.xxx.xxx.43'
option mac 'mac'
config host
option name 'EPSON74957B'
option ip 'xxx.xxx.xxx.70'
option mac 'mac'
option dns '1'
config host
option ip 'xxx.xxx.xxx.52'
option mac 'mac'
option name 'Lenovo.DS'
config host
option name 'delllaptop'
option ip 'xxx.xxx.xxx.53'
option mac 'mac'
config host
option name 'TV-da-sala-de-estar'
option ip 'xxx.xxx.xxx.44'
option mac 'mac'
config host
option name 'DS0271'
option ip 'xxx.xxx.xxx.54'
option mac 'mac'
cat /etc/config/firewall:
config defaults
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option flow_offloading '1'
option synflood_protect '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'Home_VPN'
list network 'lan'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option fullcone4 '1'
option fullcone6 '1'
option masq '1'
option mtu_fix '1'
list network 'wan'
list network 'wan6'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
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'
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 'xxxx::/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'
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'
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'
config rule
option name 'Reject-IPv6'
option family 'ipv6'
option src 'wan'
option dest '*'
option target 'REJECT'
option enabled '0'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'HTTP Server'
option src 'wan'
option dest_ip 'xxx.xxx.xxx.58'
option reflection_src 'external'
list reflection_zone 'lan'
list reflection_zone 'wan'
option family 'ipv4'
list proto 'tcp'
list proto 'udp'
option src_dport '80'
option dest_port '80'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'HTTPS Server'
option src 'wan'
option src_dport '443'
option dest_ip 'xxx.xxx.xxx.58'
option dest_port '443'
option reflection_src 'external'
list proto 'tcp'
list proto 'udp'
option family 'ipv4'
list reflection_zone 'lan'
list reflection_zone 'wan'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'Home_VPN'
list proto 'udp'
option src 'wan'
option src_dport '12345'
option dest_ip 'xxx.xxx.xxx.1'
option dest_port '12345'
config zone 'docker'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option name 'docker'
list network 'docker'
It appears you are using firmware that is not from the official OpenWrt project.
When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.
Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).
If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.
Official version of OpenWrt does not have the problem. I will set it up according to my necessities and check if the issue appears. I am not expecting any problems.
Thank you for the pointer. I was believing that FriendlyOpenWrt was only rebranding.