WAN Port

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:50, 23 July 2009 (edit)
S2s2 (Talk | contribs)
m (link to alternate method is the wrong article. Anyway this stuff is easy!)
← Previous diff
Revision as of 04:04, 23 July 2009 (edit) (undo)
S2s2 (Talk | contribs)
(Article was way too complex, and some of the instructions were wrong or out of date.)
Next diff →
Line 1: Line 1:
-== 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. 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.)'''<br /> 
- Under "Setup" -> "Basic Setup"<br /> 
- Set "Internet Setup" to "Disabled" 
-<br /> 
-'''2.)'''<br /> 
- Under "Setup" -> "VLANs"<br /> 
- - Select "LAN" under "Assigned to bridge" for VLAN 1 
- * This will set the WAN port (vlan1) is part of the LAN bridge (br0). 
- - '''LaFonera''' (tested with v.2007-0126): Just set Setup-->Basic Setup-->Internet Setup-->[[Internet Connection Type]] to [["Disabled"]] 
- ( Source: [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=10247&sid=a6c4cb6929ef0aab0aa427a622c2d87a] (german)) 
- 
-<br /> 
-'''3.)'''<br /> 
- The VLAN setting should show something like: 
-<pre> 
- | Port | Assigned 
- VLAN |-------------------| to bridge 
- | W | 1 | 2 | 3 | 4 | 
- -------------------------------------------- 
- 0 | | x | x | x | x | LAN 
- -------------------------------------------- 
- 1 | x | | | | | LAN 
- -------------------------------------------- 
- 2 | | | | | | None 
- -------------------------------------------- 
- ... 
- -------------------------------------------- 
- Tagged | | | | | | 
- ------------------------------ 
-</pre> 
-'''4.)'''<br /> 
- Save Settings 
- 
-'''5.)'''<br /> 
- Reset the Router 
- (See Note) 
-<br /> 
- 
-<pre> 
-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' 
-</pre> 
- 
-<pre> 
- I tried above and it didn't worked for me. I attached a device on the WAN- 
- port. I pinged this device endlessly and watched it, to see if my changes 
- are successful. I realized, that the pings went through after rebooting 
- the router. But after a few seconds the device was unreachable again. I 
- ssh'd to my router and did a look with '~#ifconfig' for the interfaces and 
- saw, that device 'vlan1' was missing. I (re)activated the interface with 
- '~#ifconfig vlan1 up' and the pings immediately went through! To 
- automatically issue this command after reboot, I did the following on the 
- shell of the router: 
- 
- ~#nvram set rc_startup='ifconfig vlan1 up' 
- ~#nvram commit 
- ~#reboot 
-  
- HTH - kernal/19.04.2007 
-</pre> 
- 
----- 
-Q. It would be nice to be able to assign different networks to each of the ports..+== Adding WAN Port to LAN Switch to use as an additional, normal LAN port==
-Is there any work done in this direction?+Note: Steps are true for firmwares current as of the author date of this article. v2.4, post SP2 firmwares. These steps were done with build 12307 (2009 06 17), widely regarded as stable. Other firmware builds of DD-WRT have the same or very similar steps.
-A. Easy step-by-step instructions for putting port 4 on it's own subnet can be found [http://www.linksysinfo.org/forums/showthread.php?t=41412 HERE]+# Open up the Web Interface to your DD-WRT Device
 +# Set WAN 'Connection Type' to Disabled.
 +# Down the Basic Setup page, the option WAN Port appears. Check the box 'Assign WAN Port to Switch'.
 +# Save/Reboot
-----+The WAN port is now the same as the other LAN ports.
-In v23 SP2 there is a option in Setup -> Basic Setup -> "Assign WAN Port to Switch" - Tick it and re-boot.+
---- ----
[[Category:English documentation]] [[Category:English documentation]]
[[Category:Advanced tutorials]] [[Category:Advanced tutorials]]

Revision as of 04:04, 23 July 2009

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.

Adding WAN Port to LAN Switch to use as an additional, normal LAN port

Note: Steps are true for firmwares current as of the author date of this article. v2.4, post SP2 firmwares. These steps were done with build 12307 (2009 06 17), widely regarded as stable. Other firmware builds of DD-WRT have the same or very similar steps.

  1. Open up the Web Interface to your DD-WRT Device
  2. Set WAN 'Connection Type' to Disabled.
  3. Down the Basic Setup page, the option WAN Port appears. Check the box 'Assign WAN Port to Switch'.
  4. Save/Reboot

The WAN port is now the same as the other LAN ports.