LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   "No route to host" on RH 8.0 + W2K LAN (https://www.linuxquestions.org/questions/linux-networking-3/no-route-to-host-on-rh-8-0-w2k-lan-148013/)

szatki 02-19-2004 09:45 AM

"No route to host" on RH 8.0 + W2K LAN
 
I'm trying to connect to a windows 2000 box from RH8.0 on a LAN behind a firewall. I don't know much about networking, but I'm getting the "no route to host" error. Here's my routing table:

Code:

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
134.174.151.0  *              255.255.255.0  U    0      0        0 eth0
127.0.0.0      *              255.0.0.0      U    0      0        0 lo
default        134.174.151.1  0.0.0.0        UG    0      0        0 eth0

I'm trying to connect to 134.174.151.138

Thanks!

codeape 02-19-2004 10:00 AM

You've configured a network address (*.0) on an interface. That's likely to arse up your setup right now.

The network you're connected to, has a configurable IP range from 134.174.151.1 to 134.174.151.254

*.1 is the router (apparently)

so you need to find a free IP address between *.2 and *.254

Unless your netmask of 255.255.255.0 is incorrect and you *do* have a LAN larger than 254 usable IP addresses.

szatki 02-19-2004 10:20 AM

Do you mean that I need to define my own IP address in the routing table? I am using DHCP -- does that change things? (Sorry, should have mentioned that before...)

codeape 02-19-2004 10:26 AM

Your DHCP server has assigned you that IP address???
...

Can you ping the gateway address....?

szatki 02-19-2004 10:46 AM

Yes, I can ping 134.171.154.1

szatki 02-19-2004 10:47 AM

Whoops, yes I can ping 134.174.151.1 (!)

codeape 02-19-2004 11:01 AM

D'Oh! I misread your routing table. Of course that's the network address, it's supposed to list that.

codeape 02-19-2004 11:57 AM

Your routing table looks ok. Do you know the address of the DHCP server? Can you ping that?

szatki 02-19-2004 12:30 PM

Problem solved: the IP address that I was given for the W2K box was incorrect -- argh! Sorry for the trouble!! And thanks for your efforts!


All times are GMT -5. The time now is 10:28 AM.