Station Bridge (Routed)

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 07:05, 11 May 2010 (edit)
Iceman12 (Talk | contribs)
m (V24 builds)
← Previous diff
Revision as of 14:31, 25 June 2019 (edit) (undo)
Jeremywh7 (Talk | contribs)
m (Client Bridge (New Wiki))
Next diff →
Line 1: Line 1:
-You are here: '''[[Main_Page|DD-WRT wiki mainpage]] / [[Linking_Routers|Linking Routers]] / Client Bridged'''+{{Languages|Client Bridged}}
 + 
 + 
 +'''''Wiki Path''''': [[Main_Page|DD-WRT Wiki Main]] / [[Tutorials]] / [[Linking Routers]] / '''Client Bridged'''
---- ----
-==New Wiki Material-Client Bridge== 
-The instructions that work the best is to follow the "Repeater Bridge" instructions. The only difference is on step 5 leave out the entire Virtual Interfaces section. Here is the link. http://www.dd-wrt.com/wiki/index.php/Repeater_Bridge+[[image:Client_Bridge.jpg|660px]]
 +==Client Bridge (New Wiki)==
 +'''Only use this or Repeater Bridge mode if all of the others are unsuitable: WDS, Client, Repeater, or AP.''' Client Bridge will never be as stable as any of those modes. It is by design a hack and may cause connection problems. See [[Linking Routers]] for a description of each of the modes.
