Re: Duplicate MAC addresses in VNET epair interaces

2018-04-10 Thread Luca Pizzamiglio
Hi. I have the same problem. The arc4random() call was committed and reverted ( https://svnweb.freebsd.org/base/head/sys/net/if_epair.c?view=log) I have a patch, that I'm currently using, that solves the issue locally (available here https://pastebin.com/LpPEVJL7 ) To be more generic, I'd like t

Re: Duplicate MAC addresses in VNET epair interaces

2017-02-14 Thread Giulio Ferro
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

Re: Duplicate MAC addresses in VNET epair interaces

2017-02-14 Thread Bjoern A. Zeeb
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 broadcas

Re: Duplicate MAC addresses in VNET epair interaces

2017-02-14 Thread Giulio Ferro
On 06/02/2017 20:53, Bjoern A. Zeeb wrote: This is a potentially bad behavior, because if I want to bridge say epair1a on A with epair10a on B with a VPN or a physical connection giving 192.168.1.1 to epair1b and 192.168.1.2 to epair10b, I won't be able to make them talk to each other sinc

Re: Duplicate MAC addresses in VNET epair interaces

2017-02-06 Thread Bjoern A. Zeeb
On 6 Feb 2017, at 18:53, Giulio Ferro wrote: Hi all, Setup: 11.0-STABLE FreeBSD 11.0-STABLE #0 r312338: Tue Jan 17 12:29:38 UTC 2017 I've set up two freebsd hosts, each of which has a single VNET jail. On each host I've created 2 epair interfaces. Host A - epair0a, epair1a on the host

Duplicate MAC addresses in VNET epair interaces

2017-02-06 Thread Giulio Ferro
Hi all, Setup: 11.0-STABLE FreeBSD 11.0-STABLE #0 r312338: Tue Jan 17 12:29:38 UTC 2017 I've set up two freebsd hosts, each of which has a single VNET jail. On each host I've created 2 epair interfaces. Host A - epair0a, epair1a on the host - epair0b, epair1b on the jail Host B - epai