Proxmox hetzner each vps on its own public ip

Humanbieng3

New Member
Apr 11, 2019
4
0
1
39
Hello there
Sorry i am not familiar with this network configuration so pardon for my question
I got a node from Hetzner it has one main IP address that is configured to interface "enp0s31f6"
Now i got new subnetwork /29 bit from hetzner & it suppose to have 6 usable ips which i would like to assign each vps with its own public ip
I had created a bridge called "vmbr0" & assigns to it new subnet with the following information
# Addition xx.xx.xx.192 / 29 subnet work (8 available ips)
Gateway: xx.xx.xx.96
Netmask: 255.255.255.248
Broadcast: xx.xx.xx.127

Then created new kvm machine then assigned "vmbr0" bridge to it & specified its ip to be "xx.xx.xx.193"
But after installation ends up i couldnt ping to vm ip "xx.xx.xx.193" & either from node or my pc i get "Destination Host Unreachable"
I only can ping to "xx.xx.xx.192" which is bridge "vmbr0" ip

Here are information Useful :

# contents of "/etc/network/interfaces"
### Hetzner Online GmbH installimage

source /etc/network/interfaces.d/*



I enabled forwarding within "/etc/sysctl.conf"
What else i am missing ?
Please any help will be appreciated
Thanks in advance
 
Last edited:
Now i Edit up network configurations & i can finally connect to my vps within my dsl connection
I would like to post what i have made in order to add an additional /29 subnet work from hetzner
Here are my New configurations

#### Contents of "/etc/network/interfaces" ####
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

auto enp0s31f6

iface enp0s31f6 inet6 static
address xx.xx.xx.
netmask 64
gateway xx.xx.xx.

auto vmbr0
iface vmbr0 inet static
address xx.xx.xx..96
netmask 255.255.255.192
gateway xx.xx.xx..65
bridge_ports enp0s31f6
bridge_stp off
bridge_fd 0
bridge_maxwait 0
up route add -net xx.xx.xx..64 netmask 255.255.255.192 gw xx.xx.xx.65 dev vmbr0
up ip route add xx.xx.xx.193/32 dev vmbr0
up ip route add xx.xx.xx.194/32 dev vmbr0
up ip route add xx.xx.xx.195/32 dev vmbr0
up ip route add xx.xx.xx.196/32 dev vmbr0
up ip route add xx.xx.xx.197/32 dev vmbr0
up ip route add xx.xx.xx.198/32 dev vmbr0
 
Last edited:

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!