Station Bridge (Routed)

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:01, 21 September 2013 (edit)
Crushedbyadwarf (Talk | contribs)
m (New Wiki Material-Client Bridge)
← Previous diff
Revision as of 14:31, 25 June 2019 (edit) (undo)
Jeremywh7 (Talk | contribs)
m (Client Bridge (New Wiki))
Next diff →
Line 2: Line 2:
-You are here: '''[[Main_Page|DD-WRT wiki mainpage]] / [[Linking_Routers|Linking Routers]] / Client Bridged'''+'''''Wiki Path''''': [[Main_Page|DD-WRT Wiki Main]] / [[Tutorials]] / [[Linking Routers]] / '''Client Bridged'''
---- ----
[[image:Client_Bridge.jpg|660px]] [[image:Client_Bridge.jpg|660px]]
-==New Wiki Material-Client Bridge==+==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.
-This mode is NOT for WIRED connections between two routers! It is a wireless connection between two routers only.+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.
-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.+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 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+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, 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 ==
Line 56: Line 60:
-[[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