Client Bridged

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:15, 7 January 2011 (edit)
Donny (Talk | contribs)
m (Removed info on DHCP Forwarding that most don't understand.)
← Previous diff
Revision as of 20:56, 4 March 2011 (edit) (undo)
Donny (Talk | contribs)

Next diff →
Line 28: Line 28:
# If you are using N only or Mixed with N, set your wireless channel width to match your primary # If you are using N only or Mixed with N, set your wireless channel width to match your primary
# Set the wireless network name to exactly the same as your primary router. Make sure spelling and capitalization match. # Set the wireless network name to exactly the same as your primary router. Make sure spelling and capitalization match.
-# Set Ack timing to 0 unless you have a long distance (>300 meter) link 
# Hit SAVE at the bottom. Then hit APPLY. # Hit SAVE at the bottom. Then hit APPLY.
# Check to make sure all the configurations, including the mode, saved and the mode is still client bridge. If any changed, fix them, and save again. # Check to make sure all the configurations, including the mode, saved and the mode is still client bridge. If any changed, fix them, and save again.
-# Goto Setup, basic setup and enter a router Local IP address of 192.168.1.6. Leave subnet mask at 255.255.255.0.+# Goto Setup, basic setup and enter a router Local IP address of 192.168.1.6. (Presuming your primary router is on the 192.168.1.x subnet. Client bridge must match the subent of the primary router) Leave subnet mask at 255.255.255.0.
# Set the Gateway IP to your primary router. (Likely 192.168.1.1) # Set the Gateway IP to your primary router. (Likely 192.168.1.1)
# Leave Local DNS blank # Leave Local DNS blank
Line 47: Line 46:
You are done. Configure any other settings you wish at this point. You are done. Configure any other settings you wish at this point.
-==Former Wiki Material==+If you have any difficulty setting this up, disable all encryption on all devices, do a hard reset on the client bridge router, and start again.
- +
-PLEASE NOTE:+
- +
-(requires version 2.3 or greater for GUI setup)+
- +
-'''We are currently experiencing Client Bridge and Repeater Bridge problems when the host is a non-Linux based router. If you are experiencing problem or would like to report a non-linux router as a problem please post in this [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=36138 thread]. We are trying to keep this list up to date. Client Bridge is said to be working with the old V23 SP2 build...but not the newest V24 builds.'''+
- +
-----+
- +
-=V24 builds=+
-My setup using V24 builds [[User:Redhawk0|redhawk]]+
- +
-==Instructions== added 05/29/08 - Security added 06/06/08+
- +
-A very simple step-by-step instruction to connect a Router running DD-WRT V24 firmware in Client Bridge Mode.+
- +
-Confirmed working on +
-V24 Pre-SP2+
- +
-See end of V24 section for V24 SP2 b13064 - This works for the 13064 build with an additional step.+
- +
-To enable Bridge-Mode between two Routers, the Primary router has to be in AP mode. The Secondary router running DD-WRT as Client Bridged+
- +
-# Do a hard reset (30/30/30) on Client (DD-WRT) Router+
-# Connect to the secondary router via wired LAN port+
-#Open the '''Wireless -> Basic Settings''' tab+
-#*Wireless Mode : Client Bridge+
-#*Wireless Network Mode : Match Primary Router+
-#*Wireless Network Name(SSID) : Match Primary Router+
-#*Wireless Channel : Match Primary Router+
-#*Wireless SSID Broadcast : Enable (not found on newer builds)+
-#*Network Configuration : Bridged+
-#*'''Save Settings'''+
-# Open the '''Wireless-> Wireless Security''' tab+
-#*Set your Encryption to either WEP or WPA, or WPA2-Personal+
-#*Select TKIP, AES, or TKIP + AES+
-#**Note - as of 07/15/08 - TKIP + AES is now working on the Client Bridge.- redhawk+
-#*Enter your encryption key to match the Primary router+
-#*'''Save Settings'''+
-# Open the '''Setup -> Basic Setup''' tab+
-#*Connection Type will be: Disabled+
-#*Set STP for Disabled (Enabled sometimes can cause connection problems)+
-#*IP Address : 192.168.1.2 (Assuming Primary Router IP is 192.168.1.1)+
-#*Mask : 255.255.255.0+
-#*Gateway: 192.168.1.1 (again assuming Primary Router IP is 192.168.1.1)+
-#*DHCP Server: Disable (not found on newer builds)+
-#*Assign WAN Port to Switch : Checked or Unchecked - your choice+
-#*'''Save Settings'''+
-# Open the '''Setup -> Advanced Routing''' tab+
-#*Change ''Type'' to: Router+
-#*'''Save Settings'''+
-#Open the '''Security -> Firewall''' tab+
-#*You MUST Uncheck all boxes except "Filter Multicast" in "Block WAN Requests" before the next step+
-#*Disable SPI firewall+
-#*'''Save Settings'''+
-#Open the '''Administration''' tab+
-#*'''APPLY Settings''' +
-#*Click "Reboot" button+
- +
-#Additional steps for V24 SP2 b13064+
-#Open the "Status ->Wireless" tab+
-#Click site survey at the bottom of the screen+
-#Click refresh+
-#Click join on the network you are connecting to+
-----+
- +
-=V23 builds=+
-I started a page here to make it easy to find this info.+
-So far, as related to version 2.3 and gui setup of this mode only, (no tweaking by telnetting in and running nvram commands), I could only find info in the following links.+
- +
-My attempt: [[Bridge_Install|Bridge Install]]+
- +
-Related attempts: [[Wireless_Bridge|Wireless Bridge]]+
- +
-External forum thread: [http://forum.bsr-clan.de/viewtopic.php?t=1750&highlight=bridge#11522 Wireless Bridge thread]+
- +
-----+
- +
-Using DD-WRT v23 (01/11/05 & 25/12/05) I succeeded with Client bridge mode with WPA changing only the following from the defaults:+
- +
-Setup > Basic Setup+
- DHCP Server: Disable+
- +
-Wireless > Basic Settings+
- Wireless Mode: Client Bridged+
- Wireless Network Mode: Mixed+
- +
-Wireless > Wireless Security+
- Security Mode: WPA Pre-Shared Key+
- WPA Algorithms: TKIP+
- WPA Shared Key: <equal to the other side>+
- +
-Status > Wireless+
- Survey+
- (shows list of available networks. Select the proper one, then click Join and Close.)+
- +
- +
- +
-The other side is a standard internet connected Hyper-WRT 2.0. +
-For the 01/11/05 version both the DD-WRT router and all connected computers appear in the DHCP Active IP Table. With the 25/12/05 version only the connected computer appear.+
- +
- +
-----+
[[Category:Switch]] [[Category:Switch]]
[[Category:Wlan]] [[Category:Wlan]]

Revision as of 20:56, 4 March 2011

You are here: DD-WRT wiki mainpage / Linking Routers / Client Bridged


Video Instructions http://www.youtube.com/watch?v=Ud-Hq3kgvk4

New Wiki Material-Client Bridge

This mode is NOT for WIRED connections between two routers! It is a wireless connection between two routers only.

First of all, do not even try to do client bridge with dd-wrt SP1. It won't work. Also if you can't get Client Bridged to work on your hardware then try Client Mode instead.

The information below this section is really overly complex. Once this new info is reviewed and checked for accuracy, the unnecessary info should be deleted.

The router that you are trying to connect to is the primary router. The router you are configuring is the client bridge(CB) router. You don't need to worry about the primary router as long a s you set your CB to the SAME subnet. What this means is, if the primary router has an IP of 192.168.A.X, you need to set the CB router to an IP of 192.168.A.Z. Most primary routers will be at 192.168.1.1. So, when you are configuring your CB router, set it to 192.168.1.9

With that in mind, here is how to configure it.

  1. Download a recommended build for your router. DO NOT USE SP1. If you are using a broadcom router, read the peacock thread prior to starting. http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Use one of those recommended builds.
  2. Do a HARD reset on your router.
  3. Connect a cable from your computer to the LAN port on your router.
  4. Set your computer to a static IP address of 192.168.1.9
  5. Set your browser to 192.168.1.1 and open the dd-wrt webgui.
  6. You should be asked to change your password and username. Carefully type these in. If you aren't asked for a password and username, do a hard reset, this time doing it properly! Hit change password.
  7. Go FIRST to wireless, wireless security and enter the security type and key that matches your primary router.
  8. Hit SAVE, (or APPLY if you wish to)
  9. Go to the wireless, basic settings page and change the wireless mode to Client Bridge.
  10. Your wireless network mode should be set to the same as the primary router.
  11. Set the wireless channel to match your primary router channel
  12. If you are using N only or Mixed with N, set your wireless channel width to match your primary
  13. Set the wireless network name to exactly the same as your primary router. Make sure spelling and capitalization match.
  14. Hit SAVE at the bottom. Then hit APPLY.
  15. Check to make sure all the configurations, including the mode, saved and the mode is still client bridge. If any changed, fix them, and save again.
  16. Goto Setup, basic setup and enter a router Local IP address of 192.168.1.6. (Presuming your primary router is on the 192.168.1.x subnet. Client bridge must match the subent of the primary router) Leave subnet mask at 255.255.255.0.
  17. Set the Gateway IP to your primary router. (Likely 192.168.1.1)
  18. Leave Local DNS blank
  19. Check Assign Wan port to a switch, if you wish to.
  20. Change your timezone and DST to match where you are.
  21. Hit Apply.
  22. Set your browser to 192.168.1.6 and login to your router
  23. Goto Security, Firewall. Under Block Wan Requests, uncheck everything but "Filter Multicast" (Leave Filter multicast checked).
  24. Hit Save
  25. Disable SPI Firewall
  26. Hit Apply.
  27. Go to setup/advanced routing and change the operating mode from "gateway" to router. Hit Apply.
  28. Set your computer back to auto IP and auto DNS.

You are done. Configure any other settings you wish at this point.

If you have any difficulty setting this up, disable all encryption on all devices, do a hard reset on the client bridge router, and start again.