From owner-freebsd-current@freebsd.org Mon Aug 31 17:00:01 2015 Return-Path: Delivered-To: freebsd-current@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 85E589C790A for ; Mon, 31 Aug 2015 17:00:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (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 515C6B3E; Mon, 31 Aug 2015 17:00:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbuu8 with SMTP id uu8so51137920igb.0; Mon, 31 Aug 2015 10:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kCkteNw312HGmvQiwpi1Jsd/CoFA8tPSg8ScDmgo59c=; b=EF3Hy2/im+UC8G2QT0dIWcfv/q4B9OmtrHlgjQePEqEx8BjXoXj+qvXB3wRfuttgY9 Wtk1714a/uN+nWiLukHxkz79Jw4eVUmf9iA37F9lKs6oLqQ90Dq8npQ6WwFrwlOJawKx BhAVqz1IdH9RsxsAYFGLuCURAt8PDESShnvbLRxcdL+EHK0+32hd9vDy8KYDWBRBMLpY k22MIOEM4T/tiGGCswSnSvARiK5wwLno+LEv3d0nfftfuWNEhgpTEGEnFEKtf4d+jekc J7WFQNyUtInIs/IxzNgKlTSYiO8UQHe9jLytWYND272k2iMcLXDW7K2reB9RUfiA7imC gLYw== MIME-Version: 1.0 X-Received: by 10.50.122.36 with SMTP id lp4mr15974645igb.37.1441040400711; Mon, 31 Aug 2015 10:00:00 -0700 (PDT) Received: by 10.36.28.208 with HTTP; Mon, 31 Aug 2015 10:00:00 -0700 (PDT) In-Reply-To: References: Date: Mon, 31 Aug 2015 10:00:00 -0700 Message-ID: Subject: Re: Upgrading to r297291 LAGG(4) stops working. From: Adrian Chadd To: Daniel Eischen Cc: "Ranjan1018 ." <214748mv@gmail.com>, FreeBSD CURRENT Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 17:00:01 -0000 Hi, Because it works by magic, not works by intent. There's no guarantee that a STA device will let you re-program its MAC address. It also confuses people when they believe you can setup things like bridged VMs and they don't work across wifi but do across ethernet. -adrian On 31 August 2015 at 05:20, Daniel Eischen wrote: > On Mon, 31 Aug 2015, Ranjan1018 . wrote: > >> 2015-08-30 17:12 GMT+02:00 Adrian Chadd : >> >>> hi, >>> >>> don'tr set ath0 to the MAC of your ethernet device, set your ethernet >>> MAC to the MAC of your atheros device. >>> >>> (But I keep telling people, failover between ethernet/wifi isn't >>> supported by the wifi code...) > > > Why is it not? I've been using it this way for years. Switching > from wired to wireless would seem to be a very common setup. I think > the clone interface should be taught how to pass down unsupported > operations to its underlying device. > > My /etc/rc.conf: > > # For now, force iwn0 to the same MAC address as re0. > # This works around a bug where lagg is unable to set the > # MAC address of the underlying WLAN (cloned) interface. > ifconfig_iwn0="ether d4:be:d9:50:4b:5c" > wlans_iwn0=wlan0 > ifconfig_wlan0="ssid Scorpio WPA" > ifconfig_re0="up" > cloned_interfaces="lagg0" > ifconfig_lagg0="laggproto failover laggport re0 laggport wlan0" > ifconfig_lagg0_alias0="inet 10.0.0.7 netmask 0xffffff00" > > > -- > DE