Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 1998 00:52:12 +0200 (MEST)
From:      Hans Huebner <hans@artcom.de>
To:        Mike Smith <mike@smith.net.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: FreeBSD HA configuration / Ethernet address takeover 
Message-ID:  <Pine.BSF.3.96.980426003432.489A-100000@transrapid.artcom.de>
In-Reply-To: <199804251913.MAA00572@antipodes.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980426003432.489A-100000>