Station Bridge (Routed)
From DD-WRT Wiki
Revision as of 01:53, 16 November 2010 (edit) Nopick (Talk | contribs) m (→V24 builds) ← 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: | ||
- | + | {{Languages|Client Bridged}} | |
- | + | ||
- | + | ||
- | First of all, do not even try to do client bridge with dd-wrt SP1. It won't work. | ||
- | |||
- | 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. | ||
- | |||
- | 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 | ||
- | |||
- | 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. | ||
- | # 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 should be set to the same as the primary router. | ||
- | # 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 your primary | ||
- | # Set the wireless network name to exactly the same as your primary router. Make sure spelling and capitalization match. | ||
- | # Set Ack timing to 0 unless you have a long distance (>300 meter) link | ||
- | # 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. 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. | ||
- | |||
- | ==Former Wiki Material== | ||
- | |||
- | PLEASE NOTE: | ||
- | |||
- | (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.''' | ||
+ | '''''Wiki Path''''': [[Main_Page|DD-WRT Wiki Main]] / [[Tutorials]] / [[Linking Routers]] / '''Client Bridged''' | ||
---- | ---- | ||
- | = | + | [[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 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 [[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. | ||
- | + | 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: | |
+ | #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. | ||
- | + | 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 | ||
- | + | <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 == | |
- | + | *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
English • Deutsch • Español • Français • Italiano • 日本語 • Polski • Português • Русский • Svenska • 中文(中国大陆) • 中文(台灣) • |
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:
- Download a recommended build: The Router Database does NOT have recommended builds.
- See Where do I download firmware?, new build threads, and (for Broadcom) 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" (see why here)
- Disable SPI Firewall (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.
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