Station Bridge (Routed)

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:35, 9 June 2011 (edit)
Geetek (Talk | contribs)
(New Wiki Material-Client Bridge)
← Previous diff
Revision as of 16:50, 19 February 2018 (edit) (undo)
Jeremywh7 (Talk | contribs)
m (fix wiki path)
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==+[[image:Client_Bridge.jpg|660px]]
 +==Client Bridge (New Wiki)==
 +'''Only use this mode or Repeater Bridge if all of the other modes are not suitable, eg WDS, Client 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.
 +*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. It won't work. Also if you can't get Client Bridged to work on your hardware then try Client Mode instead.+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.
-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.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 for your router. DO NOT USE SP1.
-# 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.+#*For Broadcom routers, 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.''' See [https://www.dd-wrt.com/wiki/index.php/Index:FAQ#Where_do_I_download_firmware.3F Where do I download firmware?] and see the forum build threads for recommendations.
# 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 20: Line 26:
# 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 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!'''
-# Hit SAVE at the bottom. Then hit APPLY.+# Click SAVE, and then 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.+# Verify all the configurations, including the mode, are correct. If any changed, fix them, and Save again.
-# 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.+# 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.
-# Set the Gateway IP to your primary router. (Likely 192.168.1.1)+# Set the ''Gateway IP'' to your primary router, usually 192.168.1.1
-# Leave Local DNS blank+# Leave ''Local DNS'' blank (Some posts say to set local DNS to the same as the gateway IP)
-# Check Assign Wan port to a switch, if you wish to.+#* If you cannot access the internet, put the gateway IP in this section
-# Change your timezone and DST to match where you are.+# Check ''Assign Wan port to a switch'' (recommended, as this makes post-reset setup easier)
-# Hit Apply.+#*Client Bridge mode automatically disables the WAN
-# Set your browser to 192.168.1.6 and login to your router+# Set the Timezone and DST appropriately
-# Goto Security, Firewall. Under Block Wan Requests, uncheck everything but "Filter Multicast" (Leave Filter multicast checked).+# Click SAVE, and then APPLY.
-# Hit Save+# Go to the new Client Bridge IP address in the browser e.g. 192.168.1.6
-# Disable SPI Firewall+# 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)]
-# Hit Apply.+# Disable ''SPI Firewall'' [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1099695#1099695 (workaround for issues)]
-# Go to setup/advanced routing and change the operating mode from "gateway" to router. Hit Apply.+# Click Save, and then Apply.
-# Set your computer back to auto IP and auto DNS.+# Go to ''Setup->Advanced Routing'': change the ''Operating Mode'' from Gateway to Router.
- +# Click SAVE, and then APPLY
-You are done. Configure any other settings you wish at this point.+# Set your computer back to automatic IP and DNS.
- +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. If it works without encryption, check your encryption passphrase and types match.+
-<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 55: Line 62:
[[Category:Switch]] [[Category:Switch]]
[[Category:Wlan]] [[Category:Wlan]]
 +[[Category:Basic tutorials]]

Revision as of 16:50, 19 February 2018


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


Client Bridge (New Wiki)

Only use this mode or Repeater Bridge if all of the other modes are not suitable, eg WDS, Client 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, 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.
    • For Broadcom routers, first read the Peacock thread for recommended builds. The Router Database does not have recommended builds. See Where do I download firmware? and see the forum build threads for recommendations.
  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