12-17-2008
Quote:
Originally Posted by
Cass67
No, there can be one for each network ....
That's not what 'default' means. You can set gateways for each network yes, but there can only be 1 default gateway.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. IP Networking
hi everybody ,
i have a solaris 5.6 box and i want to trace the route on an ip i treid traceroute but soalris 5.6 does not support it ...
is there a command that can be used equivelent to traceroute ?
thanks for your help (2 Replies)
Discussion started by: ppass
2 Replies
3. UNIX for Dummies Questions & Answers
I have a route that disappears when the server is rebooted.
to get the route back I do:
route add 65.x.x.x 10.0.x.x
I go to cd /etc/inet
vi config
and the route is in place
Anybody might know what is happening? (4 Replies)
Discussion started by: jrmontg
4 Replies
4. Solaris
hi,
i installed solaris 9 on an SPARC server with two network interfaces. behind each interface is a small lan. i can reach every computer in every lan using one of the other interface when i am logged in the solaris. but if a computer from one lan has to connect to a computer on the other lan,... (4 Replies)
Discussion started by: bong02
4 Replies
5. Solaris
Hi Guru's
Can any want here could explain to me the different between soft reboot and hard reboot .
Best Regards
Seelan (3 Replies)
Discussion started by: seelan3
3 Replies
6. Solaris
Hi,
I am trying to add route command in SunOS machine but it is not successful :
route add -host 10.31.251.47 -gateway 10.31.251.0 -interface ce0
this command fails with an error "lo0:1: bad value"
I want to add a route to 10.31.251.47 that picks 10.31.251.0 as the gateway via the... (1 Reply)
Discussion started by: jaygamini
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Request you to please tell me the command or the process to add the static route in redhat linux.
Thanks in Advance.
Regards
Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies
8. IP Networking
Hi,
HP-UX 11iV2, but it's probably universal (tcp/ip)
I have a production and a test server. The test server gets the application updated nightly from the production server software. The application accesses a set of process servers on a separate subnet (192.163.22.30,31,32), but reachable... (1 Reply)
Discussion started by: monroedoug
1 Replies
9. Solaris
Solaris 10
I am trying to delete a route using the command:
route -p delete 192.0.0.0 192.1.3.254
The route gets delete but for some reason the route pops back up in the routing table after reboot. I also deleted the /etc/inet/static_routes file and the route still persists after reboot.... (6 Replies)
Discussion started by: jastanle84
6 Replies
10. IP Networking
I'm having some trouble understanding the output of the route command. Specifically, the "route to" and "destination" fields. I'm guessing "route to: <address>" means when the queried host receives packets, it sends them to <address> by default, and "destination: <address>" means <address> is the... (2 Replies)
Discussion started by: Ultrix
2 Replies
routes(4) Kernel Interfaces Manual routes(4)
NAME
routes - Specifies Internet routing information to the routing tables
SYNOPSIS
/etc/routes
DESCRIPTION
Static routes can be defined in the /etc/routes file. The /etc/routes file identifies static routes that are automatically added to the
network routing tables with the /usr/sbin/route add command. The /sbin/init.d/route script contains the /usr/sbin/route add command that
is executed for each entry in the /etc/routes file when the network is restarted on the system or the system is rebooted.
The general format of an entry in the /etc/routes file is: Dest Name1 Name2
The following is a brief description of each element in an /etc/routes file entry: A keyword that indicates whether the route is to a net-
work or to a host. The two possible keywords are -net and -host. The name or address of the destination network or host. Name1 can be
either a symbolic name (as used in the /etc/hosts or /etc/networks file) or an Internet address specified in dotted-decimal format. The
name or address of the gateway host to which messages should be forwarded. Name2 can be either a symbolic name (as used in the /etc/hosts
file) or an Internet address specified in dotted-decimal format.
The routes file is a Context-Dependent Symbolic Link (CDSL) and must be maintained as such. See the System Administration manual for more
information.
EXAMPLES
To specify a route to a network through a gateway host with an entry in the /etc/routes file, enter:
-net net2 host4
This example specifies a route to a network, net2, through the gateway host4. To specify a route to a host through a gateway host
with an entry in the /etc/routes file, enter:
-host host2 host4
This example specifies a route to a host, host2, through the gateway host4. To specify a route to a default gateway host with an
entry in the /etc/routes file, enter:
default 130.9.0.5
This example specifies a route to a default gateway with an Internet address of 130.9.0.5.
FILES
Contains the /usr/sbin/routed add command.
RELATED INFORMATION
Commands: route(8)
Daemons: gated(8), routed(8)
Files: gated.conf(4)
Network Administration delim off
routes(4)