LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-19-2004, 09:45 AM   #1
szatki
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
"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!
 
Old 02-19-2004, 10:00 AM   #2
codeape
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 62

Rep: Reputation: 15
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.
 
Old 02-19-2004, 10:20 AM   #3
szatki
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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...)
 
Old 02-19-2004, 10:26 AM   #4
codeape
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 62

Rep: Reputation: 15
Your DHCP server has assigned you that IP address???
...

Can you ping the gateway address....?
 
Old 02-19-2004, 10:46 AM   #5
szatki
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, I can ping 134.171.154.1
 
Old 02-19-2004, 10:47 AM   #6
szatki
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Whoops, yes I can ping 134.174.151.1 (!)
 
Old 02-19-2004, 11:01 AM   #7
codeape
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 62

Rep: Reputation: 15
D'Oh! I misread your routing table. Of course that's the network address, it's supposed to list that.
 
Old 02-19-2004, 11:57 AM   #8
codeape
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 62

Rep: Reputation: 15
Your routing table looks ok. Do you know the address of the DHCP server? Can you ping that?
 
Old 02-19-2004, 12:30 PM   #9
szatki
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pan :: "No route to host" error tireseas Linux - Networking 3 05-02-2005 09:47 PM
could "no route to host" be caused by non-crossover cable? brandonweinberg Linux - Networking 13 01-31-2004 09:47 AM
cant send email, "no route to host" nef Linux - Software 8 09-23-2003 04:05 PM
Permanently set "route add" -host and default gw sacants Linux - Newbie 1 07-18-2003 04:04 AM
"no route to host" and other messages enzoweb Linux - Networking 2 04-06-2001 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration