Proxmox 7 Openvswitch Bridged setup for /29 Subnet (Hetzner)

Q-wulf

Well-Known Member
Mar 3, 2013
613
38
48
my test location
Question(s):
  1. How do i setup a /29 Subnet (Hetzner) with Proxmox to be useable via guests (1 IP per Guest)?
  2. Can i use only 6 or all 8 IP's ? Do i need to use Point-to-Point setup for all 8 as the Hetzner Guide suggests ?



Sidenotes:
  1. Open vSwitch based bridges
  2. only experienced with Hetzner's single IP's that requier a Mac to be assigned by Hetzners Robot.
  3. Network device is: enp7s0
  4. Main IP is : AA.BB.CC.180/26
  5. Main IP's gateway is AA.BB.CC.129/29
  6. Subnet is : KK.LL.MM.40/29
  7. Subnets Gateway is: AA.BB.CC.180/26

In my attempts the closest i have come is to get the IP's to ping is by adding a separate bridge to the Server for each subnet. I seem to have trouble assigning the IP's to the guest.

current network config:
Bash:
root@entry-3:/# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!


auto lo
iface lo inet loopback


auto enp7s0
iface enp7s0 inet manual
        ovs_type OVSPort
        ovs_bridge vmbr0
# Server Network Card


auto vmbr0
iface vmbr0 inet static
        address AA.BB.CC.180/26
        gateway AA.BB.CC.129
        ovs_type OVSBridge
        ovs_ports enp7s0
# Server Network Bridge


auto vmbr41
iface vmbr41 inet static
        address KK.LL.MM.41/29
        ovs_type OVSBridge
#Separate Subnet Bridge


auto vmbr42
iface vmbr42 inet static
        address KK.LL.MM.42/29
        ovs_type OVSBridge
#Separate Subnet Bridge


auto vmbr43
iface vmbr43 inet static
        address KK.LL.MM.43/29
        ovs_type OVSBridge
#Separate Subnet Bridge


auto vmbr44
iface vmbr44 inet static
        address KK.LL.MM.44/29
        ovs_type OVSBridge
#Separate Subnet Bridge


auto vmbr45
iface vmbr45 inet static
        address KK.LL.MM.45/29
        ovs_type OVSBridge
#Separate Subnet Bridge


auto vmbr46
iface vmbr46 inet static
        address KK.LL.MM.46/29
        ovs_type OVSBridge
#Separate Subnet Bridge




my attempts sofar all resulted from hetzners guides here:
https://docs.hetzner.com/robot/dedicated-server/ip/additional-ip-adresses
With IPv4, the network and broadcast addresses are normally reserved. Based on the above example, that would be the IPs <203.0.113.40> and <203.0.113.47>. You may use these addresses as a secondary IP or as part of a point-to-point setup. As a result, in a /29 subnet, all 8 IPs are usable, rather than just 6.
I guess i so far have used 6 out of 8 IP's as a "secondary IP" for the host.
https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve
https://pve.proxmox.com/wiki/Open_vSwitch
 
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!