Client Bridged

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:57, 31 August 2015 (edit)
Steved64 (Talk | contribs)
m (added reference to Repeater_Bridge having similar function in newer versions)
← Previous diff
Revision as of 15:15, 1 December 2017 (edit) (undo)
Jeremywh7 (Talk | contribs)
(New Wiki Material-Client Bridge)
Next diff →
Line 6: Line 6:
[[image:Client_Bridge.jpg|660px]] [[image:Client_Bridge.jpg|660px]]
-==New Wiki Material-Client Bridge==+==Client Bridge (New Wiki)==
 +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.
 +*If using a multi-band router, the other radio(s) ''Wireless Mode'' can be set as ''AP''. For example, the 2.4GHz radio can be set as the CB while the 5GHz is an AP, or vice versa.
-This mode is NOT for WIRED connections between two routers! It is a wireless connection between two routers only. All devices other than the primary router MUST be connected by a wire to the client bridge router.+First of all, do not even try to do Client Bridge with dd-wrt SP1, as it won't work. If you can't get CB to work on your hardware, try [[Client Mode]] instead.
-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.+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.
-Also note that in newer dd-wrt versions on newer hardware e.g. MIMO radios, Client Bridged no longer exists in the list of operating modes and you should use [[Repeater_Bridge]] - which gives you a bridge to both wired clients and a 2nd AP extended to potentially more wireless clients, all of which will be bridged through the Repeater Bridge device. If you have older firmware with Client Bridge mode then read on...+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 for your router. DO NOT USE SP1. If you are using a Broadcom router, first read the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock thread] for recommended builds. '''The Router Database does not have recommended builds.'''
-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, when you are configuring your CB router, set it to 192.168.1.6+
- +
-With that in mind, here is how to configure it.+
- +
-# 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.+
# 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.
Line 26: Line 23:
# Go FIRST to wireless, wireless security and enter the security type and key that matches your primary router. # Go FIRST to wireless, wireless security and enter the security type and key that matches your primary router.
# Hit SAVE, (or APPLY if you wish to) # Hit SAVE, (or APPLY if you wish to)
-# 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, channel and encryption should be set to the same as the primary router.+# The wireless network mode, channel, and encryption match the primary router settings.
-# 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 the 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 exactly the same as your primary router.
-# Hit SAVE at the bottom. Then hit APPLY.+#*'''Spelling, whitespace, and capitalization must match!'''
-# 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.+# Click SAVE, and then APPLY.
-# 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.+# Verify all the configurations, including the mode, are correct. If any changed, fix them, and Save again.
-# Set the Gateway IP to your primary router. (Likely 192.168.1.1)+# 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.
-# Leave Local DNS blank (Some posts say you need to set local DNS to the same as the gateway IP so if you cannot access the internet, put the gateway in this section)+# Set the ''Gateway IP'' to your primary router, usually 192.168.1.1
-# Check Assign Wan port to a switch, if you wish to.+# Leave ''Local DNS'' blank (Some posts say to set local DNS to the same as the gateway IP)
-# Change your timezone and DST to match where you are.+#* If you cannot access the internet, put the gateway IP in this section
-# Hit Apply.+# Check ''Assign Wan port to a switch'' (recommended, as this makes post-reset setup easier)
-# Set your browser to 192.168.1.6 (or 192.168.A.6 with A=0 or whatever, if your subnet is different) and login to your router+#*Client Bridge mode automatically disables the WAN
-# Goto Security, Firewall. Under Block Wan Requests, uncheck everything but "Filter Multicast" (Leave Filter multicast checked).+# Set the Timezone and DST appropriately
-# Hit Save+# Click SAVE, and then APPLY.
-# Disable SPI Firewall+# Go to the new Client Bridge IP address in the browser e.g. 192.168.1.6
-# Hit Apply.+# 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)]
-# Go to setup/advanced routing and change the operating mode from "gateway" to router. Hit Apply.+# Disable ''SPI Firewall'' [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1099695#1099695 (workaround for issues)]
-# Set your computer back to auto IP and auto DNS.+# Click Save, and then Apply.
- +# Go to ''Setup->Advanced Routing'': change the ''Operating Mode'' from Gateway to Router.
-You are done. Configure any other settings you wish at this point.+# Click SAVE, and then APPLY
- +# Set your computer back to automatic IP and DNS.
-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. If it works without encryption, check your encryption passphrase and types match.+Configure any other settings you wish at this point.
-<b>Video Instructions</b> http://www.youtube.com/watch?v=Ud-Hq3kgvk4+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
-There are errors in this video especially as related to security settings and the use of the 'join' button. It should not be used in substitution of the better instructions above.+<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.
==Reference == ==Reference ==

Revision as of 15:15, 1 December 2017


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


Client Bridge (New Wiki)

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, the other radio(s) Wireless Mode can be set as AP. For example, the 2.4GHz radio can be set as the CB while the 5GHz is an AP, or vice versa.

First of all, do not even try to do Client Bridge with dd-wrt SP1, as it won't work. If you can't get CB to 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 for your router. DO NOT USE SP1. If you are using a Broadcom router, first read the Peacock thread for recommended builds. 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 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. 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