From owner-freebsd-hackers Tue Apr 28 14:50:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA15687 for freebsd-hackers-outgoing; Tue, 28 Apr 1998 14:50:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Octopussy.MI.Uni-Koeln.DE (Octopussy.MI.Uni-Koeln.DE [134.95.166.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA15405; Tue, 28 Apr 1998 14:49:14 -0700 (PDT) (envelope-from se@dialup124.zpr.uni-koeln.de) Received: from dialup124.zpr.Uni-Koeln.DE (dialup124.zpr.Uni-Koeln.DE [134.95.219.124]) by Octopussy.MI.Uni-Koeln.DE (8.8.8/8.8.8) with ESMTP id XAA17828; Tue, 28 Apr 1998 23:48:47 +0200 (MET DST) Received: (from se@localhost) by dialup124.zpr.Uni-Koeln.DE (8.8.8/8.6.9) id XAA06441; Mon, 27 Apr 1998 23:08:14 +0200 (CEST) X-Face: " Date: Mon, 27 Apr 1998 23:08:13 +0200 From: Stefan Esser To: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= , "Matthew N. Dodd" Cc: Hans Huebner , freebsd-hackers@FreeBSD.ORG, Stefan Esser Subject: Re: FreeBSD HA configuration / Ethernet address takeover Mail-Followup-To: =?iso-8859-1?Q?Dag-Erling_Coidan_Sm=F8rgrav?= , "Matthew N. Dodd" , Hans Huebner , freebsd-hackers@FreeBSD.ORG, Stefan Esser References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.89i In-Reply-To: =?iso-8859-1?Q?=3Cxzpra2jfxkl=2Efsf=40hrotti=2Eifi=2Euio=2Eno=3E=3B_from?= =?iso-8859-1?Q?_Dag-Erling_Coidan_Sm=F8rgrav__on_Mon=2C_Apr_27=2C_1998_a?= =?iso-8859-1?Q?t_11=3A00=3A58AM_+0200?= Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 1998-04-27 11:00 +0200, Dag-Erling Coidan Smørgrav wrote: > "Matthew N. Dodd" writes: > > I'm kind of puzzled at how this would be integrated with the > > SIOCGHWADDR/SIOCSHWADDR calls as you might also need a way of determining > > which hadware address to set/get :) > > No. You can set any arbitrary MAC address, but it will make a heavy > impact on network performance, since much of what is usually done in > hardware (discarding packets not meant for you) will have to be done > in software. No, not true. Ethernet chips usually don't hardwire the MAC address, but provide one (or more) register(s) that typically get initialised from a serial EEPROM. But that register may be written to, and there are Ethernet protocols that rely on that feature (DEC LAT, DECnet). Many Ethernet chips accept 16 addresses, including Multicast addresses. In addition to exact address matches, there is often a hash (using the Ethernet CRC algorithm and hardware) used to select N out of 64 to N out of 512 MAC addresses, leaving the exact address match to be done in software. Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message