Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2018 19:54:13 +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-hNbSEjtPIh@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 #7 from O. Hartmann <ohartmann@walstatt.org> ---
Added your patch as suggested:

FreeBSD 12.0-CURRENT #254 r336614M: Sun Jul 22 21:33:36 CEST 2018 amd64

It seems all epairs created via jail.conf as described in this PR, now with
applied patch and without the additional "ether" option of ifconfig(8) have
sufficiently randomised MACs:

[...]

 epair3b: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metr=
ic 0
mtu 1500
        options=3D8<VLAN_MTU>
        ether 02:48:e2:b0:8c:0b
        groups: epair=20
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
epair52b: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metr=
ic 0
mtu 1500
        options=3D8<VLAN_MTU>
        ether 02:82:ad:29:54:0b
        groups: epair=20
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
epair10013b: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> m=
etric
0 mtu 1500
        options=3D8<VLAN_MTU>
        ether 02:21:ef:9a:64:0b
        groups: epair=20
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
epair17b: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metr=
ic 0
mtu 1500
        options=3D8<VLAN_MTU>
        ether 02:2e:ef:e7:ab:0b
        groups: epair=20
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
epair10015b: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> m=
etric
0 mtu 1500
        options=3D8<VLAN_MTU>
        ether 02:24:93:13:48:0b
        groups: epair=20
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active

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