LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Some systems on home network can't reach each other (https://www.linuxquestions.org/questions/linux-networking-3/some-systems-on-home-network-cant-reach-each-other-4175734947/)

garyfritz 03-15-2024 01:52 PM

Some systems on home network can't reach each other
 
This isn't strictly a Linux issue, but ...

My home network has a Win10 laptop, an iPad, an Android phone, and a RHEL9 system.

* All systems are in the 192.168.0.* subnet.
* All systems can reach the Internet through my router.
* Most systems can't reach SOME other systems:

iPad: can ping all systems
Linux: can't ping iPad
Android: can't ping Windows
Windows: can't ping iPad or Linux, CAN ping Android !?

I don't see any pattern here. Any guesses what might be causing it, and how I can diagnose / fix it?

Thanks!

jefro 03-15-2024 04:06 PM

Ping is a poor test.

Since all of them can reach the internet then I'd consider this to be a firewall issue.

One some home routers they jail the connections between wired and wireless.

teckk 03-15-2024 05:20 PM

Map the network and see who is listening to what.
Code:

nmap -sP 192.168.0.0/24

nmap -sn 192.168.0.0/24 -oG -

nmap -sL 192.168.0.0/24

nmap -sn -PE 192.168.0.0/24

See:
man nmap

Also see what the router is doing with what machines:
Code:

traceroute 192.16.0.1
Then fix whatever setting is causing it.

garyfritz 03-15-2024 09:50 PM

1 Attachment(s)
Quote:

Originally Posted by jefro (Post 6489982)
Ping is a poor test.
Since all of them can reach the internet then I'd consider this to be a firewall issue.
One some home routers they jail the connections between wired and wireless.

Yes ping is crude, but it's a simple first test.

If it's an external firewall (such as the router), wouldn't it divide the systems into two unconnected groups, e.g. wired/wireless? As you can see from the connectivity diagram, there's not a clean division like that.

If it's firewalls in the systems, wouldn't that require firewalls in all non-contactable systems? I.e. Windows, iPad, and Linux? Android is the only one that all other systems can reach.

I drew a diagram of "what systems can ping what other systems" to visualize it better -- below.

Quote:

Originally Posted by teckk (Post 6489990)
Map the network and see who is listening to what.
Also see what the router is doing with what machines:
Code:

traceroute 192.16.0.1

As you'd expect, it's one hop from all systems. They're all connected directly to the router via wifi or (for Linux) LAN.

Unfortunately nmap is not on my system, and I can't get the installer (yum) to work. Still poking at it.

rkelsen 03-15-2024 11:26 PM

Windows' firewall is on by default. If you turn it off, you get nagged to turn it back on and sometimes it turns itself back on when you're not looking. Have you turned it off?

garyfritz 03-16-2024 12:02 PM

I hadn't, but I tried it. I turned off the Windows Defender firewall for the local private network. Only change I see is that the Linux system can no longer ping Windows. But that may have been an error before -- I still can't ping Linux -> Win after turning the firewall back on.

lvm_ 03-16-2024 12:24 PM

You are telling nothing about you network setup, but I presume most of your devices are connected via wi-fi and if it is at least dual-band. Some buggy routers have issues with communication between bands, try locking all your devices to a single band. Also many routers have a wireless isolation security option which intentionally prevents wireless devices from communicating with other devices on the network - check configuration of your router to see if it is enabled.

garyfritz 03-16-2024 01:58 PM

The Linux system is connected via Ethernet LAN. All others (Win, Android, iOS) are on 5G IPv4 wifi.

The router (Arris TG3452A) has a firewall, but it's set to minimum security (nothing blocked). It supports "Home" and "Guest" networks. Each has an AP Isolation setting, which is currently On on the Guest network, Off on the Home network (where I work). I disabled it on both networks and saw no change.

jefro 03-16-2024 03:40 PM

Guest network by design usually blocks inter lan access.

rkelsen 03-16-2024 05:58 PM

Sometimes just turning these features off is insufficient. You may need to reboot the devices to get the new settings to work.

jefro 03-16-2024 06:02 PM

What does arp -a tell?

michaelk 03-16-2024 06:26 PM

Your Android phone and iPad may be configured for random MAC addresses when then connect which if you did not always check could cause part or your problem and I think that there is an iPad setting to regenerate a new mac every 24 hours.
Obviously the desktop would not change and then compounded by if you are using the guest access point for some devices.

wpeckham 03-16-2024 09:36 PM

Quote:

Originally Posted by jefro (Post 6489982)
Ping is a poor test.

Since all of them can reach the internet then I'd consider this to be a firewall issue.

One some home routers they jail the connections between wired and wireless.

PING is a poor test, and one used by so much malware that some systems have the ECHO protocol it depends upon blocked. There is also a network "stealth mode" that prevents an "echo" reply. I recommend using several tools, not all based upon ping.

garyfritz 03-16-2024 10:50 PM

Quote:

Originally Posted by jefro (Post 6490123)
Guest network by design usually blocks inter lan access.

I assumed it probably did. But I don't use it. My housemate uses that network.

Quote:

Originally Posted by jefro (Post 6490123)
What does arp -a tell?

Attached below.

Quote:

Originally Posted by michaelk (Post 6490139)
Your Android phone and iPad may be configured for random MAC addresses

That would not explain Windows' inability to reach Linux, would it?

Quote:

Originally Posted by wpeckham (Post 6490152)
PING is a poor test, ... I recommend using several tools, not all based upon ping.

I used several tools on Win/iOS/Android/Linux, but I think most of them were using ping. What tools would you suggest? I still haven't resolved the yum install issue on Linux so I have limited options there.

Interesting. When I did my tests yesterday, Windows and Linux could not reach iOS. I just did a test ping from Linux to iOS and it hung up. I left it runnning -- and several minutes later the pings started working. Now Windows can reach iOS too.

arp -a output:
Code:

? (192.168.0.254) at c0:25:e9:57:11:85 [ether] on enp0s2f1u2c2
? (192.168.0.137) at c2:25:e9:b0:71:e6 [ether] on enp0s2f1u2c2
arrisatom (192.168.0.1) at 48:4e:fc:eb:00:21 [ether] on enp0s2f1u2c2
arrisatom (192.168.0.1) at <incomplete> on virbr0
? (192.168.0.11) at <incomplete> on enp0s2f1u2c2
SAMSUNG-SM-G950U (192.168.0.156) at a0:cc:2b:b0:71:e6 [ether] on enp0s2f1u2c2
SPECTRE (192.168.0.218) at 48:a4:72:45:b3:5c [ether] on enp0s2f1u2c2
? (192.168.0.61) at b2:45:b6:e6:e5:cd [ether] on enp0s2f1u2c2
? (192.168.0.164) at b2:45:b6:e6:e5:cd [ether] on enp0s2f1u2c2


lvm_ 03-17-2024 03:56 AM

You can verify if MAC spoofing is to blame by deleting arp entry for inaccessible device (arp -d).


All times are GMT -5. The time now is 05:17 AM.