SUBNET HETZNER PROXMOX

May 19, 2023
10
0
1
Hi guys, I'm unsuccessfully trying to setup a vm with subnet, can you help?

my configuration

auto lo
iface Io inet loopback

iface enp195sO inet manual

iface enxea5c652e737d inet manual

auto vmbrO
iface vmbrO inet static
address 168. 119.xx.xx/26
gateway 168.119.xx.xxx
bridge-ports enp195sO
bridge-stp off
bridge-fd O


iface vmbrl inet static
address 5.9.168.129/29
bridge-ports none
bridge-stp off
bridge-fd O

fe80::d65d:64ff:febc:b693/64
ff02::1


the vm of the subnet no connection
 
Sorry this is the configuration that was suggested to me

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
address 168.119.xx.xx/32
gateway 168.119.xx.xx
bridge-ports enp195s0
bridge-stp off
bridge-fd 0

iface vmbr0 inet6 static
address fe80::d65d:64ff:febc:b693/64
gateway ff02::1

auto vmbr1
iface vmbr1 inet static
address 5.9.xx.xx/29
bridge-ports none
bridge-stp off
bridge-fd 0
 
Last edited:
Ok, that looks fine on the surface. Perhaps you can explain what exactly you want to achieve, what you have tried (with configuration examples) and what/how it was not working.

Some useful outputs to include along with your problem description:
- ip a
- ip route
- ping gw
- vm network configuration
both at hypervisor and VM level.
qm config [id]

etc


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
From a Proxmox perspective its likely standard network configuration, then manually configuring static IP on the VM.
Because you are operating in a Cloud Provider environment you need to understand and follow their requirements, ie:
https://docs.hetzner.com/robot/dedicated-server/virtualization/general/

Once you have everything configured and registered, if you still have issues then you need to post that exact configuration, any troubleshooting steps you took and their results.
There is also a number of resources that are available online that provide step by step guidance (google: proxmox on hetzner).


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
could you point me to a command to see which config file network is reading?
I am not fully understanding your request. The location of the network settings will depend on the Operating System.
For Proxmox/Debian it is:
for boot loaded configuration : cat /etc/network/interfaces
for running live configuration: ip a

If you are using Debian or Ubuntu for VM, the commands and file location is the same.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!