Hetzner Routed Config issue

mazenelzanaty

Member
Jan 16, 2021
7
0
6
26
I have a dedicated server and a subnet on Hetzner, decided to use Network Configuration Hostsystem Routed config, was following their guide, https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve

Here's my server config:
Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback

auto enp195s0
iface enp195s0 inet static
address x.x.xx.220
netmask 255.255.255.192
gateway xx.xx.xx.193
pointopoint xx.xx.xx.193
up route add -net xx.xx.203.192 netmask 255.255.255.192 gw xx.xx.203.193 dev enp195s0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/enp195s0/proxy_arp

auto vmbr1
iface vmbr1 inet static
address xx.xx.xx.40
netmask 255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0

What should my vm ip config be like?

I tried having the gateway and the server's gateway and the server ip address, both didn't work

Netplan config on vm:
Code:
network:
    ethernets:
        ens18:
            addresses:
            - xx.xx.xx.41/29
            gateway4: xx.xx.xx.193
            nameservers:
                addresses:
                - 1.1.1.1
                - 8.8.8.8
    version: 2
 
Last edited:
Isn't vmbr1 ip address is the network address? for example

I have a subnet at 95.217.x.40 / 29

So the vmbr1 address should be 95.217.x.40?

and the vm gateway should be 95.217.x.40 too?
 

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!