Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 16:15:26 +0800 (MYT)
From:      Dinesh Nair <dinesh@alphaque.com>
To:        David Miller <fquestions@d.sparks.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: routing to specific network
Message-ID:  <20040113161228.E336-100000@prophet.alphaque.com>
In-Reply-To: <Pine.BSF.4.21.0401120818400.57987-100000@search.sparks.net>

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

On Mon, 12 Jan 2004, David Miller wrote:

> Isn't this equivilent to selecting the outbound route?  You want to
> select 10.a.b.c uf you want the connection routed out ISP 1 and
> 192.168.x.y otherwise.

yes it is.

> There are bizzare cases where it might make sense to try and load
> balance two broadband connections, but they're really special cases and
> don't have general purpose solutions:(

and what i want to try doing is a bizarre case, load balancing without
handling bgp. off the cuff, perhaps a hook or a netgraph node which round
robins my source ip address over the two interfaces. of course, once a
flow goes over one particular interface, it'd always use that interface
till that connection is torn down. in cases where HTTP/1.1 is used without
keep alives for example, each IMG could be pulled over a different
interface, in effect multiplexing both connections.

perhaps, i'll go read up on netgraph implementations and try something
here.

Regards,                           /\_/\   "All dogs go to heaven."
dinesh@alphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040113161228.E336-100000>