From owner-freebsd-net@freebsd.org Sun May 6 21:24:56 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E489CFC8039 for ; Sun, 6 May 2018 21:24:55 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6436A818E6 for ; Sun, 6 May 2018 21:24:54 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: by mail-oi0-f47.google.com with SMTP id k17-v6so23465701oih.5 for ; Sun, 06 May 2018 14:24:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rVXDVpgbStUN5KQz4do68leKdUBrDH6w+JHFhMm7sMc=; b=ZaP94V45sd1PRLOkmPDR6p5ik06h+A/LuvWA2B5B0lktW+yLw8Uk5EpRojOeF2Lwze g/441l1+3B87zVFnmT85c679GrdsS4ZPKcm375It9/J+PHaJzNoGNZXlrCl3a/ENApW3 ewggUyI/Uqr2yg2xxCTsCO2hJrmYbWoiq9/6qi8QFEhbSIk8r6yeeLZMeoLEc6yIh6ti EnkgExX6MyHMiNwyu3/BT/yqD2Z1ovZtW5TKlIn/l3PBRpJ1qfPDbPACC3HFZEhpAgqP apR8wevepUNvlmeXyklL/pNF4yv8FAtCYVPjaaqDcRhRoohTvj8mm84WZfYeUIfdgF8i nL5A== X-Gm-Message-State: ALQs6tC9fqk0RKuvMCVpAtcd67qJsga/BjOyNjj56mjzwfgpwJKHAO2Q ka60IR0J+oInWL+jkrzB1AdHhYqy X-Google-Smtp-Source: AB8JxZpxBbIMzxFjw6j0946pFAArJW0Z/skHgAKWvspVMUNpFLncI8xAGbqHjDGQO6VoNSlBAzOXKA== X-Received: by 2002:aca:5086:: with SMTP id e128-v6mr23354597oib.315.1525641887884; Sun, 06 May 2018 14:24:47 -0700 (PDT) Received: from mail-ot0-f173.google.com (mail-ot0-f173.google.com. [74.125.82.173]) by smtp.gmail.com with ESMTPSA id l2-v6sm14149842otd.38.2018.05.06.14.24.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 May 2018 14:24:47 -0700 (PDT) Received: by mail-ot0-f173.google.com with SMTP id g7-v6so29907801otj.11 for ; Sun, 06 May 2018 14:24:47 -0700 (PDT) X-Received: by 2002:a9d:1198:: with SMTP id v24-v6mr23682828otf.254.1525641887371; Sun, 06 May 2018 14:24:47 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:22ca:0:0:0:0:0 with HTTP; Sun, 6 May 2018 14:24:26 -0700 (PDT) From: Luca Pizzamiglio Date: Sun, 6 May 2018 23:24:26 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Duplicate MAC addresses using if_epair(4) To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2018 21:24:56 -0000 Hi all, some times ago I met this problem, related to possible MAC address collision using if_epair(4). I'm not the first one encountering this issue and 2 PR [1][2] are already filled. There is also a differential review in phabricator [3] that unfortunately shows no progress. Following the approach that hrs@ suggests in [2], I've developed a patch, submitted in [4], and I hope it will be accepted and integrated soon. This patch should also solve, or at least mitigate, collisions that olivier@ noted in [1] Do you know who is the maintainer of this code? I don't know who can review and possibly commit [4]. thanks in advance Best regards, pizzamig [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=176671 [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184149 [3] https://reviews.freebsd.org/D1858 [4] https://reviews.freebsd.org/D15329