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
LEARN ABOUT NETBSD
route.conf
ROUTE.CONF(5) BSD File Formats Manual ROUTE.CONF(5)
NAME
route.conf -- static routes config file
DESCRIPTION
The route.conf file is read by the staticroute rc.d script during system start-up and shutdown, and is intended for adding and removing
static routes.
FILE FORMAT
Lines starting with a hash ('#') are comments and ignored. Lines starting with a plus sign ('+') are run during start-up, while lines start-
ing with a minus sign ('-') are run during system shutdown. If a line starts with a '!', the rest of the line will get evaluated as a shell
script fragment. All other lines are passed to route(8). During start-up, they are passed behind a ``route add -'' command and during shut-
down behind a ``route delete -'' command.
FILES
/etc/route.conf The route.conf file resides in /etc.
/etc/rc.d/staticroute
rc.d(8) script that parses route.conf.
EXAMPLES
In this example, the interface for the desired routing changes is set, the IP address on that interface is determined, and a route is added
during startup, or deleted during system shutdown.
# Set interface and determine current IP address for added route.
!ifname=bnx0
!ipaddr=$(/sbin/ifconfig ${ifname} | awk '$1 == "inet" {print $2}')
net 10.10.1 -interface ${ipaddr}
In this example, IP forwarding is turned on during start-up, and a static route added for 192.168.2.0. During system shutdown, the route is
removed and IP forwarding turned off.
# Turn on/off IP forwarding.
+sysctl -w net.inet.ip.forwarding=1
-sysctl -w net.inet.ip.forwarding=0
net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2
SEE ALSO
rc.conf(5), rc(8), route(8)
BSD
May 1, 2012 BSD