Proxmox in Hetzner + NAT

vahadigital

New Member
Feb 14, 2024
3
0
1
Here's the situation:

We have a bare metal server from Hetzner with one IP4 address. We manage to install Proxmox easily, but when we install virtual machines (Ubuntu), we cannot get them online.

Here is the current configuration:


source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp41s0
iface enp41s0 inet static
address 65.108.239.183/26
gateway 65.108.239.129
up route add -net 65.108.239.128 netmask 255.255.255.192 gw 65.108.239.129 dev enp41s0

route 65.108.239.128/26 via 65.108.239.129

iface enp41s0 inet6 static
address 2a01:4f9:1a:b387::2/64
gateway fe80::1

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0


Can anyone advise how this configuration should be done to get the virtual machine to connect to the network?
 
Hi,

as you only have one IPv4 address, you probably need/want a NAT for your guests.
We have a section in your Network Configuration guide about that exact setup.

Hope this helps!
@cheiss could you take a look at this configuration:

1708347584197.png

When I install Ubuntu, during the installation Ubuntu does not find the network:

1708347742600.png

So we have a single IP server from Hetzner at 65.108.239.183.

The Proxmox GUI looks like this:

1708347876587.png

Any thoughts?
 
Yes, I got it to work based on that instruction. The problem was solved by getting another IP4 address and requesting another MAC address for it which is used in the Linux Bridge.