Isolating multiple subnets
In a virtual environment, it is possible to configure multiple subnets or networks on the same platform. It is a very useful configuration to keep all the networks separated from each other. This type of configuration is much more prevalent in a multitenant virtual environment, where multiple customers can coexist on the same platform while sharing hypervisor resources. It is a rather simple concept to isolate each subnet with its own virtual bridge. Basically, the idea is to create bridges without any physical interface attached to them. Each bridge acts as an individual virtual switch. In this section, we are going to see how to isolate the subnets using virtual bridges.
Getting ready
For our example, we are going to create two virtual networks for two clients. The entire configuration can be done from the Proxmox GUI or through the CLI by editing the network configuration file in /etc/network/interfaces
for the Proxmox node where the VMs will reside. The entire...