Is this feasible? (2 WANs, 2 LANs, 2 dd-wrt VMs, 1 PC)

Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware
Author Message
thebigpotato
DD-WRT Novice


Joined: 21 Nov 2024
Posts: 6

PostPosted: Sun Nov 24, 2024 19:19    Post subject: Is this feasible? (2 WANs, 2 LANs, 2 dd-wrt VMs, 1 PC) Reply with quote
Greetings. We have two physically-connected but functionally-separate buildings, each with their own separate LAN. Both buildings each have their own WAN connection, but they share a single multi-port fiber ONT located in one of the buildings. As it is right now, each building has its own router connected to the ONT, and therefore each building has its own static WAN IP. This final point must remain unchanged, the two buildings cannot share a single WAN connection.

What I am contemplating, though, is replacing the two physically-separate routers with a single x86 PC with four GigE ports (a retired pfSense box) running two separate VMs of dd-wrt, one for each building, as shown in the attached diagram. This would free up some space in our equipment rack.

Dual-WAN failover is NOT an end-goal here, and the two LANs must remain physically distinct with zero communication ability between them, and as mentioned before, each LAN must retain its own separate WAN IP. Basically, I just want to use a single box to emulate the two-WAN/two-router/two-LAN setup that currently exists.

Is this feasible?



Image1.png
 Description:
 Filesize:  24.2 KB
 Viewed:  14303 Time(s)

Image1.png


Sponsor
flood404
DD-WRT User


Joined: 18 Dec 2013
Posts: 486

PostPosted: Sun Dec 01, 2024 20:15    Post subject: Reply with quote
To keep it simple I would just have two DD-WRT pc's running with their own WAN and Lan ports. As long at the WAN has it's own IP address separate this will work. Running a VM dd-wrt might become extremely difficult to manage the port assignments.

I would suggest checking on Facebook marketplace for cheap computers and NIC adapters. Stick with Intel NICs if you can otherwise Realtek has worked fine for me. I have a 4770K system with 16GB ram with a 6 port Realtek 2.5Gbpe Ethernet ports and have the onboard Ethernet as WAN. The motherboard I got from Work with the RAM for something that was going to be thrown away since it couldn't run Windows 11 without locking up.
Sp1derman
DD-WRT User


Joined: 16 Jun 2006
Posts: 230
Location: Germany, BW

PostPosted: Mon Dec 02, 2024 4:24    Post subject: Reply with quote
It's working, I did this long ago with VirtualBox.
You have to use the Bridge option for the NICs, with NAT its not working.

You also can do it with only one DD-WRT installation, new Vlan, define new WAN-Port for vlan2 and so on. But that is a lot of work.

Easier with the Image-solution.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware 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