[Bug 229957] [epair] MAC addresses all the same, no randomness

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 22 17:03:05 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229957

--- Comment #1 from Eugene Grosbein <eugen at 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=revision&revision=334094 there 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 create
next epair, it may get same interface index (?) and same hostid, so same MAC
address.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list