From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 15 07:33:10 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 191681A0; Fri, 15 Mar 2013 07:33:10 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx1.freebsd.org (Postfix) with ESMTP id 82E867C4; Fri, 15 Mar 2013 07:33:09 +0000 (UTC) Received: by mail-vc0-f176.google.com with SMTP id ib11so1011944vcb.21 for ; Fri, 15 Mar 2013 00:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=3tT7O3YN/aOhZZNsL2FRqo1UFho6WPy+hHf57wA2mko=; b=aqRVPufMqMaIQEpPXa2I1rMcG2IJj6bcgF6yb+t0Bm5GYdiqvK9Fg0EctO7G8R/mS+ HTlNotTAX9avHsE/RNwgz1N7aVbR3Bzmh+DqGMfNH1PyYPaQztDGiH9/DD6sz05tWZYe vNav2qbMdf1NQOWJoNH/S1qof/+IiCMwRLC1DVWGOIg1pNA2Z0JFKqe5aRAhQftCB6Kd xGuBnzkTLPDGCpNgq+aNI70r9iTMqXyon2LlqE+apmFNSOfdlJ5uRb0uEdAZawL3jkAz nO0jGZM19kzsBmijn5IKvXULIttx43vtPZLO372s8pBEFJSBcB99tdjmes4N8WndQir5 /w6Q== MIME-Version: 1.0 X-Received: by 10.52.92.225 with SMTP id cp1mr4854739vdb.41.1363332783658; Fri, 15 Mar 2013 00:33:03 -0700 (PDT) Received: by 10.220.232.6 with HTTP; Fri, 15 Mar 2013 00:33:03 -0700 (PDT) Date: Fri, 15 Mar 2013 03:33:03 -0400 Message-ID: Subject: vlan on em0 cannot set MAC address. From: Zaphod Beeblebrox To: FreeBSD Net , FreeBSD Hackers Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 07:33:10 -0000 I have a FreeBSD-8.3 machine with an em0 interface in it. em0: port 0xd400-0xd43f mem 0xcffa0000-0xcffbffff,0xcff80000-0xcff9ffff irq 12 at device 17.0 on pci0 em0: [FILTER] em0: Ethernet address: 00:0e:0c:bc:6f:87 For various reasons, I have more than one DSL interface, and for some time I have run two PPPoE connections (using mpd4) and I run those PPPoE connections over VLANs on the em0 interface. There are two switches on the path and both switches are sufficiently competent to understand that two different VLANs include the same MAC address. I'm convinced that I used to be connected to two separate DSLAM devices and that after some line trouble, I was reassigned to two ports on a single device. This is because using the SAME MAC address on both VLANs stopped working. To fix this, I tried setting the MAC address on one of the VLANs. This does not work. em0 no longer transmits the packet. Expected behavior? Are there drivers that support different MAC addresses for different VLAN sub-devices?