Date: Tue, 14 Feb 2017 14:13:53 +0100 From: Giulio Ferro <auryn@zirakzigil.org> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Duplicate MAC addresses in VNET epair interaces Message-ID: <afbfd5b6-0cf6-5ad5-107e-752bd77b15f4@zirakzigil.org> In-Reply-To: <88F0318C-ADB5-4EC3-9308-613ED7F2DAA7@lists.zabbadoz.net> References: <472069af-0f9d-d830-064b-2d984a5774ae@zirakzigil.org> <8B1A6A6C-4280-4B96-9D60-FC9E7EEE2222@lists.zabbadoz.net> <afe0bb6d-135c-0ce9-d344-3d83144ff56e@zirakzigil.org> <88F0318C-ADB5-4EC3-9308-613ED7F2DAA7@lists.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 14/02/2017 13:51, Bjoern A. Zeeb wrote: > 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? > No, it's just me being stupid and careless... ;) Ok, it works great both in the jail and in the host. I've put the ether address in the /etc/start_if.epairxx files, as I think it should be supposed to be. Thanks a lot for your support! Giulio. > >> >> 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 settings. > > And you probably want to change the ether addresses on both ends anyway. > > /bz > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afbfd5b6-0cf6-5ad5-107e-752bd77b15f4>