Hello everyone!
I have finished setting up two dedicated servers with Proxmox 7 (Debian Bullseye 11) on Hetzner. Both hosts, once in a cluster, are expected to have two type of VMs:
1. Those with a private IP address and an additional public IP address (e.g. web server).
2. Those with just a private IP address (e.g. database servers).
I have already created three vSwitches, VLAN ids 4001, 4002 and 4003:
1. 4001 for the public IP addresses of the guests (subnet already assigned) .
2. 4002 for the private IP addresses of the guests (internal communication of the business application spread across several VMs using 192.168.0.0 /24).
3. 4003 for the private IP addresses of the hosts (internal communication of the cluster nodes using 192.168.1.0 /24).
So this is the /etc/network/interfaces of the first host, using VLAN-aware, transparent bridges:
Does this configuration seem okay to you?
I have finished setting up two dedicated servers with Proxmox 7 (Debian Bullseye 11) on Hetzner. Both hosts, once in a cluster, are expected to have two type of VMs:
1. Those with a private IP address and an additional public IP address (e.g. web server).
2. Those with just a private IP address (e.g. database servers).
I have already created three vSwitches, VLAN ids 4001, 4002 and 4003:
1. 4001 for the public IP addresses of the guests (subnet already assigned) .
2. 4002 for the private IP addresses of the guests (internal communication of the business application spread across several VMs using 192.168.0.0 /24).
3. 4003 for the private IP addresses of the hosts (internal communication of the cluster nodes using 192.168.1.0 /24).
So this is the /etc/network/interfaces of the first host, using VLAN-aware, transparent bridges:
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
hwaddress aa:bb:cc:dd:ee:ff
address x.y.z.t/24
gateway x.y.z.u
pointtopoint x.y.z.u
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-disable-mac-learning 1
bridge-vlan-aware yes
bridge-vids 4001 4002 4003
# Proxmox host
auto vmbr0.4003
iface vmbr0.4003 inet static
address 192.168.1.11/24
mtu 1400
# Proxmox hosts private network
Does this configuration seem okay to you?
Last edited: