On Wed, 12 Feb 2003, liqiang zhang wrote: > Hi Eerin, > > Thanks ! do you mean hostap does the translation > between the 802.11 frames and wired Ethernet frames so > that the bridge just see the standard wired frames? > and for the WDS case, the hostap will take care the > extra address fields itself?
Yes, you need use "wlan0wdsX" (where X= 0-15) intefaces instead of wlan0 interface in bride interfaces. Then you can "fake" source address correctly. (802.11b uses ACK to be sure packets transmitted correctly, if you fake transmitting source ACK don't work -> transmitting error. > Another question is, does the hostap just give the > outgoing traffic to bridge? For example, A and B are > inside of BSS, and C is outside the BSS, > A ))))))) > Linux-AP------( )--C > B ))))))) > then all the traffic between A and B will not even be > seen by bridge code? Picture is not clean, but if you put many WDS-accespoints and run bridge all of them, you can build "mesh" network to cabable bridge between all accespoints wired and wireless interfaces, making multiple wireless hop etc. Bridge code STP is only limitation it allow only 7 hop deep network, and packets travel tree like routes, which is not optimal in many cases. (like two neagherbood leaves near eachother, but packets may circulate much longer way.) If you have "prism2_bridge=1" hostap_cs module parameter packets may bridged without bridge code. > IF this is ture, then this is different from the pure > wired environment, cause in wired cases, the bridge > seems just copy the frames from one side to the other > side, even sometime doesn't have to (like the traffic > between A and B), is this right? please correct me. > If A and B is in same interface, bridge do nothing. If they are accespoints and say: wlan0wds0 and wlan0wds1 interfaces then bridge may send packets if STP allow it. Check: http://hostap.epitest.fi there is examples. -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* **** Eerin Rosenstr�m **** ** Servinmaijantie 12 F 77 ** ** 02150 Espoo ** ** p. +358 9 4682997 ** **** p.+358 40 5205030 **** -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* _______________________________________________ Bridge mailing list [EMAIL PROTECTED] http://www.math.leidenuniv.nl/mailman/listinfo/bridge
