1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Client bridge on v23 (9.28.05) using WPA

Discussion in 'DD-WRT Firmware' started by whatsthedeal, Sep 29, 2005.

  1. whatsthedeal

    whatsthedeal Network Guru Member

    In the changelog, it says the client bridge is working with WPA. So far I'm not able to get it to work so I assume I'm doing something wrong. Could somebody (namely Brainslayer) post instructions on how to do this properly? I've tried using the survey portion (clicking join on my network) but it isn't changing any settings on the router (wrt54gs v4). Here is a little bit more information about my setup:
    Modem<--------->WRT54G(192.168.1.1) ====wireless====WRT54GS(192.168.1.2=bridge)

    On the WRT54GS (bridge):
    IP:192.168.1.2
    gateway: should this be 192.168.1.1?
    wireless mode:client bridge
    security: wpa-tkip
    channel: 11
    ssid: copied from main router (WRT54G)
    passkey: copied from main router (WRT54G)
    loopback: disabled (does this matter?)
    firewall: disabled (does this matter?)
     
  2. hotrat

    hotrat Network Guru Member

    would like also. so PLEASE someone a full working config listing ALL Router/PC IP's and gateways etc! USING WPA. BrainSlayer we need your HELP!

    Chris
     
  3. MBChris

    MBChris Network Guru Member

    Hi, at first you MUST change the IP of the bridge to an other ip outside from your net (e.g. 10.0.0.1 or 192.168.5.1)! This is already discussed here somewhere.
    That was my failure over some weeks of tests

    See if it will help u out
     
  4. hotrat

    hotrat Network Guru Member

    Tried that, was a no go.. also it shouldn't really matter wot subnet the bridge's ip is. even if it is in the same subnet as the rest of the network since it is only a bridge, the problem seems to be in DD-WRT, i say that because BRIDGE (WET mode) works fine in HyperWRT (latest by thibor) with WPA perfectly.. thanks for reply tho

    Chris
     
  5. dellsweig

    dellsweig Network Guru Member

    CLient bridge mode is designed to allow the bridge to exist on the same subnet . It works great. Also have not been able to get WPA working in this environment - WEP 128 only
     
  6. whatsthedeal

    whatsthedeal Network Guru Member

    i'm willing to try it out but wep128 works in the same setup.

    i'll try thibor's firmware since the bridge is a wrt54gs - maybe that will do the trick. although i would prefer to use dd-wrt :D
     
  7. hohndel

    hohndel Network Guru Member

    I have it working here with one WRT54GS AP and two WRT54 clients, one a GS, one a G. All three using DD-WRT v23, but different builds. WEP128 works, even with the clients having IP addresses in the same network (which allows easy remote management). Once I upgrade the AP to the 2809 build I will try WPA again.

    Dirk
     
  8. skipparoo

    skipparoo Network Guru Member

    Why not use WDS since you have 2 WRTs? I have 2 GSs setup with WDS and WPA on the same subnet. I have a couple of PCs hooked up to the LAN ports on the remote WRT, and it connects to my WRT gateway through a WDS connection.

    Works great with WPA/AES, even on v22-r2. Since I don't want to use the remote WRT as an AP, I simply enabled MAC address filtering so no wireless user can connect, and are forced to connect to the gateway AP instead.

    Also, I don't have any problem with WDS cutting my bandwidth in half since my PCs are connected directly to the switch ports on the remote WRT.

    Truthfully, I don't see why one would need to use client-bridge mode if both endpoints support WDS. If there are any benefits, though, please feel free to enlighten me :)

    Cheers,
    skip
     
  9. hotrat

    hotrat Network Guru Member

    tru u can use WDS. thats not the point. it is a BUG client bridge is NOT working when using WPA for some users and it's not config based since WEP works!!
     
  10. whatsthedeal

    whatsthedeal Network Guru Member

    yeah, it seems like a bug to me. about using wds: i guess i could use this but it cuts bandwidth in half so i'd rather not. thanks for the tip though.
     
  11. JohnSK

    JohnSK Network Guru Member

    What speeds are ppl getting with WDS connected AP's? I get around 2,5 - 3 MB/s with excellent signal between 2 WRT54G's, I get the same with Client bridge or Client mode....
     
  12. 4Access

    4Access Network Guru Member

    Actually there should be no halving of bandwidth when WDS is implementated simply to facilitate bridging. See here and here for details.
     
  13. dellsweig

    dellsweig Network Guru Member

    The bandwidth is reduced due to the fact that WDS is a repeater mode as well as a bridge. In repeater mode the radio effectivly cuts the bandwidth by listening to the signal for some period of time, then spending the same period of time re-transmitting (repeating). the signal. The bridge portion of the wds has no effect on bandwidth.

    The choice is simple, if you need the bridge to also act as an AP (repeater, range extender) for your wireless nodes, then use WDS. If you simply need a bridge, then use client bridge mode
     
  14. skipparoo

    skipparoo Network Guru Member

    This is correct, however my point was that using WDS as a "client-bridge" can provide the same functionality as client-bridge mode without sacrificing speed. Only wireless clients connected to the bridge or AP for that matter will see the speed loss when transmitting data over the WDS link, but if you simply want to use WDS as an ethernet bridge, there shouldn't be a problem.

    The only need I see for client-bridge mode is if you want to connect your WRT to an AP that does not support WDS. Many people require client-bridge mode for this reason, but if you have 2 or more WRTs or at least 2 APs that support WDS, I recommend this as an option, especially considering the various problems with client-bridge mode at the moment.

    By the way, the first link 4Access posted explains all this very well. Thanks for that!

    Please Explain Client Mode, AP Mode, WDS

    Cheers,
    skip
     
  15. qingz

    qingz Network Guru Member

    Is it true? Anybody confirm this?
     
  16. whatsthedeal

    whatsthedeal Network Guru Member

    thanks for all of the info everyone - especially for setting me straight on the bandwidth problem. i'll try wds with wpa later today and see what happens.
     
  17. hohndel

    hohndel Network Guru Member

    well, I don't know...

    I read all the explanations and they only assume communication in one direction. If my wired client is connected to my bridge and is sending and receiving data, then WDS does reduce the time that the radio has to spend on the connection that I really care about. That's because all data that is sent TO my client is still repeated out on the radio as well - and since this is half-duplex it means that during this time I can't receive more data, or it competes with sending out my data back to the AP.

    Am I missing something?

    Dirk
     
  18. 4Access

    4Access Network Guru Member

    Very good observation! This shouldn't be an issue though since bridging/switching is still taking place on the WDS link. (The router is still paying attention to where devices are located based on their MAC address.) What this means is that when a packet comes over the WDS link destined for your wired PC the router knows that the computer is connected to a wired port on the router and therefore it doesn't need to repeat the packet wirelessly.

    Now with that said, broadcast traffic coming in over the WDS link will have to be repeated wirelessly which will use up some extra air time that normally wouldn't be used if you were using client mode...

    BTW this is based on my understanding of how WDS is implemented and while I'm fairly confident this is accurate I wouldn't stake my life on it. ;)
     
  19. hotrat

    hotrat Network Guru Member

    OK i have FIXED MINE.
    Can everyone that has had a problem wif CLIENT BRIDGE mode try this...

    set it all up how u like in the SAME subnet.
    in my case my AP is 192.168.1.1 and my Client Bridge Router is 192.168.1.2
    i have ENABLED Frame Burst
    ENABLED WPA and set my key using TKIP and of course put an SSID in (same as the AP duh)
    and of course selected Client Bridge mode.

    now of course it dun work! well not yet but it DOES or SHOULD show up under Wireless Stats as connected..

    now heres the thing..

    go back and DISABLE wireless Security entirely on the bridge and save it... when it comes back up ENABLE WPA again and save,
    now try opening a few web pages from BEHIND the bridge. mite take a few seconds but it should start to work!!!

    btw DHCP is DISABLED
    and so is ALL the firewall settings

    let me know if it works for u!


    PS. IF u reboot the Client Bridge u will need to DISABLE save then RE-ENABLE WPA in wireless security

    PPS. my AP is a WRT54GS v1.1 and so is the Client BOTH running v23 30.9

    Chris

    UPDATE: seems as if this related to a setting not being saved to me and it may fail after sometime (maybe a config file being read where the setting is meant to be?)
     
  20. qingz

    qingz Network Guru Member

    Anybody confirmed this?
    Will try it tonight when I get home.
     
  21. hotrat

    hotrat Network Guru Member

    should say the second time i tried it i had to disable and then enable security a few timesss. still worked tho.
     
  22. whatsthedeal

    whatsthedeal Network Guru Member

    update:

    tried newest firmware (9.30), followed flashing instructions (like always), and tried the new instructions on the wiki for setting up client bridged mode. it's still not working. the AP is using 9.27...maybe i'll update it and see if that helps. if that won't do it, i guess i'll be using wds :\

    EDIT: I found out what was causing the problems with client bridged mode!!!!

    Ok on the setup page (after you have followed the instructions on the wiki for setting up the bridge), under DHCP type - you must select DHCP Forwarder. As soon as I did this, it worked!!!!

    Brainslayer was right - it does work.

    @Brainslayer: could you make this an automatic selection for when client bridged mode is selected?

    Thank you all - hope this works for you too.

    EDIT2: I tried reconfiguring the router exactly the same way as before with no luck :(. I knew I shouldn't have messed with it.
     
  23. hotrat

    hotrat Network Guru Member

    so it's again not working???

    seems to me for some reason something is not getting saved...
    in my case i had static ip's and dhcp DISABLED
     
  24. whatsthedeal

    whatsthedeal Network Guru Member

    correct - not working anymore. the router did something when i switched it to dhcp forwarding (the power light blinks a bunch) and then the httpd stopped responding.

    the odd thing is, the AP lists the bridge as a client and the bridge shows it's connected to the AP, but the link isn't functional.
     
  25. whatsthedeal

    whatsthedeal Network Guru Member

    as recommended by some people above, i tried wds with wpa and it works like it should. thanks for the tip.
     
  26. hotrat

    hotrat Network Guru Member

    i dun tyhink it is connected to enabling dhcp of any sort.. like unless u are using that of course.. i reckon is connected to the router being forced to re-read a config file somewhere BUT when it goes to read it again the settings aren't saved or something


    and yep AP has always shown as connected for me thru all the versions BUT no traffic over the link :(

    not atm home atm maybe is fixed in 4.10
     
  27. whatsthedeal

    whatsthedeal Network Guru Member

    not for me.
     
  28. hotrat

    hotrat Network Guru Member

    anyone that was having problems with it before had any luck getting it working??
     
  29. maracay

    maracay Network Guru Member

    worked like a charm, exactly as stated,
    WRT54G V4 with ddwrt v23
     
  30. maracay

    maracay Network Guru Member

  31. hotrat

    hotrat Network Guru Member

    Thanks for the screens mate, your setup is EXACTLY the same as mine :) have you tried that using WPA tho??? WPA seems to be where the problem lies in BRIDGE mode :/

    Chris
     
  32. simax

    simax Network Guru Member

    My tests show as well that WPA does NOT work, on any flavor/combination.

    Used:

    WRT54GS v1 (Client bridge mode)
    DD-WRT Firmware v23 beta2 (14-10-05 build)

    WRT54GC v1 (AP mode)
    Official Linksys Firmware v1.02.8


    WEP 128 --> Works :thumb:

    WPA TKIP --> No :thumbdown:
    WPA AES --> No :thumbdown: (and the WRT54GS keeps rebooting every minute or so)
    WPA2 TKIP --> No :thumbdown:
    WPA2 AES --> No :thumbdown:

    Tomorrow I will be testing with several other APs. At least we have WEP128 for the time being.

    Keep up the good work Brainslayer ;)
     
  33. whatsthedeal

    whatsthedeal Network Guru Member

    i got another wrt54gs (this one is a v2.1 :D) so i'll try to setup a bridge with it.

    about my wds link: it's currently between a WRT54G and wrt54gs using wpa-tkip and is very stable. i did some speed tests using ftp between lan computers on each router and got speeds on average of 2.4mbytes/sec = ~20mbps connection which is what i would expect from the bridge. so to answer any questions about the halving of speeds in wds, it doesn't appear to do it with lan connections. i'll be putting the other wrt54gs in place of the WRT54G and enabling the afterburners. hopefully i'll get the 10mbps increase that tomshardware shows. i'll report back with my latest findings.
     

Share This Page