VLAN Bridging WAN and a LAN port

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 07:49, 3 August 2006 (edit)
Stubble (Talk | contribs)

← Previous diff
Current revision (23:56, 15 January 2010) (edit) (undo)
Phuzi0n (Talk | contribs)
(Redirect to Switched Ports page that is more robust)
 
(5 intermediate revisions not shown.)
Line 1: Line 1:
-''For WRT54GS v2''+#REDIRECT [[Switched_Ports#Second_WAN_port]]
- +
-If your ISP gives you multiple public IPs, and you want to hang a second router or other device on your main router with direct access to the WAN, fear not, it's easy:+
- +
-Your original VLAN should look like this (among other lines) if you run the command <code>nvram show |grep vlan</code>+
- +
- vlan0ports=1 2 3 4 5*+
- vlan1ports=0 5+
- +
-So the following commands move LAN port 1 to the WAN VLAN:+
- +
- nvram set vlan0ports="2 3 4 5*"+
- nvram set vlan1ports="0 1 5" +
- nvram commit+
- reboot+
- +
-That's it. No firewall rules or bridging needs to be set up. Port 1 is now a direct WAN port, and your second router/AP/server can use one of your extra public IPs.+

Current revision

  1. REDIRECT Switched_Ports#Second_WAN_port