Date: Sun, 22 Jul 2018 17:03:03 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 229957] [epair] MAC addresses all the same, no randomness Message-ID: <bug-229957-7501-bZnV6lzkKW@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229957-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-229957-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229957 --- Comment #1 from Eugene Grosbein <eugen@freebsd.org> --- Please describe how do you create your jail and, more important, how do you create epairs and move their parts to distinct VNET. The order is important, too. After https://svnweb.freebsd.org/base?view=3Drevision&revision=3D334094 the= re may be no randomness in assigning MAC address to epair if current hostid is not zero while epair is being created. Instead, the MAC address is determined by hostid and interface index. If you create single epair within some VNET and= it gets some interface index and MAC but you move it to another VNET then crea= te next epair, it may get same interface index (?) and same hostid, so same MAC address. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229957-7501-bZnV6lzkKW>