From owner-freebsd-net@FreeBSD.ORG Fri Mar 27 22:22:39 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54D45106566C for ; Fri, 27 Mar 2009 22:22:39 +0000 (UTC) (envelope-from dcornejo@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id 2301E8FC1F for ; Fri, 27 Mar 2009 22:22:38 +0000 (UTC) (envelope-from dcornejo@gmail.com) Received: by rv-out-0506.google.com with SMTP id g37so214800rvb.3 for ; Fri, 27 Mar 2009 15:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JT6Y+2rT4ptbNqZnd1MvNKFiSuvTtY+cf7jqtKuAkzg=; b=RnI87aqAqQyHsv68IgaIY/4HZScBu64bYeTMQ44nfCHM/gr9Y2RyZnN2MjTmwGOrwZ s5rLOaDKzZ7tE6g5ZBD2X/xpO60quFrwhy7xuttVjZD4J8LUucM5h+qPw01bYQJj8w3x wsX6vgzHC1D97uAm+/7I3Cb2tZx7232jbnM44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OfJI/gfjz1qYlkTU8JT/KY/pWK7Xg8IoVlgvhoGSvNSizElaudfaFSx2XGhSx2xyYZ DaOjePHdTIQatfd0IBhPfpSbKWqslUj3OWKknzbYRriJ1k1mIRLXhh8LWaZMWVzlL24M rIssLlK8Yycmoy+f6u8i0Jy4sMXrBm9VjvdEg= MIME-Version: 1.0 Received: by 10.141.4.20 with SMTP id g20mr1305175rvi.173.1238192558829; Fri, 27 Mar 2009 15:22:38 -0700 (PDT) In-Reply-To: <49CAF716.6080105@freebsd.org> References: <6b8e8f4f0903251921h285c65c6i41444d577631158d@mail.gmail.com> <49CAF716.6080105@freebsd.org> Date: Fri, 27 Mar 2009 12:22:38 -1000 Message-ID: <6b8e8f4f0903271522l69751d4eu92f4c87e56387837@mail.gmail.com> From: David Cornejo To: Sam Leffler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: wds how-to? 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: Fri, 27 Mar 2009 22:22:39 -0000 That brief description was a big help in itself, thank you. One question: should the BSSID in the legacy mode be the same as the MAC address of the main WDS node? Or can it be a random number? thanks, dave c On Wed, Mar 25, 2009 at 5:31 PM, Sam Leffler wrote: > David Cornejo wrote: >> >> Aloha, >> >> I'm trying to get WDS running - I am working my way through the stuff >> in /usr/src/tools/tools/net80211/scripts, but it really only gives >> examples and doesn't explain the why of it - is there a more verbose >> how to somewhere that would help me understand this? >> > > I've written nothing. =A0You say the "why" is missing but you don't ask a= ny > questions. > > There are 2 flavors of wds, legacy and dynamic. =A0The legacy stuff is tr= ivial > to setup; > > ifconfig wlan create wlandev ath0 wlanmode wds wlanbssid ... wdslegacy > > The bssid is the peer's mac address. =A0This is just a fixed 4-address co= nduit > for frames. =A0There must be an ap vap already created. =A0You want to pl= umb the > vap into a bridge or assign it an ip address and route (not sure about > routing; I always use it bridged). > > Dynamic wds setup depends on whether you're on the ap side or the sta sid= e; > the scripts are the best examples. =A0The idea is you have a sta-ap > association that carries 4-address traffic. =A0Because there's a full-blo= wn > association you get discovery, roaming, and security for free. =A0This is= what > you'll find in Apple's ap products though they've done a bunch of work to > make it more production-quality. > > Note that wds is implemented above the drivers (modulo a bit of glue code= ). > =A0ath is just one driver that supports wds, ral is another. > > =A0 Sam > >