Subject: Re: Ethernet [MAC] addresses
To: None <itojun@iijlab.net>
From: Mark White <mark.white@st-edmund-hall.oxford.ac.uk>
List: port-i386
Date: 02/22/2001 15:49:18
itojun@iijlab.net writes:
> >> AFAIK, you can't... MAC addresses are uniques numbers assigned to NICs at
> >> time of production by the manufacturer. 
> >> 
> >> I can't see the point of wanting to change this, but you must have
> >> your reasons... perhaps you can enlighten me on this one...
> >
> >Several "high-availability" systems use MAC address modification as part
> >of their low level mechanism. It would be nice to have it available on
> >NetBSD too.
> 
> 	it seems to me it can best addressed by virtual interface that binds
> 	multiple ethernet interfaces into one (like vlan* interfaces), however,
> 	it still does not solve some of the above complications.

Apparently, there's an equivalent in FreeBSD -- from the
ifconfig manpage, theres an "lladdr" parameter to set:

PARAMETERS
[...]
   lladdr addr
             Set the link-level address on an interface. This can be used to
             e.g. set a new MAC address on an ethernet interface, though the
             mechanism used is not ethernet-specific. The address addr is
             specified as a series of colon-separated hex digits.  If the in­
             terface is already up when this option is used, it will be
             briefly brought down and then brought back up again in order to
             insure that the receive filter in the underlying ethernet hard­
             ware is properly reprogrammed.

Mark <><