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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 22 17:39:18 UTC 2018


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

--- Comment #2 from Eugene Grosbein <eugen at freebsd.org> ---
Assuming you create epairs using "host" environment (not within some jail),
please temporary wrap your epair creation procedure to verify if mentioned
change is really a root of the problem:

savedid=$(sysctl -n kern.hostid)
sysctl kern.hostid=0
<insert your epair creation here>
sysctl kern.hostid=savedid

This way, epair(4) should add some randomness to created MAC due to zero
hostid. Please report if this changes results.

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


More information about the freebsd-net mailing list