WDS setup questions

Ray ray
Thu Feb 20 09:49:13 PST 2003


On Thu, Feb 20, 2003 at 06:17:48AM -0000, Craig Foster wrote:
> 
> 1) Do the low-end AP's (like my Netgear MR314 router/AP) even support WDS?  

This is something I've been meaning to ask, and also how many are
standards complient themselves?  I *think* some of the Linksys and D-link
units support some form of WDS.  My guess is that the Netgear MR314 is too
old to have this feature, at least with the base firmware.  

> 3) What about channels: Should the Netgear AP and linux AP be on the same or 
> different channels?

Same, and also same essid.

> 
> 4) I'm a little confused aboutt he different interfaces that seem to be 
> involved in all of this (i.e. wlan0, wlan0wds0, br0).  Which interface is 
> used for traffic for the linux host itself?

wlan0 is to/from clients connected to your Linux AP.  wlan0wds? are
connections to other APs using wds.  I'm not using bridging but I think
you'd use bridging to combine wlan0 and wlan0wds0 into br0 and use br0 in
place of both of the above.  Anything going out br0 would be transmitted on
both of the other interfaces and anyting coming in on either interface would
be re-transmitted on the other.  Someone correct me if I'm wrong on this
last bit.

>  Should both wlan0 and wlan0wds0 
> be in Master mode?  On the same channel?  Which should be in promiscuous 
> mode?  Which should be part of the brindge?

Since they are both phisically on the same card then they would have to be
in the same mode and channel but that should happen automatically.

Here is the relivent part of the output of ifconfig on one of my machines
(but remember I'm not using bridging).  I've pre-assigned 5 wds links and
for some reason hostap seems to use wlan0wds4, then wlan0wds3 etc. rather
than starting with wlan0wds0:

wlan0     Link encap:Ethernet  HWaddr 00:02:6F:01:89:48  
          inet addr:192.168.5.1  Bcast:192.168.5.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2798199 errors:0 dropped:285385 overruns:0 frame:0
          TX packets:240575 errors:1697055 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:8280782 (7.8 MiB)  TX bytes:45579955 (43.4 MiB)
          Interrupt:3 Base address:0x100 

wlan0wds0 Link encap:Ethernet  HWaddr 00:02:6F:01:89:48  
          inet addr:192.168.4.21  Bcast:192.168.4.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:438795 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:55940439 (53.3 MiB)
          Interrupt:3 Base address:0x100 

wlan0wds1 Link encap:Ethernet  HWaddr 00:02:6F:01:89:48  
          inet addr:192.168.4.22  Bcast:192.168.4.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:434047 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:54506902 (51.9 MiB)
          Interrupt:3 Base address:0x100 

wlan0wds2 Link encap:Ethernet  HWaddr 00:02:6F:01:89:48  
          inet addr:192.168.4.23  Bcast:192.168.4.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:434046 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:54506820 (51.9 MiB)
          Interrupt:3 Base address:0x100 

wlan0wds3 Link encap:Ethernet  HWaddr 00:02:6F:01:89:48  
          inet addr:192.168.4.24  Bcast:192.168.4.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:478195 errors:0 dropped:0 overruns:0 frame:0
          TX packets:516703 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:66677054 (63.5 MiB)  TX bytes:72247706 (68.9 MiB)
          Interrupt:3 Base address:0x100 

wlan0wds4 Link encap:Ethernet  HWaddr 00:02:6F:01:89:48  
          inet addr:192.168.4.25  Bcast:192.168.4.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:127117 errors:0 dropped:0 overruns:0 frame:0
          TX packets:436255 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:12266445 (11.6 MiB)  TX bytes:55003131 (52.4 MiB)
          Interrupt:3 Base address:0x100 

-- 
Ray




More information about the Hostap mailing list