2006年12月21日 星期四

Wireless Destribute System (WDS)



http://www.homeoffice.idv.tw/archives/000689.html

http://en.wikipedia.org/wiki/Wireless_Distribution_System


WDS can be used to provide two modes of wireless AP-to-AP connectivity:


  • Wireless Bridging in which WDS APs communicate only with each other and don't allow wireless clients or Stations (STA) to access them
  • Wireless Repeating in which APs communicate with each other and with wireless STAs

http://www.geocities.com/backgndtest/wlan_tut.html


http://www.meshnode.org/wiki/index.php/Madwifi-WDS-Bridge


WDS is used between Access Points to allow transparent bridging of two ethernets over a wireless link.


Linux wireless WDS


Model




<1.1>.P-to-P WDS support
/*Create WDS device*/
wlanconfig wds0 create wlandev wifi0 wlanmode wds
/*Add WDS peer MAC address*/


iwpriv wds0 wds_add XX:XX:XX:XX:XX:XX
/*Enable WDS*/
iwpriv wds0 wds 1


/*Set ip address*/


/*Attention !!! Both WDS peer must at the same network*/
ifconfig wds0 172.16.100.1


/*Destroy it*/
wlanconfig wds0 destroy




<2.1>.Access Point with WDS support (Multi Bridge)
wlanconfig wds0 create wlandev wifi0 wlanmode ap


iwconfig wds0 essid "WDS_AP"


< Modify Mac filter >


/*Enable WDS support*/
iwpriv wds0 wds 1
iwconfig wds0 key s:xxxxx <------可支援WEP


iwpriv wds0 maccmd X


iwpriv wds0 addmac XX:XX:XX:XX:XX:XX <------可支援Mac filter

brctl addif br0 wds0 <------加入DHCP server服務範圍


ifconfig wds0 up


/*Destroy it*/
brctl delif br0 wds0
wlanconfig wds0 destroy


<2.2>.Access Point + WDS Station (Repeater)
/*Create WDS station*/
wlanconfig wds0 create wlandev wifi0 wlanmode sta nosbeacon
iwconfig wds0 essid "WDS_AP"
iwpriv wds0 wds 1


iwconfig wds0 key s:xxxxx <------可支援WEP


ifconfig wds0 up


brctl addbr br1


brctl addif br1 ath0
brctl addif br1 wds0 <------透過WDS通道使用DHCP服務


/*Destroy it*/
brctl delif br0 wds0
wlanconfig wds0 destroy


沒有留言:

張貼留言