The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
make file_Configuration lookup disabled for target. mannam srinivas Linux 0 04-16-2008 12:19 AM
Error: No Route to host...urgent {socket() connection} arunchaudhary19 High Level Programming 6 10-30-2007 12:10 AM
How to delete the files from local host to remote host krishna176 SUN Solaris 3 03-24-2007 12:48 PM
no route to host scoman2 UNIX for Dummies Questions & Answers 6 08-30-2004 04:58 AM
QNX host cannot ping SCO host, vice versa gavon IP Networking 2 08-20-2001 05:57 PM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2002
Registered User
 

Join Date: Mar 2002
Posts: 44
add route gives target: Host name lookup failure

We need to add our remote office to our linux routing table.

Our internal office ip addresses are all in the range of 198.9.200.x
with an subnet mask of 255.255.255.0

the remote office has ip addresses in the range of 192.168.0.0 and also a subnet mask of 255.255.255.0

when i use the following 'route' command, i get
target: Host name lookup failure

this is the command:
route -v add target 192.168.0.0 netmask 255.255.255.0 gw 198.9.200.42 metric 1 dev eth0
Forum Sponsor
  #2 (permalink)  
Old 08-07-2002
Registered User
 

Join Date: Jun 2002
Location: Amsterdam (Netherlands)
Posts: 142
As far i can see is 'targewt' not a valid option.

In this case the route command thinks target is a hostname and tries to lookup this host.

I think:

route -v add 192.168.0.0 netmask 255.255.255.0 gw 198.9.200.42 metric 1 dev eth0

wil do the job

regards
  #3 (permalink)  
Old 08-07-2002
Registered User
 

Join Date: Mar 2002
Posts: 44
That's it. Target is a variable that i need to substitute.

Sorry. Fixed now.

Dank u JanR,
  #4 (permalink)  
Old 08-07-2002
Registered User
 

Join Date: Jun 2002
Location: Amsterdam (Netherlands)
Posts: 142
Wink

graag gedaan
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0