LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 11-04-2005, 12:16 PM   #1
alwaysrookie
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

192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

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

Any answers will be appreciated

Thanks in advance

regards
always rookie
 
Old 11-04-2005, 12:27 PM   #2
paulsm4
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
alwaysrookie
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...
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 05:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration