From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 06:20:22 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 43C6E16A41F for ; Thu, 22 Dec 2005 06:20:22 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA55643D5A for ; Thu, 22 Dec 2005 06:20:21 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id jBM6NYP53674; Wed, 21 Dec 2005 22:23:34 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Loren M. Lang" Date: Wed, 21 Dec 2005 22:20:17 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20051221174708.GD27642@alzatex.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Importance: Normal Cc: Yance Kowara , freebsd-questions@freebsd.org Subject: RE: FreeBSD router two DSL connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 06:20:22 -0000 >-----Original Message----- >From: Loren M. Lang [mailto:lorenl@alzatex.com] >Sent: Wednesday, December 21, 2005 9:47 AM >To: Ted Mittelstaedt >Cc: Yance Kowara; freebsd-questions@freebsd.org >Subject: Re: FreeBSD router two DSL connections > > >On Sun, Dec 11, 2005 at 11:28:17PM -0800, Ted Mittelstaedt wrote: >> >> If both DSL lines go to the same ISP it is easy, run >> PPP on them and setup multilink PPP. The ISP has to >> do so also. >> >> If they are going to different ISP's then you cannot >> do it with any operating system or device save BGP - the idea is >> completely -stupid- to put it simply. If you think different, >> then explain why and I'll shoot every networking scenario >> you present so full of holes you will think it's swiss cheese. >> And if you think your going to run BGP I'll shoot that full >> of holes also. > >I strongly disagree. There are many reasons for this. Two of which are >increased throughoutput and redundancy. If you have read this thread you will have already seen that you cannot get increased throughput this way. As I asked before, explain how a DSL line to SpiritOne running at 1MBit/sec and a Comcast cable connection running at 1MBit/sec will allow you to download the FreeBSD release iso file at 2MBit/sec. This will be interesting. If you can't do it, which I will tell you that you can't, you have not increased throughput. And as for redundancy, I already explained that while this setup increases redundancy, the redundancy must be manually done - monitored by a human, and switched over when needed - or it will not react to the most common redundancy problems. > The primary problem is that you >need to make sure outgoing data for a connection is using the same line >as the incoming connection. No, not at all. The primary problem is that the incoming data that is in response to the outgoing connection will come in on the same line that the outgoing connection used. >If the majority to all connections are >outgoing and both lines use NAT and have unique IP addresses, it's >simpler to setup. >If you have incoming connections as well, either only >one of the two lines will be used or you'll need BGP Explain how to run BGP with a DSL line to Spirit One and a cable line to Comcast. >or some kind of >static route setup by the two ISPs. Rubbish. Explain how this would work. It won't. > >I have done this with a Linux router and using Comcast Cable and >SpiritOne DSL. We had all incoming connections use DSL and outgoing >connections use either line. You used the dual-NAT package that was detailed earlier which is the only one that can do that - is specific to Linux - and as I explained before, also will not permit you to take a 1MB DSL line from one provider and a 1MB cable line from the cable company and download a freebsd iso at 2MB. Thus it is not load-balancing because it does not actually use both lines for a connection. > We balanced them by internal IP addresses, You did not balance them, you had some of the inside IP numbers use one line, and others use the other line. This isn't load balancing. >but there might be more sophisticated methods. I do not know what >support FreeBSD has for this kind of routing though. At the very >minimum, you could get redundancy for outgoing connections by switching >the route to use the other line when the first one fails. > Which is not redundant. Considering the OP asked for specifics on how to do this and your response as been a bunch of theoretical gobbdleygook that is flat out wrong network theory, you haven't done anything to help the poor bastard. Ted