Haiku Re: [buug] gateway
johnd
john at jjdev.com
Thu Oct 23 13:29:09 PDT 2003
it takes it...
root at ldev:/home/john# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.254.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.164.63 0.0.0.0 UG 0 0 0 eth0
default 192.168.164.251 0.0.0.0 UG 0 0 0 eth0
default 192.168.164.251 0.0.0.0 UG 1 0 0 eth0
it just tries the first one though
(i'm not saying this is the right thing to do, because it's not)
On Thu, Oct 23, 2003 at 01:15:04PM -0700, Jon McClintock wrote:
> On Thu, Oct 23, 2003 at 01:00:06PM -0700, Ian Zimmerman wrote:
> > Bob> Two Default Gateways
> > Bob> Lookup finds only first match
> > Bob> Other route unused
> >
> > Actually, I have some doubts about this. I think I recall from Stevens'
> > TCP/IP book that some implementations (BSD? Solaris?) choose one or the
> > other route in a round-robin fashion.
>
> Hmm. All I've got handy is TCP/IP Illustrated, Vol2, and I couldn't find
> a conclusive answer in a few minute's looking. It seemed to imply that
> having two default routes wasn't something that could happen (i.e.,
> setting a default route wipes out any existing default route).
>
> I'd be interested to see what the output of `route -n` is on your
> system, John.
>
> -Jon
> _______________________________________________
> Buug mailing list
> Buug at weak.org
> http://www.weak.org/mailman/listinfo/buug
--
Those who do not understand Unix are condemned to reinvent it, poorly.
--Henry Spencer (Usenet signature, November 1987)
More information about the buug
mailing list