-First of all, do not even try to do client bridge with dd-wrt SP1. It won't work.+Client Bridge (CB) extends a wired LAN using a wireless connection, as opposed to an [[Wireless_Access_Point|Access Point]] that extends the Wireless LAN (WLAN) using a wired connection. CB is a '''wireless''' connection ('''NOT wired''') between two routers only. All devices connections, besides the primary router, MUST be wired to the CB router.
 +*'''<font color=darkred>If using a multi-band router, do not set more than one band to CB.</font>''' The other radio(s) would normally be set as ''AP''. For example, the 2.4GHz radio can a CB while the 5GHz is an AP, or vice versa.
-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.+Client Bridge with dd-wrt SP1 won't work. If CB will not work on your hardware, try [[Client Mode]] instead.
-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+Also note that on newer hardware and dd-wrt versions, e.g. MIMO radios, Client Bridge may not exist in the list of wireless modes. In this case, use [[Repeater Bridge]] - which provides a bridge to both wired clients and another AP extended for more potential wireless clients, all of which will be bridged through the Repeater Bridge device.
-With that in mind, here is how to configure it.+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 as 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 use something else not in the DHCP range. Instructions:
- +#Download a recommended build: '''The ''Router Database'' does NOT have recommended builds.'''
-# 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.+#*See [[Firmware_FAQ#Where_do_I_download_firmware.3F|Where do I download firmware?]], new build threads, and (for Broadcom) [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock thread]
# Do a HARD reset on your router. # Do a HARD reset on your router.
# Connect a cable from your computer to the LAN port on your router. # Connect a cable from your computer to the LAN port on your router.
-# Set your computer to a static IP address of 192.168.1.9+# Set your computer to a static IP address e.g. 192.168.1.9
-# Set your browser to 192.168.1.1 and open the dd-wrt webgui.+# Set your browser to 192.168.1.1 and open the dd-wrt GUI.
# 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. # 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.
-# Go FIRST to wireless, wireless security and enter the security type and key that matches your primary router.+# FIRST go to ''Wireless->Wireless Security'' and set the security type and key from the primary router.
-# Hit SAVE, (or APPLY if you wish to) +# Click SAVE, and then APPLY.
-# Go to the wireless, basic settings page and change the wireless mode to Client Bridge. +# Go to the ''Wireless->Basic Settings'' page and change the wireless mode to Client Bridge.
-# Your wireless network mode should be set to the same as the primary router.+# The wireless network mode, channel, and encryption match the primary router settings.
-# Set the wireless channel to match your primary router channel+# If you are using N-only or Mixed with N, set your wireless channel width to match the 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 exactly the same as your primary router.
-# Set the wireless network name to exactly the same as your primary router. Make sure spelling and capitalization match.+#*'''Spelling, whitespace, and capitalization must match!'''
-# Set Ack timing to 0 unless you have a long distance (>300 meter) link+# Click SAVE, and then APPLY.
-# Hit SAVE at the bottom. Then hit APPLY.+# Verify all the configurations, including the mode, are correct. 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.+# Go to ''Setup->Basic Setup'' and enter a router Local IP address e.g. 192.168.1.6 if your primary router is on that subnet. Client Bridge subnet must match the primary router. Subnet mask is usually 255.255.255.0.
-# Goto Setup, basic setup and enter a router Local IP address of 192.168.1.6. Leave subnet mask at 255.255.255.0.+# Set the ''Gateway IP'' to your primary router, usually 192.168.1.1
-# Set the Gateway IP to your primary router. (Likely 192.168.1.1)+# Leave ''Local DNS'' blank (Some posts say to set local DNS to the same as the gateway IP)
-# Leave Local DNS blank+#* If you cannot access the internet, put the gateway IP in this section
-# Check Assign Wan port to a switch, if you wish to.+# Check ''Assign Wan port to a switch'' (recommended, as this makes post-reset setup easier)
-# Change your timezone and DST to match where you are.+#*Client Bridge mode automatically disables the WAN
-# Hit Apply.+# Set the Timezone and DST appropriately
-# Set your browser to 192.168.1.6 and login to your router+# Click SAVE, and then APPLY.
-# Goto Security, Firewall. Under Block Wan Requests, uncheck everything but "Filter Multicast" (Leave Filter multicast checked).+# Go to the new Client Bridge IP address in the browser e.g. 192.168.1.6
-# Hit Save+# Go to ''Security->Firewall'': under ''Block Wan Requests'' uncheck all '''but''' "Filter Multicast" [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=321811#321811 (see why here)]
-# Disable SPI Firewall+# Disable ''SPI Firewall'' [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1099695#1099695 (workaround for issues)]
-# Hit Apply.+# Click Save, and then Apply.
-# Go to setup/advanced routing and change the operating mode from "gateway" to router. Hit Apply.+# Go to ''Setup->Advanced Routing'': change the ''Operating Mode'' from Gateway to Router.
-# Set your computer back to auto IP and auto DNS.+# Click SAVE, and then APPLY
 +# Set your computer back to automatic IP and DNS.
 +Configure any other settings you wish at this point.
-You are done. Configure any other settings you wish at this point.+If you have any difficulty, disable encryption on all devices, do a hard reset on the client bridge router, and start again. If it works without encryption, check that the encryption passphrase and types match.
 +*Some OEM routers or client devices may have difficulty with spaces or special characters
-==Former Wiki Material==+<b>Video Instructions</b>: [https://www.youtube.com/watch?v=KE1mr-TXUPo Youtube]
 +There may be errors in this video such as related to security settings and the use of the 'join' button. It should not be used in substitution of the better instructions above.
-PLEASE NOTE:+==Reference ==
- +* The previous version of this page remains for reference at [[Wireless_Bridge]]
-(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-Final+
-V24-SP1+
-V24 Pre-SP2+
- +
- +
-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-Personal+
-#**Note - Don't use WPA2 for Client Bridge mode. (But it worked with WPA2 for me with V24 SP2 micro on Asus 520GC, so you might want to give it a shot)+
-#*If WPA is chosen - use only TKIP or AES...not TKIP+AES+
-#**Note - the Primary router can be running WPA TKIP+AES+
-#**Note - 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+
- +
- +
-----+
- +
-=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:Wlan]] [[Category:Wlan]]
 +[[Category:Linking Routers]]

Revision as of 14:31, 25 June 2019


Wiki Path: DD-WRT Wiki Main / Tutorials / Linking Routers / Client Bridged


Client Bridge (New Wiki)

Only use this or Repeater Bridge mode if all of the others are unsuitable: WDS, Client, Repeater, or AP. Client Bridge will never be as stable as any of those modes. It is by design a hack and may cause connection problems. See Linking Routers for a description of each of the modes.

Client Bridge (CB) extends a wired LAN using a wireless connection, as opposed to an Access Point that extends the Wireless LAN (WLAN) using a wired connection. CB is a wireless connection (NOT wired) between two routers only. All devices connections, besides the primary router, MUST be wired to the CB router.

  • If using a multi-band router, do not set more than one band to CB. The other radio(s) would normally be set as AP. For example, the 2.4GHz radio can a CB while the 5GHz is an AP, or vice versa.

Client Bridge with dd-wrt SP1 won't work. If CB will not work on your hardware, try Client Mode instead.

Also note that on newer hardware and dd-wrt versions, e.g. MIMO radios, Client Bridge may not exist in the list of wireless modes. In this case, use Repeater Bridge - which provides a bridge to both wired clients and another AP extended for more potential wireless clients, all of which will be bridged through the Repeater Bridge device.

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 as 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 use something else not in the DHCP range. Instructions:

  1. Download a recommended build: The Router Database does NOT have 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 e.g. 192.168.1.9
  5. Set your browser to 192.168.1.1 and open the dd-wrt GUI.
  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. FIRST go to Wireless->Wireless Security and set the security type and key from the primary router.
  8. Click SAVE, and then APPLY.
  9. Go to the Wireless->Basic Settings page and change the wireless mode to Client Bridge.
  10. The wireless network mode, channel, and encryption match the primary router settings.
  11. If you are using N-only or Mixed with N, set your wireless channel width to match the primary.
  12. Set the wireless network name exactly the same as your primary router.
    • Spelling, whitespace, and capitalization must match!
  13. Click SAVE, and then APPLY.
  14. Verify all the configurations, including the mode, are correct. If any changed, fix them, and Save again.
  15. Go to Setup->Basic Setup and enter a router Local IP address e.g. 192.168.1.6 if your primary router is on that subnet. Client Bridge subnet must match the primary router. Subnet mask is usually 255.255.255.0.
  16. Set the Gateway IP to your primary router, usually 192.168.1.1
  17. Leave Local DNS blank (Some posts say to set local DNS to the same as the gateway IP)
    • If you cannot access the internet, put the gateway IP in this section
  18. Check Assign Wan port to a switch (recommended, as this makes post-reset setup easier)
    • Client Bridge mode automatically disables the WAN
  19. Set the Timezone and DST appropriately
  20. Click SAVE, and then APPLY.
  21. Go to the new Client Bridge IP address in the browser e.g. 192.168.1.6
  22. Go to Security->Firewall: under Block Wan Requests uncheck all but "Filter Multicast" (see why here)
  23. Disable SPI Firewall (workaround for issues)
  24. Click Save, and then Apply.
  25. Go to Setup->Advanced Routing: change the Operating Mode from Gateway to Router.
  26. Click SAVE, and then APPLY
  27. Set your computer back to automatic IP and DNS.

Configure any other settings you wish at this point.

If you have any difficulty, disable encryption on all devices, do a hard reset on the client bridge router, and start again. If it works without encryption, check that the encryption passphrase and types match.

  • Some OEM routers or client devices may have difficulty with spaces or special characters

Video Instructions: Youtube There may be errors in this video such as related to security settings and the use of the 'join' button. It should not be used in substitution of the better instructions above.

Reference

  • The previous version of this page remains for reference at Wireless_Bridge