Station Bridge (Routed)

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:03, 30 June 2012 (edit)
Alvin (Talk | contribs)
m (New Wiki Material-Client Bridge)
← Previous diff
Revision as of 00:20, 1 October 2020 (edit) (undo)
Jeremywh7 (Talk | contribs)
m (mention BCM dhd driver issues)
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'''
---- ----
[[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 not a true transparent bridge like WDS. It will cause connection problems for more than a single client. 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.+
- +
-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 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+
-With that in mind, here is how to configure it.+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.
 +*'''Broadcom:''' dhd driver models (e.g. AC5300 routers) cannot support CB (nor repeater bridge) modes since the driver is controlled by wireless firmware internal to the chipset. This makes it impossible to implement fake bridge modes, [http://svn.dd-wrt.com/ticket/6296#comment:5 and is not fixable]. While it can sometimes work without encryption, there is no guarantee nor official support. The driver [https://www.dd-wrt.com/phpBB2/viewtopic.php?p=1128573#1128573 will usually crash] in these modes.
-# 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.+Client Bridge with dd-wrt SP1 won't work. If CB will not work on your hardware, try [[Client Mode]] instead.
-# Do a HARD reset 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 browser to 192.168.1.1 and open the dd-wrt webgui.+
-# 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.+
-# Hit SAVE, (or APPLY if you wish to) +
-# 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.+
-# 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.+
-# 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.+
-# 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)+
-# Leave Local DNS blank+
-# Check Assign Wan port to a switch, if you wish to.+
-# Change your timezone and DST to match where you are.+
-# Hit Apply.+
-# Set your browser to 192.168.1.6 and login to your router+
-# Goto Security, Firewall. Under Block Wan Requests, uncheck everything but "Filter Multicast" (Leave Filter multicast checked).+
-# Hit Save+
-# Disable SPI Firewall+
-# Hit Apply.+
-# Go to setup/advanced routing and change the operating mode from "gateway" to router. Hit Apply.+
-# Set your computer back to auto IP and auto DNS.+
-You are done. Configure any other settings you wish at this point.+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.
-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.+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.'''
 +#*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.
 +#Connect a cable from your computer to the LAN port on your router.
 +#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 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.
 +#FIRST go to ''Wireless->Wireless Security'' and set the security type and key from the primary router.
 +#Click SAVE, and then APPLY.
 +#Go to the ''Wireless->Basic Settings'' page and change the wireless mode to Client Bridge.
 +#*'''For multi-band routers, only use Repeater on one radio'''
 +#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 the primary.
 +#Set the wireless network name exactly the same as your primary router.
 +#*'''Spelling, whitespace, and capitalization must match!'''
 +#Click SAVE, and then APPLY.
 +#Verify all the configurations, including the mode, are correct. 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.
 +#Set the ''Gateway IP'' to your primary router, usually 192.168.1.1
 +#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
 +#Check ''Assign Wan port to a switch'' (recommended, as this makes post-reset setup easier)
 +#*Client Bridge mode automatically disables the WAN
 +#Set the Timezone and DST appropriately
 +#Click SAVE, and then APPLY.
 +#Go to the new Client Bridge IP address in the browser e.g. 192.168.1.6
 +#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'' [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1099695#1099695 (workaround for issues)]
 +#Click Save, and then Apply.
 +#Go to ''Setup->Advanced Routing'': change the ''Operating Mode'' from Gateway to Router.
 +#Click SAVE, and then APPLY
 +#Set your computer back to automatic IP and DNS.
 +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 ==
-* The previous version of this page remains for reference at [[Wireless_Bridge]]+*The deprecated version of this page remains for reference at [[Wireless_Bridge]]
-[[Category:Switch]] 
[[Category:Wlan]] [[Category:Wlan]]
 +[[Category:Linking Routers]]

Revision as of 00:20, 1 October 2020


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 not a true transparent bridge like WDS. It will cause connection problems for more than a single client. 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.
  • Broadcom: dhd driver models (e.g. AC5300 routers) cannot support CB (nor repeater bridge) modes since the driver is controlled by wireless firmware internal to the chipset. This makes it impossible to implement fake bridge modes, and is not fixable. While it can sometimes work without encryption, there is no guarantee nor official support. The driver will usually crash in these modes.

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.
    • For multi-band routers, only use Repeater on one radio
  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 deprecated version of this page remains for reference at Wireless_Bridge