From owner-freebsd-questions Fri Sep 1 8:23:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from beta.root-servers.ch (beta.root-servers.ch [195.49.33.19]) by hub.freebsd.org (Postfix) with SMTP id 8366937B422 for ; Fri, 1 Sep 2000 08:23:18 -0700 (PDT) Received: (qmail 42669 invoked from network); 1 Sep 2000 15:23:20 -0000 Received: from client86-67.hispeed.ch (HELO 10.2.2.100) (62.2.86.67) by beta.root-servers.ch with SMTP; 1 Sep 2000 15:23:20 -0000 Date: Fri, 1 Sep 2000 17:25:30 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.46 Beta/3) UNREG / CD5BF9353B3B7091 Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <833167785.20000901172530@buz.ch> To: Dan Nelson Cc: freebsd-questions@freebsd.org Subject: Re[2]: Load balancing routes? In-reply-To: <20000901101426.A3707@dan.emsphone.com> References: <1092054504.20000901170657@buz.ch> <20000901101426.A3707@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Dan, Friday, September 01, 2000, 5:14:26 PM, you wrote: > Ok; you don't want to load balance Ethernet NICs (this implies bonding > the two NICs together as one IP/MAC address, also called port trunking > or bonding). You want to balance the load across two routers? Yes but I need to have the whole stuff under one or two public IP (where it shouldn't matter through what modem the data comes in or goes out) and I believe this would require to cheat with the MAC addresses. Imagine something like the following ------------------- ------- | PC (NAT Gateway)|-------modem1 | Hub |---| two public IPs |-------modem2 ------- ------------------- (could also use a hub and only one NIC then, for sure, whatever would work) If a packet for IP1 comes in, and modem1 is pretty much loaded, I'd like to send the answer back over modem2 and viceversa. >> Some details about the cablemodems: >> Those are 1st(?) generation Com21 models acting merely as some kind of >> bridge (routing your ethernetframes over cable into the backbone) and >> don't use their own IP nor are they acting as a conventional IP router. > If they don't have their own IP, are you assigned a static IP, or what? > and what is your default route? I can get static (which I would) but at the moment, I got DHCP. Defaultroute is always the same but dependant on what >> Cablecompany doesn't seem to have an idea which IP is connected to >> which modem or which MAC address (as they finally gave up trying to >> get traffic data for traffic based billing and now officially offer flat). >> The modems itself have got a MAC address, I think (there's atleast a >> sticker with one on the ground). > I imagine your setup looks like this: > +------+ +---+ > | | | H +---+ Cablemodem #1 > | PC +---+ U | > | | | B +---+ Cablemodem #2 > +------+ +---+ I could either do this (easier, as three NICs in one machine sometimes case a bit of a headache or the above mentioned) > If not, please draw a picture of your own Best regards, Gabriel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message