Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2018 17:39:16 +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-qOOVmB4Nr8@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 #2 from Eugene Grosbein <eugen@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=3D$(sysctl -n kern.hostid)
sysctl kern.hostid=3D0
<insert your epair creation here>
sysctl kern.hostid=3Dsavedid

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

--=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-qOOVmB4Nr8>