Duplicate MAC addresses in VNET epair interaces

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Tue Feb 14 12:51:13 UTC 2017

On 14 Feb 2017, at 9:26, Giulio Ferro wrote:

> Hi Bjoern, thanks for your reply...
> the idea is sound, but unfortunately setting the mac address of the 
> epair interface
> inside the jail doesn't work:
> ifconfig epair0b ether ether 02:ff:e0:00:00:0b
> ifconfig: can't set link-level netmask or broadcast

Two “ether”s there but I assume that’s a copy and paste issue?

> I've tried manually, in the rc.conf file 
> (ifconfig_epair0b="ether..."), and in the /etc/start_if.epair0b file,
> but neither of these three ways actually work to set the mac address 
> of the epair interface within the jail.
> On the other hand, no problem setting the mac of epair in the host...

And that’s what you should do.  Despite epairs being virtual 
interfaces, think of them as hardware that you are only “loaning” to 
the vnet-jail but don’t want the jail to mess with all the hw 

And you probably want to change the ether addresses on both ends anyway.


More information about the freebsd-net mailing list