Networking

Create Veeam Isolated Sandbox Virtual Lab

Today we look at how to Create Veeam Isolated Sandbox Virtual Lab for an isolated lab environment that we can connect to with overlapping subnets

I have written several posts on how to created an Isolated lab environment using the same IP addresses or overlapping subnets. This requires some network trickery to pull off to make the routing work correctly. Veeam has functionality in the Virtual Lab functionality that allows for creating a virtual lab using the same IP addresses that are used in your production network. A lot of the principles are the same. We have similiar components when we create Veeam isolated sandbox virtual lab that we do we manually use virtual routers and isolated switches. However, the Veeam isolated sandbox virtual lab streamlines the process greatly as it spins up a router on the fly with the selected subnets, etc already configured including the netmap and masquerade rules. ย This is the process that Veeam uses for the SureBackup technology. ย Let’s take a look.

Create Veeam Isolated Sandbox Virtual Lab

To get to the Virtual Lab setup, we navigate toย Backup Infrastructure,ย SureBackup, andย Virtual Labs. ย Clickย Add Virtual lab.

veaamlab01

Next, we name the virtual lab. ย Note the name you configure here is the name of the router appliance that gets added to your VMware inventory.
veaamlab02

Next, we select the host we want for compute/memory. ย If you select a resource in vCenter, it will automatically create a folder and resource pool by the same name as well.

veaamlab03

Select storage.

veaamlab04

The next configuration we pay attention to is theย Proxy configuration. ย Here we select aย Production network and then choose our options for IP address. ย This is the interface on the Virtual Lab router that actually connects to your production network.

veaamlab05

After configuring the settings above, we see our IP address and DNS server addresses configured.

veaamlab06

On theย Networking screen, we select how we want to perform the configuration. ย Here I am choosingย Advanced single-host (manual configuration) as this allows for more granular configuration.

veaamlab07

On theย Isolated Networks screen, we have important configuration here as this is what will create the isolated environment that our VMs can live on with production IP addresses. ย If we click theย Edit button, we will be able to choose our isolated network and masquerade settings.

veaamlab08

Notice the Virtual NIC is connected toย Testlab DPG-Mgmt switch. ย Note the vSwitch that gets created is a standard vSwitch, however, as you see below the name looks like a distributed vSwitch. ย I am using distributed switches on this host, so the Virtual Lab is simply mimicking the name of the distributed switch that I am using for the production network.

Theย masquerade network address is important as this is the netmap rule that gets created on the Virtual Lab router that is the address that you connect to from the real outside production network to speak to the internal VM that is running the overlapping IP address.

veaamlab09

We won’t configure anything on the static mappings however it provides some really unique and cool possibilities. ย Hopefully another post on this later.

veaamlab10

Finally, a summary of our configuration.

veaamlab11

The virtual router is deployed.

veaamlab12

We see the new virtual machine provisioned in vSphere.

veaamlab13

Notice on the VM itself, we see the two network adapters provisioned both to the production and isolated networks.

veaamlab14

First, I want to test and make sure I can ping the real production IP assigned to the router live production interface. ย It is successful.

veaamlab15

I quickly provisioned a TTYLinux appliance to test pings. ย The IP it grabbed on the “pseudo” production “isolated” interface was 192.168.1.3.

veaamlab16

To test connectivity, I manually added a route on the test workstation to point to the production IP of the provisioned router. ย The static route directs any traffic for the masquerade subnet to the router IP.

veaamlab17

So since the internal isolated subnet is 192.168.1.X, then we should be able to connect to it viaย 192.168.255.X which is the masquerade subnet. ย Success!

veaamlab18

Thoughts

The process toย Create Veeam Isolated Sandbox Virtual Lab using the Virtual Lab functionality is straightforward. ย The resulting router already has the appropriate netmap and masquerade rules configured. ย Using this functionality we can provision a lab network fairly quickly even to be used outside of Veeam purposes.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.