Create Veeam Isolated Sandbox Virtual Lab
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.
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.
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.
Select storage.
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.
After configuring the settings above, we see our IP address and DNS server addresses configured.
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.
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.
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.
We won’t configure anything on the static mappings however it provides some really unique and cool possibilities. ย Hopefully another post on this later.
Finally, a summary of our configuration.
The virtual router is deployed.
We see the new virtual machine provisioned in vSphere.
Notice on the VM itself, we see the two network adapters provisioned both to the production and isolated networks.
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.
I quickly provisioned a TTYLinux appliance to test pings. ย The IP it grabbed on the “pseudo” production “isolated” interface was 192.168.1.3.
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.
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!
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.