Joined: 14 Jan 2009 Posts: 406 Location: AB, Canada
Posted: Tue Mar 30, 2010 6:58 Post subject: need help with dual wan configuration on wrt610n v2
Hello everybody,
I have set-up a dual wan on my wrt610n v2 with one WAN being my cable modem, and the other WAN being:
a dd-wrt router connected in CB mode to another router wirelessly.
The problem is, when I disconnect my cable modem, I can access remote router's GUI but not the internet.
EXAMPLE.:
Cable <-/- MY WRT610 --> CB --> Remote router -/-> INTERNET
where
--> = connection
-/-> = no connection
My guess is that there is no route specified how to get to internet from WAN2 since the scripts I'm using were written for direct WAN2 connection. I'm no iptables guru so I need some help here.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=421150#421150 _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Post the output from these commands and maybe we'll see.
ifconfig
route -n _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Interesting, perhaps the newer gigabit switches finally have functional VLAN's (iirc 1 person reported so with a wrt320n)...
However, the files in the dual WAN kit are intended for a k2.4 and I don't think they're compatible with your k2.6 build, particularly the iptables executable that it has to add support for the random match. There may be some other stuff missing in k2.6 as well.
If you look at the ifconfig output you'll see that only a few MB has transferred on vlan3 while a few gigabytes has transferred on vlan2. If you run the command below it will likely error.
/jffs/iptables -t mangle -vnL _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Joined: 14 Jan 2009 Posts: 406 Location: AB, Canada
Posted: Thu Apr 01, 2010 4:25 Post subject:
Yeah, i knew that from before, that's why I did not use the iptables that came with the kit. I changed all the scripts to use iptables from /usr/sbin. That's why I got things semi-working.
Do all routes look fine to you? or i need to change something to make it work (as double nat?)
The accumulated traffic to vlan3 is traffic to remote webgui. I did browse it for a bit. _________________
Nethear R6300 v2 - Latest Kong dd-wrt always
Linksys E3000 - Latest dd-wrt always
Asus RT-N56U - OpenWRT trunk
The dd-wrt iptables does not include the RANDOM matcher as I said above. You would need to get a copy of iptables that is compiled to include it and that is compatible with the exact kernel version you have.
That is only the default routing table which I wanted to see to determine if the VLAN was working. Dual WAN makes use of policy based routing with multiple routing tables for each policy. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Joined: 14 Jan 2009 Posts: 406 Location: AB, Canada
Posted: Thu Apr 01, 2010 7:35 Post subject:
If only somebody could compile iptables as phuzi0n described... I emailed author of the guide, maybe he'll be able to help. Or maybe devs can do that... _________________
Nethear R6300 v2 - Latest Kong dd-wrt always
Linksys E3000 - Latest dd-wrt always
Asus RT-N56U - OpenWRT trunk