From owner-freebsd-net@FreeBSD.ORG Fri Jun 23 14:42:23 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0980F16A492 for ; Fri, 23 Jun 2006 14:42:23 +0000 (UTC) (envelope-from baldur@foo.is) Received: from gremlin.foo.is (gremlin.foo.is [194.105.250.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FA2043D45 for ; Fri, 23 Jun 2006 14:42:22 +0000 (GMT) (envelope-from baldur@foo.is) Received: from 127.0.0.1 (localhost.foo.is [127.0.0.1]) by injector.foo.is (Postfix) with SMTP id C890FDA85D; Fri, 23 Jun 2006 14:42:21 +0000 (GMT) Received: by gremlin.foo.is (Postfix, from userid 1000) id 2AA40DA849; Fri, 23 Jun 2006 14:42:18 +0000 (GMT) Date: Fri, 23 Jun 2006 14:42:18 +0000 From: Baldur Gislason To: Christopher Martin Message-ID: <20060623144218.GI36671@gremlin.foo.is> References: <20060623120208.GH36671@gremlin.foo.is> <50v528$fvu0nd@iinet-mail.icp-qv1-irony1.iinet.net.au> In-Reply-To: <50v528$fvu0nd@iinet-mail.icp-qv1-irony1.iinet.net.au> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on gremlin.foo.is X-Spam-Level: X-Spam-Status: No, score=-5.9 required=6.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Sanitizer: Foo MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Cc: 'FreeBSD Net Mailing list' Subject: Re: Multiple routes to the same destination X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 14:42:23 -0000 Problem with packet based round robin is you can mess the order of packets. Thats why there are protocols like LACP and PAgP for ethernet aggregation. Baldur On Fri, Jun 23, 2006 at 10:19:06PM +1000, Christopher Martin wrote: > > > > -----Original Message----- > > From: Baldur Gislason [mailto:baldur@foo.is] > > Sent: Friday, 23 June 2006 10:02 PM > > To: Christopher Martin > > Cc: FreeBSD Net Mailing list > > Subject: Re: Multiple routes to the same destination > > > > Well, round robin is really not what you want with IP packets. > > And how are you going to detect that a route is good without a routing > > protocol? > > > > Actually, round robin is exactly what I want. And I am not saying I don't > use a routing protocol, in fact I do, but I want packets to be able to use > two or more diverse paths of equivalent cost. > > It would seem that you are assuming that I want to load balance two internet > connections which are NATed, in which case round robin might have issues > with lost TCP sessions and weird reactions from servers as the apparent > source address changes from packet to packet, but in a routed internal > network the source address will not be changed by the router, thus negating > that issue. > > It did seem at some stage someone was going to include it in OpenBSD: > http://undeadly.org/cgi?action=article&sid=20040425183024&mode=expanded > > To quote: > "...OSPF also supports multipath equal cost routing". > > It's more of a case where we would like to use BSD as a router/packet > filtering firewall for sites with multiple WAN links between each site, of > equal size, and not have one site idle until the other fails over. Round > robin is better than what we have: nothing. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >