[lug] Bridging netwroks with wireless

Ken MacFerrin lists at macferrin.com
Mon May 2 02:06:21 MDT 2005


Collins Richey wrote:
> On 5/1/05, Ken MacFerrin <lists at macferrin.com> wrote:
>   From here
> 
>>just read through the "WDS as a Transparent Wireless Bridge" how-to I
>>wrote in the WRT54G/GS forum and you should be set.  I've been using
>>this setup for months without issues or lockups.
>>
> 
> 
> I would love to read this how-to, but I can't find any article with
> that name in the forum. Googling finds nothing also. Could you provide
> a url, or perhaps even re-post here?
> 

It's one of the first sticky items in the "Linksys WRT54G/GS Discussion" 
forum.  Here's a repost:


How-To: WDS as a Transparent Wireless Bridge
--------------------------------------------
The Setup:
This example was done with 2 WRT54Gv2's running Alchemy-6.0-RC6a v3.01.3.8sv

Internet/Cable Modem <-wired-> Main Router w/dhcp server <-wired-> 
WRT(A) <-wds-> WRT(B) <-wired or wireless-> PC clients

There are also additional PC clients wired directly to Main Router's LAN 
ports.

The Goal:
To get wired or wireless PC clients behind the WDS bridge to recieve 
dhcp addresses from Main Router so that clients on the both sides of the 
WDS bridge are on the same subnet and can communicate transparently.

Steps:
1) Follow the "WDS FAQ and mini how-to" from johnnymac to get the 
initial wireless WDS connection up and running between the two WRT54G's 
using the "LAN method".
http://www.sveasoft.com/modules/phpBB2/viewtopic.php?t=7655

2) You should now have a working WDS connection (hopefully with wireless 
encryption enabled) between your two WRTs but WRT(A) is currently 
performing NAT and serving DHCP addresses, which is what we now want to 
change.

3) First, note the LAN IP and netmask of Main Router. In this example 
we'll assume 192.168.0.1/255.255.255.0. You'll also want to have 2 IP 
addresses set aside that will be on the same subnet but are not within 
the range provided by the DHCP server. For example, set your DHCP server 
address range on Main Router to provide addresses from 192.168.0.100 - 
192.168.0.200. With Main Router's LAN IP set to 192.168.0.1, we'll use 
192.168.0.2 and 192.168.0.3 later for the WRTs.

4) Now, ensure the client PC you are working from is attached to a LAN 
or wLAN port on WRT(B) and login to the admin pages of both WRT's at the 
LAN IP addresses you assigned them in the earlier WDS setup step. These 
are most likely on a different subnet than Main Router (ie: 192.168.1.1).

5) Disconnect the cable between WRT(A) and Main Router for now.

6) Now, go to the (Setup > Basic Setup) page on WRT(A) and set the 
following:
* Internet Connection Type: Disable
* Router IP: 192.168.0.2
* Subnet Mask: 255.255.255.0
* Gateway: 192.168.0.1
* Local DNS: 0.0.0.0
* Leave the DHCP Server enabled for now.
* Save Settings (after saving you won't be able reach the router page 
again until later).

7) Now, go to the (Setup > Basic Setup) page on WRT(B) and set the 
following:
* Internet Connection Type: Disable
* Router IP: 192.168.0.3
* Subnet Mask: 255.255.255.0
* Gateway: 192.168.0.1
* Local DNS: 0.0.0.0
* DHCP Server: Disable
* Save Settings (after saving you won't be able reach the router page 
again until later).

8) Now, refresh the IP address on your PC (or just reboot). You should 
now receive a new 192.186.0.* address.

9) Log back into WRT(B) at 192.168.0.3 and set the following:
(Security > Firewall)
* Firewall Protection: Disable
* Block Anonymous Internet Requests: unchecked
* Save Settings
(Setup > Advanced Routing)
* Operating Mode: OSPF Router
* Dynamic Routing - Interface: Disabled
* Static Routing: There should be no entries. All boxes should be "0".
* Save Settings
(Administration > Management)
* Local Router Access: (you should set a password if you haven't already)
* Remote Management: Disable
* Boot Wait: On
* Loopback: Disable
* Save Settings

10) Log back into WRT(A) at 192.168.0.2 and set the same settings as the 
last step. After doing so, go back to (Setup > Basic Setup) and set 
"DHCP Server: Disable".

11) Now, reconnect the cable between Main Router and WRT(A), BUT connect 
the cable from the LAN port of Main Router to an empty LAN port of WRT(A).

12) Refresh the IP address of your PC again (or reboot). The address you 
now get will be coming from the DHCP server on Main Router.

All the machines connected behind Main Router, on both sides of the WDS 
connection should now be receiving IP address from Main Router and 
should be able to connect to each other. You should also be able to 
administer both WRT's from any machine on the subnet. Enjoy!
-------------------------------------



More information about the LUG mailing list