Hello.
I have a Proxmox host with 7 VMs. I have bought a subnet from Hetzner which came with 6 usable public IP addresses. This was easy to set up. For this, I created a Linux Bridge under Network and set the gateway to the gateway IP address that Hetzner gave. Next, I added this bridge to all the VMs. Since the VMs, were running Ubuntu, I edited the netplan configuration file to look something like this:
For the seventh VM, instead of a subnet I have received an additional IP address from Hetzner. The gateway, broadcast and netmask for this additional IP address are the same as the primary IP address for the host machine. I am not sure how to set this up.
Any tips or pointers are appreciated. Thank you.
I have a Proxmox host with 7 VMs. I have bought a subnet from Hetzner which came with 6 usable public IP addresses. This was easy to set up. For this, I created a Linux Bridge under Network and set the gateway to the gateway IP address that Hetzner gave. Next, I added this bridge to all the VMs. Since the VMs, were running Ubuntu, I edited the netplan configuration file to look something like this:
YAML:
network:
ethernets:
...
ens19:
addresses:
- <public_ip_address>/24
gateway4: <subnet_gateway_ip_address>
nameservers:
addresses:
- 8.8.8.8
search: []
version: 2
For the seventh VM, instead of a subnet I have received an additional IP address from Hetzner. The gateway, broadcast and netmask for this additional IP address are the same as the primary IP address for the host machine. I am not sure how to set this up.
Any tips or pointers are appreciated. Thank you.