From owner-freebsd-net@freebsd.org Mon Jul 3 11:45:47 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C6F39E4BF0 for ; Mon, 3 Jul 2017 11:45:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE50B68ECB for ; Mon, 3 Jul 2017 11:45:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v63BjkqQ045781 for ; Mon, 3 Jul 2017 11:45:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 176671] [epair] MAC address for epair device not unique Date: Mon, 03 Jul 2017 11:45:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olivier@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2017 11:45:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176671 --- Comment #5 from Olivier Cochard --- Oops, it was reverted later: https://svnweb.freebsd.org/base?view=3Drevision&revision=3D314480 But I've generated a bunch of epair interface (on -head, 11-stable), and di= dn'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 --=20 You are receiving this mail because: You are the assignee for the bug.=