WDS (Wireless Distribution System)

From wiliGear wiki

Jump to: navigation, search

NOTE: This document describes WDS configuration for Wili-S 4.0, Wili-S 5.0 and later versions, using Atheros 5.x and/or Madwifi-ng driver. For Wili-S 3.5x (using old madwifi driver) use Wili-S 3.5x WDS configuration.


Contents

Description

WDS (Wireless Distribution System) is a Wireless mode that enables wireless bridging in which WDS peers can communicate with each other without association, and/or wireless repeating in which APs and/or clients communicate both with each other and with wireless stations. WDS peers are used to bridge two or more wireless service sets (networks).


Network topology

Image:Wds.gif

Configuration samples

AP_(Master).cfg

###########################################
# Configuration file created by WILIBOX UAB
# HW: XScale family
# Wireless Distribution System
# Updated 2007-06-12
###########################################
 
# Section: USERS
## Setup default system user
users.status=enabled
users.1.status=enabled
users.1.name=admin
users.1.password=oHSl3yqR.t1uQ
 
# Section: SYSLOG
syslog.status=enabled
syslog.file=/var/log/messages
syslog.file.umask=077
syslog.file.msg.level=info
syslog.fwd.status=disabled
syslog.fwd.msg.level=info
syslog.rotate.status=true
syslog.rotate.at_size=102400 
 
# Section: HTTPD
httpd.status=enabled
httpd.port.http=80
httpd.port.https=443
httpd.port.admin=444
httpd.backlog=100
httpd.max.request=51200
httpd.max.connections=50
httpd.verbose=disabled
httpd.external.status=disabled 
 
# Section: SSHD
sshd.status=enabled
sshd.port=22 
 
# Section: RADIO
radio.status=enabled
radio.countrycode=LT
 
radio.1.status=enabled
radio.1.devname=ath0
radio.1.parent=wifi0
radio.1.mode=Master
radio.1.channel=60
radio.1.rate.max=54M
radio.1.rate.auto=enabled
radio.1.frag=off
radio.1.rts=off
radio.1.ieee_mode=A
radio.1.txpower=20
radio.1.autochannel.status=disabled
 
# Section: WIRELESS
## Wireless device without security
wireless.status=enabled
wireless.1.status=enabled
wireless.1.devname=ath0
wireless.1.security=none
wireless.1.ssid=wds_open
wireless.1.ssid_broadcast=enabled
wireless.1.l2_isolation=disabled
wireless.1.fastframes=enabled
wireless.1.frameburst=enabled
wireless.1.wmm=enabled
wireless.1.max_clients=64 
 
# Section: WDS
## Enable wds mode on ath0
wds.status=enabled
wds.1.status=enabled
wds.1.parent=ath0 
 
## Enable bridge
bridge.status=enabled
bridge.1.status=enabled
bridge.1.devname=br0
bridge.1.hello=20
bridge.1.maxage=300
bridge.1.priority=2
bridge.1.fd=1
bridge.1.port.1.status=enabled
bridge.1.port.1.devname=ath0
bridge.1.port.2.status=enabled
bridge.1.port.2.devname=ixp1
bridge.1.port.3.status=enabled
bridge.1.port.3.devname=ixp0
 
# Section: dhcpc
# CHANGE TO ENABLED IF DHCP CLIENT IS USED
dhcpc.status=disabled
dhcpc.1.status=enabled
dhcpc.1.devname=br0 
 
# Section: netconf
netconf.status=enabled
netconf.1.status=enabled
netconf.1.netmask=255.255.255.0
netconf.1.ip=0.0.0.0
netconf.1.up=enabled
netconf.1.mode=wan
netconf.1.type=ethernet
netconf.1.devname=ixp1 
 
netconf.2.status=enabled
netconf.2.netmask=255.255.255.0
netconf.2.ip=0.0.0.0
netconf.2.up=enabled
netconf.2.mode=lan
netconf.2.type=ethernet
netconf.2.devname=ixp0
 
netconf.3.status=enabled
netconf.3.netmask=255.255.255.0
netconf.3.ip=192.168.5.10
netconf.3.up=enabled
netconf.3.mode=lan
netconf.3.type=bridge
netconf.3.devname=br0 
 
# Section: SNMP
snmpd.status=enabled
snmpd.name=name
snmpd.contact=contact
snmpd.rocommunity=public
snmpd.rouser=public
snmpd.ropassword=password 
 
