No route to host ?? What am I missing here ?!
Code:
[jonas@jonas ~]$ ifconfig eth0 Code:
[jonas@jonas ~]$ ping -c 4 192.168.1.1 Code:
[jonas@jonas ~]$ ping -c 4 192.168.1.1 Code:
[jonas@jonas ~]$ route Code:
[jonas@jonas ~]$ ssh -l root 192.168.1.1 |
1. The first thing I'd check is to make sure the two hosts are on the same, physical subnet:
a) Are they connected via a multi-port hub, router or switch? ... or ... b) Are they connected directly (using a crossover cable)? 2. Next, I'd make sure the hosts are actually configured as: a) 192.168.1.100/subnet mask 255.255.255.0 <= Your "ifconfig" shows this for one host b) 192.168.1.1/subnet mask 255.255.255.0 <= You also need to verify the other host 3. What happens when you try to ping 192.168.1.100 from 192.168.1.1? Do you get the same "no route to host"? 4. Does either host have two NIC ports? If so, have you tried unplugging/plugging in to the other port? Q: Do you see activity lights on the NICs? Are the cables good? That's for starters - I hope it helps ... at least a little bit. IMHO .. PSM |
Quote:
Now I have just disabled my wireless and enabled my eth0 again to be able to talk to my dd-wrt Linksys, who should still be on 192.168.1.1. But no luck... (by the way : to post on this forum, I'm back on my wireless (other router)) |
How you logged in to webGUI? from which system you logged in? Code names won't work.. I guess the other is a Router?..
I think a router needs to be configured for ssh sessions... by default it won't accept ssh logins.. Inshort you don't have physical connection to this device.. that means no route !! |
Hi,
* Do you have MAC filer enabled on your router?If so, make sure yours is added to the router * Is your router with the same subnet mask? * Do yo have DHCP enabled on your router? If so, is your machine IP within the range specified on your router? |
It think it's very simple... I just bricked my Linksys with an unstable version of DD-WRT...
The power-button just keeps on flashing... About the ssh-question : with DD-WRT ssh-access is enabled, I had it enabled. I logged in before just right... End of game I guess. |
If your using Fedora or CentOS, what does "mii-tool eth0" and "ethtool eth0" produce, do they actually confirm a link.
Also use "ip neigh show" to show ips that are reachable (or routes that are not) within the local area network... |
Quote:
|
Quote:
Recover from a Bad Flash I like DD-WRT very much, I've managed to brick a few Linksys routers in my time, and only one was ever totally lost. Good thing they're so cheap. |
Hii
Do check your iptable rules.In linux "service iptables status" command will give you the clear picture . If client and server are in the same subnet mask they must communicate with each other. Two way handshake must be be established between them unless not restricted by iptable rules. Check your iptable rules of both 192.168.1.100 machine & 192.168.1.1 machine. Cheerzz!! |
If you read it like I kinda only scanned past before, it appears he borked his router so he naturally wouldn't get a route to host, the router ain't working.
|
I had the same problem before. Guess what I did? I added myself as another default gateway and it worked. No one has been able to answer why it worked. See if it works for you and I'll point you to my thread. Here's my routing table:
Quote:
Quote:
|
Hi - In summary:
PROBLEM: Quote:
Quote:
'Hope that helps .. PSM PS: Yes, the Linksys is almost certainly salvageable. PPS: More generally (if you get "no route to host" for an arbitrary IP address): Quote:
|
All times are GMT -5. The time now is 04:01 PM. |