[SOLVED] Some (but not all) network hosts can't talk to each other
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The first thing I noticed on the first page you linked is that my AP's IP should be outside the DHCP range of the main router. So I limited that DHCP to 192.168.1.2 - 192.168.1.200 and gave my AP a static address of 192.168.1.201. So far everything seems to be working, although I'll keep a close eye on things through the rest of the day.
So far I'm optimistic. Thanks!
Well, that didn't go well. All my computers are now happily connected to the routers and the LAN, but they've all lost internet connectivity. All, that is, except my laptop (which I'm using now).
What I can see is that all the other devices have been issued new IPs (192.168.1.101 and up) - except for this one. The ISP router has a proper public IP and it looks perfect. But no other device has actual internet access. Any ideas?
I'm afraid the IP of this laptop could be renewed any time which will kill this access, too.
I'm afraid I'm now back to where I started! There were a few weeks where all my NAT hosts could happily talk to each other, regardless of which AP they were connected to. But now some just aren't showing up. My Raspberry Pi, for instance, just doesn't appear in nmap results from my main workstation, but is getting its old DHCP IP from the primary router and can at least sometimes be seen from other hosts. And yesterday, I could only access one of my local hosts after having SSH'd in to it from a third host, and then SSH'd from there to my workstation!
So the routers are wired properly, the AP has a static IP (192.168.1.201) outside the DHCP range, and everyone has internet access. I can't think of anything I did to change the network configuration in the meantime, but I'd appreciate if anyone has any more ideas!
Thanks,
You have not changed any physical configurations or settings?
I've been trying to remember, but I can't think of anything. I know I hadn't even logged into either of the routers for weeks. I did just move the ethernet cable from one LAN port to another LAN port on the AP, but it didn't help. That, by the way, was in honor of my very first major networking problem many, many years ago when it turned out that one of the ports on a cheap hub I was using was flaky.
Quote:
Are the missing hosts connected to AP or mixed wired and wireless?
Right now I can't access a host that's connected to the same WiFi AP as my workstation:
Code:
$ ssh 192.168.1.7
ssh: connect to host 192.168.1.7 port 22: No route to host
There are several reasons you might see a no route to host message.
If you can ping the computer then you might not be connecting to the correct computer. Check the address in the router.
If the IP matches then ssh might not be running.
If ssh running are you using some port other then 22
If ssh is running then it could be a firewall setting which is probably not it.
There are several reasons you might see a no route to host message.
If you can ping the computer then you might not be connecting to the correct computer. Check the address in the router.
If the IP matches then ssh might not be running.
If ssh running are you using some port other then 22
If ssh is running then it could be a firewall setting which is probably not it.
Thanks. The IPs are correct and SSH is running at default settings on all machines. Everything is tested. No firewalls.
I think I tracked down the real problem causing me all this grief. I tried power cycling the TP-Link WiFi router and I got my full network back. I think something's falling over on the router over time that can be fixed with a reboot. I might contact TP-Link (it's still under warranty) to see what they have to say about this.
Sometimes it just comes down to bad hardware.
Thanks to everyone around here who offered help on this!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.