From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 3 06:57:22 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 391F317E for ; Thu, 3 Apr 2014 06:57:22 +0000 (UTC) Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E75A2118 for ; Thu, 3 Apr 2014 06:57:21 +0000 (UTC) Received: by mail-qa0-f45.google.com with SMTP id hw13so1218701qab.4 for ; Wed, 02 Apr 2014 23:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=cvVM49awU1lfXvmcQwaRp1TWfYROnl0TYiDqYQ/hs9o=; b=GF8z4rIYMWN1UIPvQ5MKmDenSSjJCN5sWfx0MHs7evmI8JB8m2qoz16MQL3hR9Dkx/ T8120hm69lLKplAd0+vDDtfFJhVEDXkqtVm8bvvSiOm2LRsHViFSAjOadEFjsgAGIE1i dAErAh31PiUEqTsg3Mnf/UORrkFCgpncxOGdrttO7cJtglKHHdzZEbxBYAtyGNASjV3k 0UAQNP4FJPA3zZoyjRl2BBp81N6uZ1Pt9+Cu+/ALHWq6AP6ZvdHGxGn6iZlc5KpTWWKQ lsve+6Vr/NuDsYJAmNjua4h9mPO3QeZor7XwQdLaGEj5I5BceCnwSNhdjP+udhRtJlMp OQnQ== MIME-Version: 1.0 X-Received: by 10.140.48.199 with SMTP id o65mr5379707qga.16.1396508241068; Wed, 02 Apr 2014 23:57:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.50.143 with HTTP; Wed, 2 Apr 2014 23:57:21 -0700 (PDT) In-Reply-To: References: <533BD60D.9050701@weboutsourcing.cz> <533CD386.80906@weboutsourcing.cz> Date: Wed, 2 Apr 2014 23:57:21 -0700 X-Google-Sender-Auth: P_D0F-6gtnMdYbkcfcbQXjr0tcQ Message-ID: Subject: Re: WDS with a FreeBSD access point From: Adrian Chadd To: David Chisnall Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 06:57:22 -0000 Hi, Are both freebsd APs? It looks reasonably straightfoward. I really should just give this a go at home on an extender AP and test the hell out of it. So, for wifi traffic, you absolutely want the wifi VAPs in a bridge group as the traffic between stations and APs is all layer-2. There's no routing involved. If you want to route between the bridge0 interface and the rest of the system then please do so but do put the STA and AP VAPs into the same bridge group. (Those scripts do exactly that.) Thanks, and good luck! -a On 2 April 2014 23:39, David Chisnall wrote: > On 3 Apr 2014, at 04:20, Ondra Knezour wrote: > >> There are some scripts in /usr/src/tools/tools/net80211/scripts - relate= d are setup.wds setup.wdsmain and setup.wdsrelay. Also following message ca= n bring in little more info http://lists.freebsd.org/pipermail/freebsd-net/= 2009-March/021559.html > > I found setup.wdsmain, which looks a bit like what I need. It creates an= extra bridging interface (not sure why I need this - some docs would be ni= ce - or even if I need it, as I'm using pf to move traffic between my wired= and wireless networks and I definitely don't want to do simple bridging fr= om the WAN to the WLAN), but then runs /usr/local/bin/wlanwds - I've no ide= a which port this comes from... > > David >