Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 1999 13:22:50 +0300 (EEST)
From:      Yaroslav Terletsky <ts@polynet.lviv.ua>
To:        FreeBSD Questions Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Multiple Default Routes !!!
Message-ID:  <Pine.BSF.3.96.991006131436.72088A-100000@NetSurfer.lp.lviv.ua>

next in thread | raw e-mail | index | archive | help

Hi,

If you already have one default route (which is 0.0.0.0/0.0.0.0)
and will add another, for example 0.0.0.0/255.0.0.0 you'll
see them together in the routing table:

$ route add -net 0.0.0.0 -netmask 255.0.0.0 194.44.139.65
$ netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            194.44.139.65      UGSc        0        0      ep0 =>
default            209.58.62.193      UGSc       27   886299      ep0


I don't know the sense of it and which one will be preferred
but it is "AS IS" and I wonder it violates something.
The other question is how to use it? Any thoughts?

==
Yaroslav



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.991006131436.72088A-100000>