08-19-2001
Check your routing tables to insure they are set up correctly.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, dear all, I am rather new to Unix and have this problem where I cant seem to ping from 1 host to another. The scenerio is as follows: -
1 QNX host->Eth->1 SCO host
the SCO host is configured with it's IP
the QNX host is configured with another IP
both in the same domain, ie, 172.20.3.XX... (3 Replies)
Discussion started by: gavon
3 Replies
2. Shell Programming and Scripting
hello to everyone, i was wondering if you could help me with a script im working on, it's kind of simple but i dont have a lot experience on unix comands: well, here it is:
you might apreciate the infinite while loop :D, it is supossed to be running on the server all day scaning it every 5... (12 Replies)
Discussion started by: sx3v1l_1n51de
12 Replies
3. Solaris
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I'm doing one script on Juniper router where you have one FreeBSD Shell:
Is pinging from time to time one ethernet port of othere router and in case of fail is blocking one port entering in CLI and doing some command:
If I run this script all is working perfectly, but if I run in... (1 Reply)
Discussion started by: teigipo
1 Replies
5. Solaris
Hi,
I have a Windows server running WinSVR 2008R2 with a network share configured \\hostname\JSS_Share I would like to be able to mount this share on a Solaris host running Solaris 9. I would also like to mount a directory on the Solaris host and make it visible to the Windows server.
The idea... (1 Reply)
Discussion started by: jamba1
1 Replies
6. IP Networking
Hi,
I have a weird problem.
when ever I do ping command like for example
ping unix.comI get the following message:
# ping unix.com
ping: unknown host unix.com
but when I use host the computer is able to know the host.
# host unix.com
unix.com has address 81.17.242.186
unix.com mail is... (2 Replies)
Discussion started by: programAngel
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I installed Oracle virtual box 4.1.8 on my desktop. I installed Windows 2008 server R2 as one instance and Solaris 10 as another instance. When am trying to ping from Windows to solaris and vice-versa, ping not working.
windows IP : 10.1.47.24
Solaris IP : 10.1.47.25
netstat... (2 Replies)
Discussion started by: kjks
2 Replies
8. Shell Programming and Scripting
Hi I am trying to write a script which runs until the host is up. i got it figured out that it needs to be in loop till it return $? = 0.
Not getting it through though. I am not sure about the 6th line !!!
#!/bin/sh
HOSTS="host.txt"
ping(){
for myhost in "$HOSTS"
do
ping -c -1 "$myhost"... (8 Replies)
Discussion started by: Antergen
8 Replies
9. UNIX for Dummies Questions & Answers
Hi,
In unix or linux is there any command exist to identify Host Name to IP Address or Vice Versa?
Thanks in advance (6 Replies)
Discussion started by: nag_sathi
6 Replies
10. Shell Programming and Scripting
Hi All,
I have the requirement where am pinging the server and matching the IP address with the existing IP address. Below code is returning me the IP address and my requirement is i have to see that also whether it is pinging or not
PING useipapd01 (172.22.32.87) 56(84) bytes of data.
64... (1 Reply)
Discussion started by: sharsour
1 Replies
ROUTE(8) System Manager's Manual ROUTE(8)
NAME
route - manually manipulate the routing tables
SYNOPSIS
/sbin/route [ -f ] [ -n ] [ command args ]
DESCRIPTION
Route is a program used to manually manipulate the network routing tables. It normally is not needed, as the system routing table manage-
ment daemon, routed(8), should tend to this task.
Route accepts two commands: add, to add a route, and delete, to delete a route.
All commands have the following syntax:
/sbin/route command [ net | host ] destination gateway [ metric ]
where destination is the destination host or network, gateway is the next-hop gateway to which packets should be addressed, and metric is a
count indicating the number of hops to the destination. The metric is required for add commands; it must be zero if the destination is on
a directly-attached network, and nonzero if the route utilizes one or more gateways. If adding a route with metric 0, the gateway given is
the address of this host on the common network, indicating the interface to be used for transmission. Routes to a particular host are dis-
tinguished from those to a network by interpreting the Internet address associated with destination. The optional keywords net and host
force the destination to be interpreted as a network or a host, respectively. Otherwise, if the destination has a ``local address part''
of INADDR_ANY, or if the destination is the symbolic name of a network, then the route is assumed to be to a network; otherwise, it is pre-
sumed to be a route to a host. If the route is to a destination connected via a gateway, the metric should be greater than 0. All sym-
bolic names specified for a destination or gateway are looked up first as a host name using gethostbyname(3N). If this lookup fails, get-
netbyname(3N) is then used to interpret the name as that of a network.
Route uses a raw socket and the SIOCADDRT and SIOCDELRT ioctl's to do its work. As such, only the super-user may modify the routing
tables.
If the -f option is specified, route will ``flush'' the routing tables of all gateway entries. If this is used in conjunction with one of
the commands described above, the tables are flushed prior to the command's application.
The -n option prevents attempts to print host and network names symbolically when reporting actions.
DIAGNOSTICS
``add [ host | network ] %s: gateway %s flags %x''
The specified route is being added to the tables. The values printed are from the routing table entry supplied in the ioctl call. If the
gateway address used was not the primary address of the gateway (the first one returned by gethostbyname), the gateway address is printed
numerically as well as symbolically.
``delete [ host | network ] %s: gateway %s flags %x''
As above, but when deleting an entry.
``%s %s done''
When the -f flag is specified, each routing table entry deleted is indicated with a message of this form.
``Network is unreachable''
An attempt to add a route failed because the gateway listed was not on a directly-connected network. The next-hop gateway must be given.
``not in table''
A delete operation was attempted for an entry which wasn't present in the tables.
``routing table overflow''
An add operation was attempted, but the system was low on resources and was unable to allocate memory to create the new entry.
SEE ALSO
intro(4N), routed(8), XNSrouted(8)
4.2 Berkeley Distribution November 16, 1996 ROUTE(8)