From owner-freebsd-net@FreeBSD.ORG Sun Sep 2 22:26:05 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 105481065675; Sun, 2 Sep 2012 22:26:05 +0000 (UTC) (envelope-from sergv326@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 52D9A8FC12; Sun, 2 Sep 2012 22:26:04 +0000 (UTC) Received: by lbbgg13 with SMTP id gg13so2656618lbb.13 for ; Sun, 02 Sep 2012 15:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:in-reply-to:mime-version:content-type :content-transfer-encoding:subject:from:date:to:cc:message-id; bh=87UGpEyq22Wl42oHKNWhHJ49bJlOaIBzPnq5MhXt+3c=; b=jQQO3MlVnM0oRfSlizu+GPClg+Do54ViLfyeevCuwossxg+BBFheDL59GEe89805ke IQdZyykHCajafvofPbfWjpvbhLAkUAq57MVCv+jy4dQeePeETIeNmBGIafYKww7g/EgC +Z382SsxIR8tOUxxJCNKq4mfIzaguvdpu7gRznq5Li+TIsuc8Z258wNz000QRzfvtd+B 3upoX/2lTo5TaNqnvBVtj333P6EG4y2SQTTCdy3SF+1+9ECCHzxGiHR1vLzHnF3ekQ22 OvFzWBS3ng3/DhfDn8EKyMgAX48KvT8cn0STJKMIXBE+BkN4XqB9Y1Uc4hqg9i/U6oIH niGQ== Received: by 10.152.114.3 with SMTP id jc3mr12304204lab.11.1346624763191; Sun, 02 Sep 2012 15:26:03 -0700 (PDT) Received: from android-57e53d9003b75926.lan ([2.92.63.115]) by mx.google.com with ESMTPS id lx11sm11662909lab.4.2012.09.02.15.26.02 (version=SSLv3 cipher=OTHER); Sun, 02 Sep 2012 15:26:02 -0700 (PDT) References: <20120830215147.GA2383@-> <20120831104532.GA1758@-> <20120902212952.GB2654@aspire.rulingia.com> User-Agent: =?UTF-8?Q?K-9_Mail_=D0=B4=D0=BB=D1=8F_Android?= In-Reply-To: <20120902212952.GB2654@aspire.rulingia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Serg Date: Mon, 03 Sep 2012 02:25:57 +0400 To: Peter Jeremy ,Adrian Chadd Message-ID: Cc: kaltheat@googlemail.com, net@freebsd.org Subject: Re: lagg failover issue X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 02 Sep 2012 22:26:05 -0000 Peter Jeremy написал(а): >Adrian, > >On 2012-Aug-31 04:29:53 -0700, Adrian Chadd wrote: >>You can't override set the outbound MAC address of a wireless station. >>It associates with the MAC address of the card/vap/device. The AP >>_will_ store that MAC address in its node table. > >Are you saying I can't portably do the following: > # ifconfig ath0 ether 00:11:22:33:44:55 > # ifconfig create wlan0 wlandev ath0 ssid my_net up > >My understanding was that the first line changes the MAC associated >with ath0. The second line then creates a wlan device and allows ath0 >to associate with an AP with ssid "my_net" - and this association will >be performed using the updated MAC address. Which part of this >doesn't work? > >>What you really want is for the same IP to exist but only both >>interfaces and have the source interface/MAC seamlessly change. > >Actually, lagg(4) requires all associated interfaces to have the same >MAC address - it doesn't change them during operation. Normally, it >updates the MAC address when it does the "addm" but this doesn't work >for "addm wlan0" (presumably for the reasons you describe) but >manually changing the MAC address of the WiFi NIC before creating the >wlan device avoids this. > >-- >Peter Jeremy You can change lagg MAC address to match your wlan MAC address but it changes nothing...