tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* multiple default routes
@ 1997-05-16 19:16 Dr Marco Luchini
  0 siblings, 0 replies; 2+ messages in thread
From: Dr Marco Luchini @ 1997-05-16 19:16 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

Is it possible to set two default routes so that the system can try one
and, if doesn't work, try the other?  

I have a subnet with two Ciscos which both provide a gateway to the
outside.  For various reasons the people controlling the Ciscos don't
want to run RIP on them.  So I have to set a default route on the alpha
to see the outside world. But a single defalt route does not give me
redundancy in case of Cisco failure.

I have thought of, what looks to me like a dirty hack involving putting
0.0.0.0 in /etc/gateways twice with different metrics, but I haven't
tested it.  

If I try:

# route add default blah.net 
# route add default blah2.net 

I get that the socket is in use and it won't set the second.

How do people solve this sort of problem?


Ciao,							Marco

-------------------------------------------------------------------------
Marco Luchini                               Internet : m.luchini@ic.ac.uk
Department of Mathematics                   Telephone: +44 171 594 8551
Imperial College                                  Fax: +44 171 594 8517
London SW7 2BZ, UK                             
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Multiple default routes
@ 1999-08-26  9:45 robertas.simkevicius
  0 siblings, 0 replies; 2+ messages in thread
From: robertas.simkevicius @ 1999-08-26  9:45 UTC (permalink / raw)
  To: tru64-unix-managers



     Hi,
has anyone succeeded it making %SUBJECT%?
Because I always get an error:
writing to routing socket: File exists
add net default: gateway gatewayno2: ioctl returns 17
File exists
Off course it is because I have one default before, but I want one
more. In TCP/IP stack implementation there is Dead Gateway Detection,
which is used find non responding hops in routing to and decide on
default route, if one is dead another is used. Maybe TRUE UNIX is not
so advanced?

Best regards,
Robertas Simkevicius

Engineer programmer

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-26  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-16 19:16 multiple default routes Dr Marco Luchini
  -- strict thread matches above, loose matches on Subject: below --
1999-08-26  9:45 Multiple " robertas.simkevicius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox