I've got a rather odd problem. The Raspberry Pi is connected fine to the internet i.e. I can
ping google.com and browse the web without any problem. However, the problem for me is that I am unable to ping virtually all of the devices on my network. I can successfully
ping 192.168.1.1 and strangely
ping 192.168.1.77 which is my Apple TV (connected to a separate access point entirely?!) but am unable to ping pretty much all other devices on my network.
Specifically, I want to
ping 192.168.1.146 which is a NodeMCU that I want to do
curl to. Even stranger is that it seems the problem is with the Pi itself; because, I connect my laptop to the same AP as the Raspberry Pi and ping
ping 192.168.1.146 it works fine, just not from the Raspberry Pi trying to do the same thing.
Also, from my laptop I am able to successfully ping the Raspberry Pi but not the other way round. My laptop can also ping the NodeMCU from the same AP as the Raspberry Pi but the Pi can't. Also SSH to the Pi works fine seemingly from any AP.
Here is a simplified diagram of my network (where "PINGABLE" refers to whether the Pi can reach the device using a ping):
MAIN Gateway: 192.168.1.1 Submask: 255.255.255.0 DHCP: ACTIVATED IP Start Range: 192.168.1.33 IP Finish Range: 192.168.1.199
SECONDARY Default Gateway: 192.168.1.1 Submask: 255.255.255.0 DHCP: DEACTIVATED Local IP: 192.168.1.90
Here is some info from the Pi which may be useful:
$ ifconfig wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.81 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::a0c0:7d52:1b5:3f1a prefixlen 64 scopeid 0x20<link> ether b8:27:eb:c6:4a:1e txqueuelen 1000 (Ethernet) RX packets 51382 bytes 11979525 (11.4 MiB) RX errors 0 dropped 3699 overruns 0 frame 0 TX packets 42309 bytes 10171384 (9.7 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.1 0.0.0.0 UG 303 0 0 wlan0 192.168.1.0 0.0.0.0 255.255.255.0 U 303 0 0 wlan0
$ iwconfig wlan0 IEEE 802.11 ESSID:"Home" Mode:Managed Frequency:2.412 GHz Access Point: 34:57:60:B6:97:62 Bit Rate=72.2 Mb/s Tx-Power=31 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:on Link Quality=51/70 Signal level=-59 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:5 Invalid misc:0 Missed beacon:0
Does anyone have any idea as to what the problem might be? Is it a problem with some sort of configuration on the Pi or is it on one of the APs parts?
I don't have a lot of experiences with networks at this level (subnets, net masks etc.) so I would really appreciate it if someone could help me out as I have been stuck for a while now and am unsure as to how to fix this.
Thank you in advance for any help,
Kind regards, Tom
P.S. I am unable to move any of the devices from their physical locations permanently. Also, I can't connect the Pi to ethernet due to compatibility problems with what I have running on the Pi; it must be off Wi-Fi. Also, the reason the Pi is able to ping the Apple TV may be due to the fact that it already has established a connection (because I am running homebridge which uses the Apple TV as a hub).