Hi,
It is my first installation on Proxmox
I installed a Proxmox server 6.4.8 on a dedicated server on Hetzner, I have access to the console and the web interface.
Host IP 135.xx.22.125/26
I now need to create a VM on ubuntu 20 with it own IP address, so I ordered an additional IP address for the VM : 135.xx.22.99/26
enp9s0 is configured automatically by hetzner, I added, according to this documentation https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve , vmbr1, the virtual interface for the bridged vm
Proxmox server :
I activated the ip forwarding on my host (ipv4 & ipv6)
Then i configured netplan on my ubuntu VM
Virtual Machine
I have set up the IP according to the additional IP address, i also set up the VM Mac address to match with the given address
But the vm still doesn't have internet, and still can't ping the gateway 135.xx.22.65
Thanks for your help
It is my first installation on Proxmox
I installed a Proxmox server 6.4.8 on a dedicated server on Hetzner, I have access to the console and the web interface.
Host IP 135.xx.22.125/26
I now need to create a VM on ubuntu 20 with it own IP address, so I ordered an additional IP address for the VM : 135.xx.22.99/26
enp9s0 is configured automatically by hetzner, I added, according to this documentation https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve , vmbr1, the virtual interface for the bridged vm
Proxmox server :
Code:
auto enp9s0
iface enp9s0 inet static
address 135.xx.22.125/26
gateway 135.xx.22.65
up route add -net 135.xx.22.64 netmask 255.255.255.192 gw 135.xx.22.65 dev enp9s0
# route 135.xx.22.64/26 via 135.xx.22.65
iface enp9s0 inet6 static
address 2a01:4f9:4b:4682::2/64
gateway fe80::1
auto vmbr1
iface vmbr1 inet static
address 135.xx.22.99/26
bridge-ports none
bridge-stp off
bridge-fd 0
I activated the ip forwarding on my host (ipv4 & ipv6)
Then i configured netplan on my ubuntu VM
Virtual Machine
Code:
network:
version:2
ethernets:
ens18:
dhcp4: no
addresses : [135.xx.22.99/26]
gateway4: 135.xx.22.65
nameservers:
addresses: [8.8.8.8]
I have set up the IP according to the additional IP address, i also set up the VM Mac address to match with the given address
But the vm still doesn't have internet, and still can't ping the gateway 135.xx.22.65
Thanks for your help