From owner-freebsd-net@FreeBSD.ORG Mon Apr 9 08:51:19 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A63EE16A400 for ; Mon, 9 Apr 2007 08:51:19 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id 4563D13C45B for ; Mon, 9 Apr 2007 08:51:19 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 3E2F11CC58; Mon, 9 Apr 2007 20:51:18 +1200 (NZST) Date: Mon, 9 Apr 2007 20:51:18 +1200 From: Andrew Thompson To: Niki Denev Message-ID: <20070409085118.GF64415@heff.fud.org.nz> References: <20070329235520.GD97061@heff.fud.org.nz> <460E6536.7060805@totalterror.net> <20070401095618.GA24408@heff.fud.org.nz> <4611F645.5000305@totalterror.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4611F645.5000305@totalterror.net> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-net@freebsd.org Subject: Re: CFT: new trunk(4) 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: Mon, 09 Apr 2007 08:51:19 -0000 On Tue, Apr 03, 2007 at 09:37:57AM +0300, Niki Denev wrote: > >> Andrew Thompson wrote: > >>> Here is a patch to add OpenBSD's trunk(4) interface, and also includes > >>> LACP support which came from agr(4) on NetBSD. Im interested in anyone > >>> who wants to test this and in particular lacp mode if you have a switch > >>> that supports it. > >>> > > I tried today to do the wireless/wired roaming, almost as given > in the man page, with the exception that my wireless interface (ath), > uses WPA, and i'm trying to run dhclient on the trunk interface. > However it does not work as expected, and i'm not sure why... > The problem is that if ath0 is a member of the trunk0 interface > it always deassociates a few seconds after associating. > If i remove it from the trunk group it associates perfectly, and > keeps the link up. The updated patch here partially fixes the problem, the EAP packets will be passed now. http://people.freebsd.org/~thompsa/if_trunk-20070409.diff The remaining issue is that when the wireless interface is added to the trunk it will get a down/up as part of changing the MAC address. This causes wpa_supplicant to close and it doesnt get relaunched. Manually starting wpa_supplicant works but I need to find a way around this. cheers, Andrew