Wireless Bridge

From DD-WRT Wiki

Revision as of 19:10, 31 October 2005 by 86.137.224.231 (Talk)
Jump to: navigation, search

You are here: Main Page/DD-WRT Doku (EN)/Wireless Bridge

Contents

Introduction

Wireless Bridging does exactly what it sounds like. It will allow a WRT54G to act as a bridge between a wireless router (of any make/brand) and the ethernet ports on the WRT54G. This is unlike Client Mode Wireless in that in Client Mode, the WRT acts as a client connecting to the main router creating 2 seperate networks and enabling NAT between the wireless and the wired ports.

Bridging does not have these problems and wired clients simply join the original network. This makes portforwarding easier, as well as puts all clients into the same broadcast domain.

Instructions

A very good forum post was made by kkennedy070790 about running a WRT54G using DD-WRT as a wireless bridging.

Find it here: http://forum.bsr-clan.de/viewtopic.php?t=1750&highlight=bridge#11522


A very simple step-by-step description to connect a WRT54G running DD-WRTV23:

1. Add WAN MAC-Address of WRT54Gto your mac filter list on your base station.

2. Connect to your WRT54G (normally 192.168.1.1) by wire which should act as client bridge.

3. Enable Wireless Security (in Wireless/Wireless Security) as used, eg. WEP and configure it as used in your local network.

4. In Wireless/Basic Settings choose "Client-Bridged" as Wireless Mode and set SSID, Wireless channel and Network Mode can be set to same values as your Base Station, normally Auto / Mixed.

Thats all. On next wired connect to your wrt54g you should get an IP Adress from your network.

If you want to configure your new wrt54g bridge again, set a static ip adress of 192.168.1.x network to your client and you can reach the wrt54g as 192.168.1.1. by wire.

V23 Firmware (beta)

In v23 firmware (soon to be final), you can set up the bridge from the Wireless->Wireless Mode menu. Just select "Client Bridged". This will automatically turn off DHCP. Note that only the Network Mode (b/g) and SSID settings are used in Client Bridged mode.

New to Client Bridging?

Here's some extra information about client bridging and some, perhaps unexpected, side effects. (If you're a wireless networking wizard, you'll know this already.)

When you've switched to Client Bridge mode you won't be accessing the remote AP until your IP changes unless your box and the remote network are on the same subnet. For example, say you have:

linksys box IP:         192.168.1.1
your computer:          192.168.1.100
remote network gateway: 10.0.0.1

Once you've made the configuration changes in your router, you'll need to get a new address to access the remote network. A simple way to do this with most computers is to unplug the network cable count to 10 and plug it in again. When the cable is plugged in again, it will get a new lease, but this time from the remote computer. For example, it will get an address in the 10.0.0.x range, e.g. 10.0.0.100. Now you'll be able to use the internet over the wireless link as you expect.

However, you won't be able to access your Linksys to administer it. The solution is to turn off DHCP and use a static IP (e.g. 192.168.1.99), or, alternatively, assign an address for your Linksys from the remote subnet (e.g. 10.0.0.2). Be careful, however, not to pick an address already in use.

Future

This page should eventually contain the information in the link above with the original link sited, along with any DD-WRT specific updates to the instructions.

External References

Wireless Bridging Forum Post by kkennedy070790


You are here: Main Page/DD-WRT Doku (EN)/Wireless Bridge