add route gives target: Host name lookup failure

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers add route gives target: Host name lookup failure
# 1  
Old 08-07-2002
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

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

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

this is the command:
route -v add target netmask gw metric 1 dev eth0
# 2  
Old 08-07-2002
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 netmask gw metric 1 dev eth0

wil do the job

# 3  
Old 08-07-2002
That's it. Target is a variable that i need to substitute.

Sorry. Fixed now.

Dank u JanR,
# 4  
Old 08-07-2002
Hammer & Screwdriver

graag gedaan
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Problems host name lookup failure sendmail

Hi I have a problem in sendmail Freebsd when sending emails to yahoo as an example, I get: Sep 5 10:05:43 local50 sm-mta: STARTTLS=client, error: connect failed=-1, SSL_error=1, errno=0, retry=-1 Sep 5 10:05:43 local50 sm-mta: STARTTLS=client: 43926:error:1407742E:SSL... (3 Replies)
Discussion started by: rickyarge92
3 Replies

2. Linux

Host name Lookup Failure

Dear All , I am able to resolve my server using its ipaddress from other machines. But not from the same machine. But I have updated the DNS entry in /etc/resolv.conf. Even SSH login from other server shows Hostname Lookup Failure. Please help me on this. Rj (5 Replies)
Discussion started by: jegaraman
5 Replies

3. Shell Programming and Scripting

Connect to target host from Source host.

Hi All, Need to connect to target host and execute a command and connect back to source host to continue with next set of command execution. Is there a utility/command using which we can connect to target host ? Please suggest. Note: Netezza database is instaled on Linux server. ... (4 Replies)
Discussion started by: Nagaraja Akkiva
4 Replies

4. IP Networking

IP forwarding Route/Host ?

I have a unix machine that operates some CNC machines, I need to hook up my windows machine through core ftp to load programs onto the box. The card i need to route to for the FTP on unix is tu1 I need to check the routing tables on the unix box to see which IP address will automatically... (2 Replies)
Discussion started by: moticulus
2 Replies

5. Solaris

DNS Lookup failure:

I am facing typical problem with apache as proxy. my solaris box was running with apache1.3, due to security issue i have updated to apache 2.2. I don't have any DNS set up onmy network. I was able to connect to internet apache 1.3 working as proxy server. http and https are working fine. when... (3 Replies)
Discussion started by: sns_sns
3 Replies

6. AIX

problem with host route

Hi, I have a system with network interfaces en0 and en1 en0: physical ip: virtual ip1: virtual ip2: en1: physical ip: virtual ip1: virtual ip2: default gateway ist when I open a... (12 Replies)
Discussion started by: funksen
12 Replies

7. Red Hat

No route to host

I get below error when using telnet and ssh ?? Why ? the ip address of linux server is =tstgcota ?? # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface U 0 0... (6 Replies)
Discussion started by: chuikingman
6 Replies

8. Solaris

Host name lookup failure.

Hi Gurus I am getting the following message continuosly in my /var/adm/messages file: Aug 3 13:31:21 mumux102 sendmail: n6UHxxTm019703: to=postmaster, delay=3+14:00:01, xdelay=00:00:00, mailer=relay, pri=30730707,, dsn=4.0.0, stat=Deferred: Name server:... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies

9. Linux

make file_Configuration lookup disabled for target.

hello everyone, while i am compiling a c++ the compilation end i am getting the following error. ======================= Configuration lookup disabled for target"/swtemp/usbs/cc/unix-ce/root/subsys/cb/cdbc/obj_0001/HP-UX//rdr_types.h" what does it mean.can somebody clarify the... (0 Replies)
Discussion started by: mannam srinivas
0 Replies

10. UNIX for Dummies Questions & Answers

no route to host

I not able to ping outside the internet. i am able to ping my 192. ip address. when i try to ping a 68. ip address i get no route to host. what should i do to correct this issue. I have sco openserver 5.05 (6 Replies)
Discussion started by: scoman2
6 Replies
Login or Register to Ask a Question