I have a Raspberry Pi 3 and an Archer C7 in my network, both running OpenWRT 19.0.7 stable release. I was running some VPN services on the C7 but its performance is terrible for these workloads so I used the RPi3 as a gateway instead, and use the C7 as a Dumb AP.
I have set the C7 as a Dumb AP as instructed in the OpenWRT documentation, and it's working well for wired/wireless clients. However, the C7 and all clients connected to it cannot be accessed from the gateway.
The gateway has the IP address 192.168.1.254, and the C7 has the address 192.168.1.1. When I use tcpdump on both devices and do pings from the gateway to the C7, I can see that the ICMP requests came through and got replied, however the source IP address in both tcpdump shows 192.168.1.1 instead of the correct 192.168.1.254. Using ping -I 192.168.1.254 from the gateway gives the same result.
Is there any misconfiguration on my side, or is this just a side effect of Dumb AP?
FWIW, here's the log:
RPi3 (gateway, 192.168.1.254):
10:03:11.710385 IP (tos 0x0, ttl 64, id 30938, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.1 > 192.168.1.1: ICMP echo request, id 34832, seq 2, length 64
C7 (dumb AP, 192.168.1.1):
10:03:09.009285 IP (tos 0x0, ttl 64, id 30938, offset 0, flags [DF], proto ICMP (1), length 84)
192.168.1.1 > 192.168.1.1: ICMP echo request, id 34832, seq 2, length 64
The source IP from the gateway should have been 192.168.1.254, instead of 192.168.1.1
Any ideas?
EDIT: Below is tcpdump for SSH'ing from gateway to dumb AP:
Gateway:
10:15:02.665431 IP (tos 0x0, ttl 64, id 10585, offset 0, flags [DF], proto TCP (6), length 60)
192.168.1.1.35246 > 192.168.1.1.22: Flags [S], cksum 0xa781 (incorrect -> 0xfaaf), seq 2926678593, win 29200, options [mss 1460,sackOK,TS val 3523254132 ecr 0,nop,wscale 7], length 0
10:15:03.679152 IP (tos 0x0, ttl 64, id 10586, offset 0, flags [DF], proto TCP (6), length 60)
192.168.1.1.35246 > 192.168.1.1.22: Flags [S], cksum 0xa781 (incorrect -> 0xf6b9), seq 2926678593, win 29200, options [mss 1460,sackOK,TS val 3523255146 ecr 0,nop,wscale 7], length 0
Dumb AP:
tcpdump: listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
10:14:59.954530 IP (tos 0x0, ttl 64, id 10585, offset 0, flags [DF], proto TCP (6), length 60)
192.168.1.1.35246 > 192.168.1.1.22: Flags [S], cksum 0xfaaf (correct), seq 2926678593, win 29200, options [mss 1460,sackOK,TS val 3523254132 ecr 0,nop,wscale 7], length 0
10:15:00.968196 IP (tos 0x0, ttl 64, id 10586, offset 0, flags [DF], proto TCP (6), length 60)
192.168.1.1.35246 > 192.168.1.1.22: Flags [S], cksum 0xf6b9 (correct), seq 2926678593, win 29200, options [mss 1460,sackOK,TS val 3523255146 ecr 0,nop,wscale 7], length 0