DUAL WAN E2000 / WRT320N

From DD-WRT Wiki

Revision as of 15:33, 24 April 2011 by Monsters Inc (Talk | contribs)
Jump to: navigation, search

DUAL WAN E2000 / WRT320N This tutorial brings to you all the steps to allow your E2000 Router into "DUAL WAN" with DHCP on every WAN port, asumming you have 2 ISP providers and they gives you an "always on" connection (no ppoe) just plug the patch cord in your wan port and you receive a public IP address.

I`m Using "DD-WRT v24-sp2 (04/11/11) mini - build 16773M NEWD-2 K2.6 Eko"

First Approach to "Dual Wan" on this models is to have clear the standards vlans & ports defalt configuration :

E2000 Default Port & Vlan Asignation.

root@DD-WRT:~# nvram show | grep vlan.*ports
vlan2ports=0 8
size: 19998 bytes (41442 left)
vlan1ports=4 3 2 1 8*

It means : Physic port 0 (WAN) = WAN port Logic
Physic port 4 = LAN port 1 Logic
Physic port 3 = LAN 2 Logic
Physic port 2 = LAN 3 Logic
Physic port 1 = LAN 4 Logic
Port 8 = It has to be present en every VLAN since it is a logical bridge

Next Step is to have clear port membership on every VLAN.

root@DD-WRT:~# nvram show | grep port.*vlans
port5vlans=1 2 16
port3vlans=1
port1vlans=1
port4vlans=1
port2vlans=1
size: 19998 bytes (41442 left)
port0vlans=2

It Means : Ports 3 , 1 , 4 and 2 belongs only to VLAN 1
Port 0 (WAN) belongs to VLAN 2
Port 5 Vlans is an internal port just for bridging and you don have to consider this port.

Next Step is to have clear the Name of the vlans in Logical inteface name.

root@DD-WRT:~# nvram show | grep vlan.*hwname
size: vlan2hwname=et0
19998 bytes (41442 left)
vlan1hwname=et0

It means VLAN1 & VLAN2 are part of interface ETH0

Next Step is to create space by enabling jffs to hold load balancing & Firewall scripts.
E2000 & WRT320N have 8MB Flash & 32 MB Ram so you have plenty space to save scripts on JFFS space.

Go to "Administration TAB" then "Management TAB" and change the values to ENABLE JFFS and CLEAN JFFS, then Hit "Save" and "Apply Settings" and finally "Reboot Router"

Next Step is to allow SSH protocol to transfer files to JJFS Space created in our router.
When Router comes back alive again , It is time to allow connections through SSH protocol : Is is done from the TAB "Services" and look for "Secure Shell" on the menu SSHd just click "Enable" now again , Hit "Save" button an the botton of that page, next " Apply Setting" and next "Reboot Router"