Hetzner Routed Config issue

mazenelzanaty

Member
Jan 16, 2021
7
0
6
27
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?