misc/176671: MAC address for epair device not unique

Shawn Webb lattera at gmail.com
Tue Mar 5 22:20:00 UTC 2013


>Number:         176671
>Category:       misc
>Synopsis:       MAC address for epair device not unique
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 05 22:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Shawn Webb
>Release:        10-CURRENT
>Organization:
>Environment:
FreeBSD shawn-vm-host 10.0-CURRENT FreeBSD 10.0-CURRENT #17 r247301+3c18d96: Tue Feb 26 12:00:52 EST 2013     shawn at shawn-vm-host:/usr/obj/usr/src/sys/SEC  amd64
>Description:
The MAC address for two epair devices (VIMAGE kernel) are not unique, causing issues with grabbing DHCP addresses and assigning IPv6 addresses. Here's what ifconfig shows on two of my  jails:

[root at shawn-vm-host ~]# jexec dns ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair3b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:00:70:00:0b:0b
	inet6 2001:470:8142:2::5 prefixlen 64 
	inet6 fe80::70ff:fe00:b0b%epair3b prefixlen 64 duplicated scopeid 0x2 
	inet 10.7.1.0 netmask 0xfffffe00 broadcast 10.7.1.255 
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
[root at shawn-vm-host ~]# jexec git ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair4b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 02:00:70:00:0b:0b
	inet6 2001:470:8142:2::6 prefixlen 64 
	inet6 fe80::70ff:fe00:b0b%epair4b prefixlen 64 scopeid 0x2 
	inet 10.7.1.0 netmask 0xfffffe00 broadcast 10.7.1.255 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
	status: active
>How-To-Repeat:
Create epair3 and epair4 devices. Notice that both epair3b and epair4b have the same MAC address.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list