Setting up Promox for different public ip subnets and one private subnet

Michael Tamosaitis

New Member
Oct 18, 2018
1
0
1
I have a question that can't seem to find an answer for. I have two public IP subnets one range of my public IP's that is firewalled and one range that is not and I have my private IP range and I want to be able to assign IP's from all these ranges to different VM's. To connect a server to one of my public IP's I have to use specific ports on my switch if that makes a difference to you. My proxmox server has 4 NIC's. Any suggestions?

un-firewalled public IP range is
x.x.x.1 to x.x.x.14 usable IPs
x.x.x.1 is the gateway
255.255.255.240 is the subnet mask

firewalled public IP range is
x.x.x.16 to x.x.x.30 usable IPs
x.x.x.17 is the gateway
255.255.255.240 is the subnet mask

Private IP address is
x.x.x.1 is the gateway
255.255.255.0 is the subnet mask
 
I have two public IP subnets one range of my public IP's that is firewalled and one range that is not and I have my private IP range and I want to be able to assign IP's from all these ranges to different VM's.


The basic idea is simple: each of these networks is connected to one of the physical NICs, they will be assigned to a bridge (e.g. vmbr0, vmbr1, vmbr2). Assign the virtual NICs from the VMs to these bridges accordingly and define the ip addresses inside the VMs.

To connect a server to one of my public IP's I have to use specific ports on my switch if that makes a difference to you. My proxmox server has 4 NIC's.


Doe sit mean one switch port accepts only one MAC address connected to it? In that case don't assign the physical NICs to bridges, assign all IP addresses to the physical NIC instead and route the VM IP addresses to the VMs. If the switches accept really only one IP address (but I rather don't believe it) you would need for each VM a physical NIC ....
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!