gave up on dd-wrt, found Tomato DualWAN EN version, flashed it and it works right out of the box!
Is that my GUI mod of the Chinese DualWAN buggy code - with possible backdoors as no source-code ever released?
Why is it buggy? It works absolutely flawless with my two 6Mb DSL lines load balanced and with line test / failover. QoS works perfect too and very easy to setup. Have you ran a portscan on a box or observed any traffic besides NTP or ICMP coming out to substantiate a claim of backdoors? I'm a long time fan of DD-WRT and I still run it on my main RSPro router but for anyoneone not wanting to fumble with scripts and whatnot the Tomato DualWan is a dream come true.. why dont they build a preconfigured dual/multiwan dd-wrt with a gui? Couple that with a highpower unit such as a 610N or 16N router and the peplink/Cisco small business dualwan routers have some serious competition. _________________ DD-WRT w/ Superchannel, Ubiquiti RS Pro @800Mhz, Ubiquiti SR71-A a/n,g/n
I successfully managed to get dual wan load balacing after reading the dual wan with round robin load equalization Wiki page. But I observed a problem with this setup. If one of the links goes down. I can't browse anymore nor ping anything. I have to remove the default route with equalization and the add the default route for the working link.
Is there any way i can avoid doing this and make dd-wrt do this automatically? Isn't the equalization default route supposed to manage this?
Or configure load-balancing equalization with failover ?
I am curently set as follows
jffs2 with the following files
I have not made any changes to the first file.
Added sleep5 to the second file.
Changed the vlan from 1 to 2 and 2 to 3.
added iptables to the jffs folder
added command to start up udhcpc -s /jffs/scripts/udhcpc-wan2.script -i vlan3
added to the firewall
nvram set vlan1ports="4 3 1 8*"
nvram set vlan2ports="0 8"
nvram set vlan3ports="2 8"
nvram set port0vlans="2"
nvram set port1vlans="1"
nvram set port2vlans="3"
nvram set port3vlans="1"
nvram set port4vlans="1"
nvram set port5vlans="1 2 3 16"
nvram set vlan1hwname="ET0"
nvram set vlan2hwname="ET0"
nvram set vlan3hwname="ET0"
nvram set vlan3_bridged="0"
After doing this if i stick in both wan port i get nothing if i remove the new secondary i can get wan.
thank you for any help you can give.
Did you ever find a solution to this? I'm trying to set up dual wan on the same Netgear WNR3500L, and seem to be running into roadblocks no matter which method I attempt.
Posted: Thu Apr 07, 2011 11:45 Post subject: WRT54GL 1.1
trying to get this working with a WRT54GL. EVerything seems to install ok but vlan2 never gets an IP, even when connecting port 4 to one of the other ports on the router.
I used darkhawks scripts to setup/install. One of the wan devices is a cable modem the other is a ADSL modem/router. If i hook the ADSL modem/router to one of the other ports and reboot the wrt54gl the 2nd network gets passed through, the wrt54gl acts like a switch. So i know im able to get an ip.
Im thinking that the wrt54gl is not doing DHCP requests on port 4.
Hi community , i`m trying to write a tutorial for DUAL WAN on E2000 / WRT320 Routers, what I have wrote is what you see below : would you please help me to continue the tutorial ?
DUAL WAN E2000 / WRT320N
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 default configuration :
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
size: 19998 bytes (41442 left)
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.
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"
192.168.10.0/30 dev vlan1 proto kernel scope link src 192.168.10.2
192.168.3.0/24 dev vlan2 proto kernel scope link src 192.168.3.2
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
169.254.0.0/16 dev br0 proto kernel scope link src 169.254.255.1
127.0.0.0/8 dev lo scope link
nexthop via 192.168.10.1 dev vlan1 weight 1
nexthop via 192.168.3.1 dev vlan2 weight 1
Is there an easy way to disable the load balancing?
I'm really interested in failover. I've got the router configured as a wireless client and that seems to work for having internet access via the other network. I'm hoping I can make that one a "secondary" WAN and then my hardwired connection the "primary" WAN. I'd only want to rollover to the secondary of the primary fails.
I've taken a quick peek at the code but am not familiar enough with the language to feel comfortable altering the balancing/failover code unassisted.
make sure you have the right permissions, and you can use:
to edit the scripts and all to check for ^M characters because I had a lot of those, when using vi I found that I had to push the "s" key to start editing, and then ESC when i was ready to exit and the command ":wq" to quit and save and if I wanted to quit with out saving type ":quit!"
It took me about 20 Hours to get all this done, but it included learning how to set up USB and jffs so hopefully it will save some people who have wrt350 and other routers sometime.
I would next like to figure out how to do failover so that if one of the connections is down it will switch to the other one only until it comes back up.
Also some way to not cache the routes so that downloading from single servers will be faster.
Joined: 06 Apr 2007 Posts: 545 Location: New Hampshire
Posted: Thu Sep 01, 2011 15:10 Post subject:
Wow, I am very surprised this thread is still going.
I still have dual wan going, mostly on linux boxes now, as my WRT54GS was to slow to handle my connections. I wish I could answer questions when it comes to the newer devices, but the thing that would have changed the most was the VLANs. Other than that, and a different iptables, they should all be the same.
What firmware version is everyone running? I remember V24 dropped the random module. I still have DD-WRT running at home (in front of a SIP phone with a single connection) but I can investigate some issues.
Way to keep this thread going guys, and I can try and help as much as I can. Just between work and family, might be kind of slow to respond
Linksys EA6500v2 | 5GHz 1st Floor AP | Advanced Tomato 1.28.0000 -2.9-131 K26ARM USB AIO-64K
Netgear WNR2000v3 | 2nd Floor AP | DD-WRT v3.0-r27805 std
Psychosis: Thanks for all of the tips/help I have worked it out. Below I will post detailed directions based on yours so that I can find them again someday and in case anyone else with an E3000 wants to do this (especially anyone with UVERSE + Cable Modem).
I am trying the same setup with an E2000 router and everything works until setting up the firewall rules. There iptables complains with the rules regarding MARK and RANDOM. I have noted that the modules for iptables to be loaded does not exist in my firmware dd-wrt.v24-15508_NEWD-2_K2.6_big-e2k-e3k.bin.
Please, can you tell me which firmware version are you using for the E3000 that is working?