# Section: ROUTE
route.status=enabled
route.1.status=enabled
route.1.devname=br0
route.1.gateway=192.168.5.1
route.1.ip=0.0.0.0
route.1.netmask=0
 
#
# Multicast based device discovery
discoveryd.status=enabled

STA_(Managed).cfg

###########################################
# Configuration file created by WILIBOX UAB
# HW: XScale family
# Wireless Distribution System
# Updated 2007-06-12
###########################################
 
# Section: USERS
## Setup default system user
users.status=enabled
users.1.status=enabled
users.1.name=admin
users.1.password=oHSl3yqR.t1uQ
 
# Section: SYSLOG
syslog.status=enabled
syslog.file=/var/log/messages
syslog.file.umask=077
syslog.file.msg.level=info
syslog.fwd.status=disabled
syslog.fwd.msg.level=info
syslog.rotate.status=true
syslog.rotate.at_size=102400 
 
# Section: HTTPD
httpd.status=enabled
httpd.port.http=80
httpd.port.https=443
httpd.port.admin=444
httpd.backlog=100
httpd.max.request=51200
httpd.max.connections=50
httpd.verbose=disabled
httpd.external.status=disabled 
 
# Section: SSHD
sshd.status=enabled
sshd.port=22 
 
# Section: RADIO
radio.status=enabled
radio.countrycode=LT
 
radio.1.status=enabled
radio.1.devname=ath0
radio.1.parent=wifi0
radio.1.mode=Managed
radio.1.channel=60
radio.1.rate.max=54M
radio.1.rate.auto=enabled
radio.1.frag=off
radio.1.rts=off
radio.1.ieee_mode=A
radio.1.txpower=20
radio.1.autochannel.status=disabled 
 
# Section: brdige
bridge.status=enabled
bridge.1.status=enabled
bridge.1.devname=br0
bridge.1.ageing=300
bridge.1.priority=2
bridge.1.fd=1
bridge.1.hello=20
bridge.1.maxage=300
bridge.1.port.status=enabled
bridge.1.port.1.status=enabled
bridge.1.port.1.devname=ixp1
bridge.1.port.2.status=enabled
bridge.1.port.2.devname=ixp0
bridge.1.port.3.status=enabled
bridge.1.port.3.devname=ath0
 
# Section: WIRELESS
## Wireless device without security
wireless.status=enabled
wireless.1.status=enabled
wireless.1.devname=ath0
wireless.1.security=none
wireless.1.ssid=wds_open
wireless.1.ssid_broadcast=enabled
wireless.1.l2_isolation=disabled
wireless.1.fastframes=enabled
wireless.1.frameburst=enabled
wireless.1.wmm=enabled
wireless.1.max_clients=64
 
# Section: WDS
## Enable wds mode on ath0
wds.status=enabled
wds.1.status=enabled
wds.1.parent=ath0
 
# Section: NETCONF
netconf.status=enabled
netconf.1.status=enabled
netconf.1.netmask=255.255.255.0
netconf.1.ip=0.0.0.0
netconf.1.up=enabled
netconf.1.mode=wan
netconf.1.type=ethernet
netconf.1.devname=ixp1 
 
netconf.2.status=enabled
netconf.2.netmask=255.255.255.0
netconf.2.ip=0.0.0.0
netconf.2.up=enabled
netconf.2.mode=lan
netconf.2.type=ethernet
netconf.2.devname=ixp0
 
netconf.3.status=enabled
netconf.3.netmask=255.255.255.0 
netconf.3.ip=192.168.5.11
netconf.3.up=enabled
netconf.3.mode=lan
netconf.3.type=bridge
netconf.3.devname=br0 
 
netconf.4.status=enabled
netconf.4.netmask=255.255.255.0
netconf.4.ip=0.0.0.0
netconf.4.up=enabled
netconf.4.mode=lan
netconf.4.type=wireless
netconf.4.devname=ath0
 
# Section: SNMPD
snmpd.status=enabled
snmpd.name=name
snmpd.contact=contact
snmpd.rocommunity=public
snmpd.rouser=public
snmpd.ropassword=password
 
# Section: ROUTE
route.status=enabled
route.1.status=enabled
route.1.devname=br0
route.1.gateway=192.168.5.1
route.1.ip=0.0.0.0
route.1.netmask=0
 
# 
# Multicast based device discovery
discoveryd.status=enabled
  • There's no such thing as a WDS peer.
  • If needed only to bridge 2 wired networks - use Wireless ACL (Access control list) configuration to prevent undesired association of other clients.

Configuration files

AP_(master).cfg

STA(managed).cfg

Personal tools