WAN Port

From DD-WRT Wiki

Revision as of 18:07, 15 May 2006 by Gerrys (Talk | contribs)
Jump to: navigation, search

Adding WAN Port to Switch (use as a normal LAN port)

When the WRT is used as an Access Point (AP) or repeater (WDS), the WAN port can easily be configured as a normal LAN port.

Use the following steps:

1.)

Under "Setup" -> "Basic Setup"
Set "Internet Setup" to "Disabled"


2.)

Under "Setup" -> "VLANs"
- Select "LAN" under "Assigned to bridge" for VLAN 1 * This will set the WAN port (vlan1) is part of the LAN bridge (br0).


3.)

The VLAN setting should show something like:
             |       Port        |   Assigned
     VLAN    |-------------------|   to bridge
             | W | 1 | 2 | 3 | 4 |
    --------------------------------------------
       0     |   | x | x | x | x |     LAN
    --------------------------------------------
       1     | x |   |   |   |   |     LAN
    --------------------------------------------
       2     |   |   |   |   |   |     None
    --------------------------------------------
      ...
    --------------------------------------------
     Tagged  |   |   |   |   |   |
    ------------------------------

4.)

Save Settings

5.)

Reset the Router
  (See Note)


Note:

  Rebooting the router (Step 5) is not required if you issue
  the following command at a terminal (SSH,Telnet).
  
  However, ONLY issuing the command WITHOUT the steps (1-4)
  above will ONLY last until the next reboot).



Command:
  'brctl addif br0 vlan1'


An alternate method of configuring the WAN port as a 5th LAN port is described HERE



Q. It would be nice to be able to assign different networks to each of the ports.. Is there any work done in this direction?

A. Easy step-by-step instructions for putting port 4 on it's own subnet can be found HERE