OpenWrt Forum Archive

Topic: Dual wireless clients / dual WAN on a single OpenWRT router

The content of this topic has been archived on 22 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

My geek dream is to setup a single box that performs the following tasks:

- wireless client to network A
- wireless client to network B
- dual WAN load balancing/routing between networks A & B
- wireless access point
- ethernet router for 2-3 wired clients

This seems to be an ideal case for OpenWRT on a Ubiquiti RouterStation Pro with 3 mini PCI wireless cards.  The other (software) platforms I've considered for this are DD-WRT and pfSense.  DD-WRT doesn't seem to be able to handle dual wireless clients on any one system, as far as I can tell.  I believe pfSense would work, but its limited to x86 hardware (for now) and doesn't seem particular flexible in terms of wireless capability.

So, can OpenWRT meet my requirements?  If so, could anyone point me in the right direction in terms of scripting/configuration?  The crux of it seems to be the dual wireless client connections.  Will this be configurable from the GUI or will I need to use iwconfig?

Once that's working, I assume I can use the established multi-WAN configurations (see here, and here).

By the way, yes, I realize I could do this much simpler/easier/cheaper with 3 separate routers.  I can't explain exactly why I feel the need to do this.  There's something about the beautiful simplicity of one box that does many things, though I suspect that may be the only simple aspect of this project. wink

Great idea, but

how to ??

I did something you probably want to do.

I have 2 WAN, not load balanced, but set different traffic on one WAN, different on second WAN, targeted by destination IPs, destination ports and source network.
Additionally I have 2 wireless SSIDs, from one I connect to Internet through both WANs like I said above, from second WLAN I can connect only through second WAN.
I made it on Linksys WRT-54GL with one built-in wireless adapter and moved to ASUS WL-500gPv2

To do that you need:
- take one port from VLAN br-lan and make separate interface for second WAN
- make second SSID and add it to VLAN br-lan2
- set up firewall zones
- install iproute2 and set up load balancing.

edit: I see that both your WANs are wireless, so if they are multipoint, far and on different channels you need more wireless adapters indeed. I don't know RouterStation, but ASUS WL-500gP has 2 USB ports, so may have added USB WiFi adapters with external antennas, like Planet WL-U356A with RSMA connector (zd1211rw driver).
Or buy cheapest accesspoint, set them as APclient and connect your router to their ethernet ports.

(Last edited by mrooveq on 21 Dec 2009, 16:41)

The discussion might have continued from here.