From owner-freebsd-hackers Thu May 2 10:21:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 4514137B47D for ; Thu, 2 May 2002 10:20:54 -0700 (PDT) Received: from pool0542.cvx22-bradley.dialup.earthlink.net ([209.179.200.32] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 173KGB-0001E7-00; Thu, 02 May 2002 10:20:52 -0700 Message-ID: <3CD17557.7BC1F7C0@mindspring.com> Date: Thu, 02 May 2002 10:20:23 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bogdan TARU , freebsd-hackers@FreeBSD.ORG Subject: Re: network design References: <20020502180817.K22759-100000@fw.cgn.icom> <3CD17351.893F80A3@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: > 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 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