From owner-freebsd-questions@FreeBSD.ORG Sat May 8 20:49:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A68731065670 for ; Sat, 8 May 2010 20:49:25 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 6322B8FC12 for ; Sat, 8 May 2010 20:49:24 +0000 (UTC) Received: from mail.gelita.se (localhost.gelita.se [127.0.0.1]) by mail.gelita.se (Postfix) with ESMTP id 0C42E10E79E; Sat, 8 May 2010 22:52:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at troback.com Received: from mail.gelita.se ([127.0.0.1]) by mail.gelita.se (mail.gelita.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LABDTJURG1kz; Sat, 8 May 2010 22:52:03 +0200 (CEST) Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mail.gelita.se (Postfix) with ESMTP id B131E10E50A; Sat, 8 May 2010 22:52:03 +0200 (CEST) Message-ID: <4BE5CE4D.104@eskk.nu> Date: Sat, 08 May 2010 22:49:17 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: Demelier David References: <20100507195909.GA1986@Abricot.malikania.fr> In-Reply-To: <20100507195909.GA1986@Abricot.malikania.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Switching wired / wireless using lagg(4) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2010 20:49:25 -0000 On 2010-05-07 21:59, Demelier David wrote: > Hi freebsd-questions@, > > I tried this > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggregation.html > > To manage the wired / wireless devices on my laptop, so I added : > > hostname="Melon.malikania.fr" > wlans_iwn0="wlan0" > cloned_interfaces="lagg0" > ifconfig_msk0="UP" > ifconfig_iwn0="ether 18:a9:05:87:38:0a" > ifconfig_wlan0="WPA" > ifconfig_lagg0="laggproto failover laggport msk0 laggport wlan0 DHCP" > background_dhclient="YES" > > in my /etc/rc.conf, it works but I can't understand why we must set the iwn0 > MAC address to the msk0 one? and is it possible to remove or to put in > background the "Waiting 30s for the default ..." it's sometime too long. > > For the moment it just works and it's very powerful, I can switch the wired / > wireless without any commands ;-). > > Cheers, > Hello David. I tried out this as well. I did not observe that it should be the MAC address of the wired interface at first, so I put the wifi MAC in rc.conf and got a page fault 12 when I tried to boot with the lagg configuration. I've now changed the MAC but I stil get the page fault :-( I'm not sure what you want to achieve with the background_dhclient. I use ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 SYNCDHCP SYNCDHCP waits for the dhcp offer so no network services are started before the NIC gets an address. /Leslie