Use Wlan as supplemental WAN on different subnet

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
thelamer
DD-WRT Novice


Joined: 01 Feb 2016
Posts: 3

PostPosted: Tue Feb 02, 2016 20:50    Post subject: Use Wlan as supplemental WAN on different subnet Reply with quote
I was wondering if it is possible to do something like this:



I would like to setup a port to have a subnet that can communicate with the rest of the local network(wifi not important), but all of the wan traffic goes out over an external WIFI connection.

If specs are important I have a Asus RT-N66U with DD-WRT v24-sp2 (02/04/15) mega - build 26138M on it.
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Wed Feb 03, 2016 1:08    Post subject: Reply with quote
http://www.dd-wrt.com/wiki/index.php/Policy_Based_Routing
http://www.dd-wrt.com/wiki/index.php/Dual%2C_Triple_%28and_probably_quad%29_WAN_with_multiple_active_WAN_links_and_source_routing
thelamer
DD-WRT Novice


Joined: 01 Feb 2016
Posts: 3

PostPosted: Wed Feb 03, 2016 1:47    Post subject: Reply with quote
Per Yngve Berg wrote:
http://www.dd-wrt.com/wiki/index.php/Policy_Based_Routing
http://www.dd-wrt.com/wiki/index.php/Dual%2C_Triple_%28and_probably_quad%29_WAN_with_multiple_active_WAN_links_and_source_routing


Thanks for the links, I have read these 3 too:

https://www.dd-wrt.com/wiki/index.php/Dual_WAN_with_failover
https://www.dd-wrt.com/wiki/index.php/Dual_WAN_with_one_as_standby_backup
https://www.dd-wrt.com/wiki/index.php/Dual-WAN_for_simple_round-robin_load_equalization

I still don't understand how to set the Client WLAN connection as a WAN...
thelamer
DD-WRT Novice


Joined: 01 Feb 2016
Posts: 3

PostPosted: Wed Feb 03, 2016 7:07    Post subject: Reply with quote
eibgrad wrote:
This won't work. Once the wireless AP is converted into a wireless client (client bridge or client (unbridged)), you lose the wired WAN, which obviously defeats the purpose.

The easiest thing to do is just get a second router and establish it as another gateway on your existing network and use a combination of DHCP configuration and policy based routing to control which clients use which gateway.

It's really no different than what you'd have to do if you established a VPN client. That establishes an alternate gateway too. It just happens (typically) to be on the router. But like the VPN, the second WAN could just as well be established on another local device, then selectively route clients over that WAN using the same techniques (DHCP configuration and policy based routing).


Thanks, I suspected this. I have an always online server that needs the WLAN gateway so I will most likely just get a USB adapter for it.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum