From owner-freebsd-hackers Fri May 3 0:35: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from web14802.mail.yahoo.com (web14802.mail.yahoo.com [216.136.224.218]) by hub.freebsd.org (Postfix) with SMTP id 87A4537B41A for ; Fri, 3 May 2002 00:35:01 -0700 (PDT) Message-ID: <20020503073501.67347.qmail@web14802.mail.yahoo.com> Received: from [66.74.240.153] by web14802.mail.yahoo.com via HTTP; Fri, 03 May 2002 08:35:01 BST Date: Fri, 3 May 2002 08:35:01 +0100 (BST) From: =?iso-8859-1?q?andrew=20mejia?= Subject: Re: network design To: Terry Lambert , Bogdan TARU , freebsd-hackers@FreeBSD.ORG In-Reply-To: <3CD17557.7BC1F7C0@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Terry Lambert wrote: > Terry Lambert wrote: > > Unfortunately, the FreeBSD ethernet interface > isn't terribly > > smart. Ideally, it would provide a virtual > interface per VIP, > > all the way down to the card; it doesn't. > > Probably wasn't very clear here. > > The Tigon II, for example, supports 4 VIPs, the > Intel Gigabit > ethernet supports 16 VIPs (VIP-based virtual MAC > addresses; > see the VRRP RFC for details). > > THis means that for a Tigon II card, instead of > just: > > tg0 > > You should have one interface per MAC address. So > if you set > two additional MAC addresses on the card (no > interface for this > in FreeBSD currently), then you should have: > > tg0 <- hardware MAC > tg0a <- VRRP MAC #1 > tg0b <- VRRP MAC #2 [andrew]$ exactly what i would suggest. a single NIC can handle multiple assigments pretty easily, unless you're expecting mega-traffic. but even then you could use the native load balancing/caching tech- nology offered with some other freewares (like apache web server). > You also need to handle "active" vs. "inactive". > You should > leave the interface "up" (resetting a Tigon II > interface > reloads the firmware because FreeBSD doesn't have a > seperate > "init" vs. "attach entry point for firmware > loading), and be > able to control turning ARP responses on and off for > the card > to avoid confusing the hell out of switches. > > If you are confused, read the RFC and look at the > Linux and > commercial VRRP implementation documentation. > There's > nothing really "secret" about VRRP. > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of > the message __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message