From owner-freebsd-net@FreeBSD.ORG Fri Mar 29 15:41:15 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E0A36A5C for ; Fri, 29 Mar 2013 15:41:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by mx1.freebsd.org (Postfix) with ESMTP id 77D25BDF for ; Fri, 29 Mar 2013 15:41:15 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hm14so4264197wib.15 for ; Fri, 29 Mar 2013 08:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=u7nmjhgcSXy2Rx1uvG93QQQ4s1uVYMs2q5d5EYwX9o4=; b=LBlUXlN4Au4Rgh+/bU55KFPDMJ88ADdXP0v0N1IJU4+f2fJHo5prNHQOe9WFHX+qX2 WrWnZf39B7OjLGfoT7jQUKWlsLm3XwgJJcooVb9E6dng14v2BVGw+DMn5vMRIsQ/6Vzx 6qXrLCC82uzPZ5y32roMYtl/M8hEeer/RXQa8lUusQX1BJ8UFLPWsejTEBk3EHOuSFR2 qzylNz18/AYfdV2xyUgdELh4xpXivG9J0FbWlE3oUEFSzVMzRuFGVCvxjaBp0pYXXWK7 +tl+pGKdP48cqZ7CkQoMtWDJtIEkcubVVlNR4Psm2c3iWqcACmEo53OaVum0x01WTu6s zLXA== MIME-Version: 1.0 X-Received: by 10.180.79.6 with SMTP id f6mr22781313wix.26.1364571674571; Fri, 29 Mar 2013 08:41:14 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Fri, 29 Mar 2013 08:41:14 -0700 (PDT) In-Reply-To: References: <1364561838.74177.YahooMailClassic@web121605.mail.ne1.yahoo.com> <51559F9B.3060608@semihalf.com> Date: Fri, 29 Mar 2013 08:41:14 -0700 X-Google-Sender-Auth: tK4jYPCBfxrqkMf3N3wp_bwKJ7g Message-ID: Subject: Re: vlan with modified MAC fails to communicate From: Adrian Chadd To: Ryan Stone Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Barney Cordoba , Pablo Ribalta Lorenzo , freebsd-net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 15:41:15 -0000 On 29 March 2013 07:37, Ryan Stone wrote: > From a quick glance at if_vlan.c, it doesn't do anything intelligent when > you change its MAC address. I also don't know of any ethernet driver in > FreeBSD that allows you to use multiple unicast MACs at once (I have some > patches for ixgbe, but they aren't ready for prime-time). If you really > want to have a different MAC on your vlan interface from its parent you > will have to put the parent into promiscuous mode. > > The ath(4) NICs do - for multi-VAP hostap (and soon, multi-STA) support. But the NICs have a BSS Mask register which lets the NIC pass through packets that match a filter, rather than having to put it into promiscuous mode. Adrian