From owner-freebsd-hackers Sat Apr 25 15:52:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA06591 for freebsd-hackers-outgoing; Sat, 25 Apr 1998 15:52:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.artcom.de ([192.76.129.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA06570 for ; Sat, 25 Apr 1998 15:52:42 -0700 (PDT) (envelope-from hans@artcom.de) Received: from transrapid.artcom.de by mail.artcom.de with smtp id m0yTDno-00000qC; Sun, 26 Apr 1998 00:52:12 +0200 (MEST) Date: Sun, 26 Apr 1998 00:52:12 +0200 (MEST) From: Hans Huebner To: Mike Smith cc: freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD HA configuration / Ethernet address takeover In-Reply-To: <199804251913.MAA00572@antipodes.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello again, On Sat, 25 Apr 1998, Mike Smith wrote: > In your case, if you know the adapter(s) you're using, you could add > code to allow the change to be made. This would involve implementing > the SIOCGIFHWADDR and SIOCSIFHWADDR (get/set hardware address) socket > ioctls, which would be relatively simple. I looked at the DE21040 documentation and found out that you're right. I also found out that this particular Ethernet chip allows for multiple MAC addresses to be used by one Ethernet interface. This raises the question whether I should ignore that functionality and use Linux' understanding of SIOC[GS]IFHWADDR, which allows for one MAC address per Ethernet interface. The implementation would be almost trivial, as Mike suggested. A clean interface to an ethernet interface with multiple MAC addresses would propably require changes to the system configuration so that the physical ethernet interface becomes a 'controller' and the logical ethernet interface becomes a 'device' on that controller. This sounds like being a bit hefty to me, given the fact that most people don't seem to consider changing their MAC addresses worthwile at all ;) Thanks for your input so far! -Hans To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message