I have run into a curious situation where I have a network with two routers, a Pi, and a PC. I can ping from my PC to the Pi, but I cannot ping from my Pi to the PC. The setup is as follows:
WAN
^
|
20.19.155.44
PI <--------- Router 1
192.168.1.134 192.168.1.1
^
|
v
PC 192.168.1.201
192.168.0.201 <----------- Router 2
192.168.0.1
I set up a static route on Router 1:
DstIp/mask: 192.168.0.0/24
Intf: LAN/br0
GatewayIp: 192.168.1.201.
From there, the PC can ping all addresses (192.168.0.1, 192.168.1.201, 192.168.1.134). The Pi can only ping Router1: (192.168.1.1). It times out if I try to ping router2, or anything connected to it: 192.168.1.201, 192.168.0.1, etc.
pi@raspberrypi:~ $ ping -c 1 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=2.85 ms
--- 192.168.1.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.847/2.847/2.847/0.000 ms
pi@raspberrypi:~ $ ping -c 1 192.168.1.201
PING 192.168.1.201 (192.168.1.201) 56(84) bytes of data.
--- 192.168.1.201 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
pi@raspberrypi:~ $ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default Broadcom.Home 0.0.0.0 UG 302 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 302 0 0 wlan0
I'm really not sure what I'm missing. Any ideas what to try would be welcome.