From owner-freebsd-questions@FreeBSD.ORG Tue Jan 13 00:39:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3AD616A4CF for ; Tue, 13 Jan 2004 00:39:54 -0800 (PST) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 1FF9443D5C for ; Tue, 13 Jan 2004 00:39:20 -0800 (PST) (envelope-from dinesh@alphaque.com) Received: (qmail 5081 invoked by uid 0); 13 Jan 2004 08:39:16 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 13 Jan 2004 08:39:16 -0000 Received: from localhost (localhost.alphaque.com [127.0.0.1]) by prophet.alphaque.com (8.12.10/8.12.9) with ESMTP id i0D8FQac046191; Tue, 13 Jan 2004 16:15:26 +0800 (MYT) (envelope-from dinesh@alphaque.com) Date: Tue, 13 Jan 2004 16:15:26 +0800 (MYT) From: Dinesh Nair To: David Miller In-Reply-To: Message-ID: <20040113161228.E336-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: routing to specific network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 08:39:54 -0000 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 | +=========================================================================+