Multiple MAC on a single (physical) interface
frederic.perrin at resel.fr
Wed Feb 4 15:20:14 PST 2009
Le Mercredi 4 à 23:26, Glen Barber a écrit :
> A bit of searching for "freebsd rc.conf ifconfig mac address" brought
> me to this, in a previous mailing list thread. Not sure if this works
> with 'alias'ed interfaces, but worth a shot, I suppose.
> ifconfig_em0="inet 22.214.171.124 netmask 255.0.0.0 ether aa:bb:cc:dd:ee:ff"
Actually, this exact syntax won't work because ifconfig can't change
both the inet and the ethernet address in one shot (see  or ), the
workaround being :
And, however you take it, it seems that you can't have two MAC addresses
on one interface, yet this is what I ultimately want. with the above
exemple, the original MAC address of em0 will be overwritten by the new
 <http://www.freebsd.org/cgi/query-pr.cgi?pr=41647&cat=bin> for the
"bug" that appeared in 4.6, along with quite a lot of details, and
 <http://www.freebsd.org/cgi/query-pr.cgi?pr=123633&cat=bin> for an ack
to the fact that it is still in 7-stable.
More information about the freebsd-questions