Re: HEADSUP: 802.11 vap support merged

From: Brooks Davis <brooks_at_freebsd.org>
Date: Sun, 27 Apr 2008 10:02:42 -0500
On Sat, Apr 26, 2008 at 03:03:09PM +0900, Randy Bush wrote:
> so, let me make sure i have this correctly.
> 
> i currently have
> 
> vap_create_wlan0="wlanmode ap"
> vaps_ath0="wlan0"
> cloned_interfaces=bridge0
> ifconfig_bridge0="192.168.0.1 addm vr1 addm vr2 addm vr3 addm wlan0 up"
> ipv6_ifconfig_bridge0="inet6 2001:240:6a8::1/64"
> ifconfig_vr1=up
> ifconfig_vr2=up
> ifconfig_vr3=up
> ifconfig_wlan0="channel 11 ssid rg-crypt wep wepkey thirteenchars
> weptxkey 1 mediaopt hostap up"

Since I've just changed things again, I'll note that when you update to
a new world this config will still work (for the next two weeks), but
I'm moving to a different naming convention.  Specifically these lines:

vap_create_wlan0="wlanmode ap"
vaps_ath0="wlan0"

will become:

wlans_ath0="wlan0"
create_args_wlan0="wlanmode ap"

The goal is to use the more obvious wlans name for the list and a mroe generic
name for the arguments to create because we're discussing adding similar
support for vlans and I've added support for create_args_<if> to interfaces
created via cloned_interfaces.

-- Brooks

> to add a second ssid on the same device and same lan, i would change this to
> 
> vap_create_wlan0="wlanmode ap"
> vap_create_wlan1="wlanmode ap"
> vaps_ath0="wlan0"
> vaps_ath0="wlan1"
> cloned_interfaces=bridge0
> ifconfig_bridge0="192.168.0.1 addm vr1 addm vr2 addm vr3 addm wlan0
> wlan1 up"
> ipv6_ifconfig_bridge0="inet6 2001:240:6a8::1/64"
> ifconfig_vr1=up
> ifconfig_vr2=up
> ifconfig_vr3=up
> ifconfig_wlan0="channel 11 ssid rg-crypt wep wepkey thirteenchars
> weptxkey 1 mediaopt hostap up"
> ifconfig_wlan1="channel 11 ssid rg-open mediaopt hostap up"
> 
> and next month, i can get really kinky and run the two ssids into
> separate 1q vlans.  yes, i am serious, see the MENOG 3 network
> presentation <http://rip.psg.com/~randy/080417.menog-v6net.pdf>.
> 
> randy
> 

Received on Sun Apr 27 2008 - 13:02:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:30 UTC