From owner-freebsd-questions Tue Jun 4 13:22:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.npubs.com (npubs.com [207.111.208.224]) by hub.freebsd.org (Postfix) with ESMTP id 56E9737B406 for ; Tue, 4 Jun 2002 13:22:27 -0700 (PDT) Received: 8.12.2-(Neptune) From: "Nielsen" To: Subject: Fw: Networking connection questions MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-Id: <20020604202227.56E9737B406@hub.freebsd.org> Date: Tue, 4 Jun 2002 13:22:27 -0700 (PDT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is very difficult to do. I've tried but haven't come up with a reliable way as yet. If you control both ends of both uplink pipes then you can use ipfw probability rules to put traffic on both links. IP works on a packet basis. Not a connection basis. You need custom programming to isolate connections. It would be interesting to see this written into a daemon. But I imagine there are tons of factors to account for. Probably would be difficult. Or maybe I'm wrong and it's already out there. Nate ----- Original Message ----- From: "Lord Raiden" To: Sent: Tuesday, June 04, 2002 13:35 Subject: Networking connection questions > Hi all. I'm looking at adding a second connection into one of our > satellite offices and I need to be able to use both connections without > splitting the lan. The basic idea I'm looking at is the two connections > will be plugged into the Kingston DSL/Cable router, one via the uplink port > we have in it, the other via the wan port. What I'm curious of is A) will > a setup like this work ok, or will it cause problems? I'm needing it to go > to the primary connection first, then when that's full, all further > connections spill over into the secondary connection. > > So say Line 1 is 764k, and line 2 is 400k. I want it to always use line 1 > no matter what, up until it reaches at least 90-95% capacity, then I want > it to immediately default over to line 2 and start using that for all of > the overflow connections. Once usage drops below a certain level on line > one, all further connections would then go to line 1 again. > > I'm not sure we can do this with our hardware router we have, so I'm > curious if it's possible to do the way I suggested via the hardware router, > and if not, can this be done in Fbsd? IF so, how? Would I use IPFW, or > Natd? IPchains? I know what we want to do, I'm just not entirely sure how > to attack it. Thanks for the help all. :) > - The Raiden Knows > > "Remember amateurs built the ark -- professionals built the Titanic." - > Unknown > > "Just when you think you have life figured out and all is going well, watch > your step, for you are about to fall." - Ancient Proverb > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message