[Bug 176671] [epair] MAC address for epair device not unique

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 3 11:45:47 UTC 2017


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

--- Comment #5 from Olivier Cochard <olivier at freebsd.org> ---
Oops, it was reverted later:

https://svnweb.freebsd.org/base?view=revision&revision=314480

But I've generated a bunch of epair interface (on -head, 11-stable), and didn't
reach to have MAC conflict. if_index is used for the MAC generation, and it
can't have same if_index.

...
epair253a: Ethernet address: 02:ff:b0:02:05:0a
epair253b: Ethernet address: 02:ff:00:02:06:0b
epair254a: Ethernet address: 02:ff:b0:02:07:0a
epair254b: Ethernet address: 02:ff:00:02:08:0b
epair255a: Ethernet address: 02:ff:b0:02:09:0a
epair255b: Ethernet address: 02:ff:00:02:0a:0b
epair256a: Ethernet address: 02:ff:b0:02:0b:0a
epair256b: Ethernet address: 02:ff:00:02:0c:0b
epair257a: Ethernet address: 02:ff:b0:02:0d:0a
epair257b: Ethernet address: 02:ff:00:02:0e:0b
epair258a: Ethernet address: 02:ff:b0:02:0f:0a
...
epair594a: Ethernet address: 02:ff:b0:04:af:0a
epair594b: Ethernet address: 02:00:00:04:b0:0b
epair595a: Ethernet address: 02:ff:b0:04:b1:0a
epair595b: Ethernet address: 02:ff:00:04:b2:0b
epair596a: Ethernet address: 02:ff:b0:04:b3:0a
epair596b: Ethernet address: 02:00:00:04:b4:0b
epair597a: Ethernet address: 02:ff:b0:04:b5:0a
epair597b: Ethernet address: 02:ff:00:04:b6:0b
epair598a: Ethernet address: 02:ff:b0:04:b7:0a
epair598b: Ethernet address: 02:ff:00:04:b8:0b
epair599a: Ethernet address: 02:ff:b0:04:b9:0a
epair599b: Ethernet address: 02:ff:00:04:ba:0b
...
epair896a: Ethernet address: 02:ff:b0:07:0b:0a
epair896b: Ethernet address: 02:ff:00:07:0c:0b
epair897a: Ethernet address: 02:ff:b0:07:0d:0a
epair897b: Ethernet address: 02:ff:00:07:0e:0b
epair898a: Ethernet address: 02:ff:b0:07:0f:0a
epair898b: Ethernet address: 02:ff:00:07:10:0b
epair899a: Ethernet address: 02:ff:b0:07:11:0a
epair899b: Ethernet address: 02:ff:00:07:12:0b

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


More information about the freebsd-net mailing list