Bridging wlan0/wlan1

Peyush Agarwal peyush
Mon Feb 24 03:27:16 PST 2003


Remove ur configns and do these:
(I assume ur wireless interface is -- wlan0)

# iwpriv wlan0 wds_add <MAC Addrs of the OTHER AP in DS>
# brctl addbr BRDG
# brctl addif BRDG wlan0
# brctl addif BRDG wlan0wds0
# ifconfig wlan0     0.0.0.0 up
# ifconfig wlan0wds0     0.0.0.0 up
# ifconfig BRDG <ip-address>  up

let me know the results.
-Peyush.

Dave wrote:

> That doesn't seem to work either...maybe I am doing something wrong..
>
> # ifconfig wlan1 192.168.10.39 up
>
> # ping 192.168.10.10 (gateway)
> PING 192.168.10.10 (192.168.10.10) 56(84) bytes of data.
> 64 bytes from 192.168.10.10: icmp_seq=1 ttl=255 time=8.12 ms
> 64 bytes from 192.168.10.10: icmp_seq=2 ttl=255 time=4.33 ms
>
> #ifconfig wlan0 0.0.0.0 up
> #ifconfig wlan1 0.0.0.0 up
> #brctl addbr br0
> #brctl addif br0 wlan0
> #brctl addif br0 wlan1
> #ifconfig br0 192.168.10.39 up
>
> ping 192.168.10.10 (gateway) from box associated with wlan0 and get
> timeout....
>
> -Dave
>
> > linux bridging code does the brdg. between master & managed mode.
> > provide an ip addr (NOT 0.0.0.0) to the bridge u've created and make it
> 'up'.
> >
> >
> > Dave wrote:
> >
> > > Hi all,
> > >
> > > Can anyone confirm my findings that the Linux bridging code cannot
> bridge a
> > > wlan0 (Master mode) with a wlan1 (Managed mode) ?
> > >
> > > I guess I had assumed that it would work and apparently it does not.
> > >
> > > My hopes was to take the load off of the distribution radio (wlan0) so
> it is
> > > not sending data down a WDS link, but rather bridging it to a second
> radio
> > > (wlan1) running in managed mode to a remote hostap box.
> > >
> > > I brought up wlan0 in master mode, channel 1, essid test and brought up
> > > wlan1 in managed mode, channel 11, essid test2. Prior to placing both in
> a
> > > bridge I attached an IP address to wlan1 and made sure I was associated
> with
> > > the remote hostap box and could move traffic to/from. I then set wlan0
> and
> > > wlan1 to 0.0.0.0 up and created a bridge (br0) and added wlan0/wlan1 and
> did
> > > a ifconfig br0 0.0.0.0 up to get it rolling.
> > >
> > > An STA associated with wlan0 but cannot move data through the box to hit
> the
> > > remote hostap box.
> > >
> > > Anyone have any ideas?
> > >
> > > Thanks!
> > >
> > > -Dave
> > >
> > > _______________________________________________
> > > HostAP mailing list
> > > HostAP at shmoo.com
> > > http://lists.shmoo.com/mailman/listinfo/hostap
> >
> > --
> > ______________________________________________________________
> > Peyush Agarwal
> > Sr. Engineer, Networking and Communications, Tata Elxsi Ltd.
> > Phone number :: 91-80-8410220/1/2 ex. 236.  Fax ::  91-80-8410219.
> > www.tataelxsi.com
> > ______________________________________________________________
> >
> >
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap

--
______________________________________________________________
Peyush Agarwal
Sr. Engineer, Networking and Communications, Tata Elxsi Ltd.
Phone number :: 91-80-8410220/1/2 ex. 236.  Fax ::  91-80-8410219.
www.tataelxsi.com
______________________________________________________________






More information about the Hostap mailing list