Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-04-2005, 12:16 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 5

Rep: Reputation: 0
No route to host error...

hello, everyone.

I met NO route to host error while i am doing udp-msg sending program

routing tables are given U 0 0 0 ath0 U 0 0 0 eth1

I want to send a udp message to
Is there always default gate way?
I guess destination packet will be sent by eth1.

Any answers will be appreciated

Thanks in advance

always rookie
Old 11-04-2005, 12:27 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Maybe this would probably be better to have posted to the "network" group instead?

I'd troubleshoot (in roughly this order);

1. Can the client host ping the server?
2. If not, is there a firewall in the way?
3. If not, are they on the same (or different!) physical segments?
<= Remember: 192.168.x.x is a non-routable LAN.
If you've got two DIFFERENT "192.168.x.x", you're SOL in terms of getting the two to talk with each other

So make sure they can ping each other first. Troubleshoot at the network configuration level first.
Old 11-04-2005, 12:33 PM   #3
LQ Newbie
Registered: Nov 2005
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for comment paulsm4

they can ping each other and no firewall is set up.

they are on same physical segments (they use same channel)

I dont understand that 192.168.x.x is a non-routable LAN.

I set ip_forward option true. I think it can route...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help: NFS error (No route to host) systemhackerz Linux - Networking 33 09-13-2012 12:54 PM
Sendmail Error - No Route To Host mindfrost82 Linux - Software 3 11-17-2009 04:07 AM
Network error: No route to host Putty Adil_uk Linux - Networking 3 10-19-2005 10:32 AM
Error: No route to host! CRB314 Linux - Newbie 1 03-22-2004 03:37 AM
unexplanable 'no route to host' error, can anyone help? f1uke Linux - Newbie 0 04-10-2003 09:35 PM

All times are GMT -5. The time now is 08:01 PM.

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