Network setup for Hetzner

Im afraid you gotta do your own research when it comes to determine how to persistently create IPv4 aliases in centos because its very uncommon to have more than 1 IP per VM/container.
 
No worries. I figured it out after a bit of trial and error. I didn't realize I could assign all the IP addresses in OVH's manager to a single MAC address. After doing so and adding them to the Proxmox, they all worked and could be pinged. Worked quite well. For reference, in case anyone else from OVH runs into the same issue:

/etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
IPADDR=MAINIP.ADDRESS.ASSIGNEDBY.OVH (EG 123.456.789.012)
NETMASK=255.255.255.255
GATEWAY=MAINIP.ADDRESS.ASSIGNEDBYOVH.ENDWITH254 (EG 123.456.789.254)
ARP=yes

/etc/sysconfig/network-scripts/route-eth0
Code:
MAINIP.ADDRESS.ASSIGNEDBYOVH.ENDWITH254 dev eth0
default via MAINIP.ADDRESS.ASSIGNEDBYOVH.ENDWITH254 dev eth0

IP Address setup is specific to OVH, but perhaps it will help someone else out. From there, you just had to add the IP addresses to OVH's IP manager and assign a MAC address to one. From there, just assign the remaining IP addresses to that same MAC address and add all the IP addresses to the Proxmox Network section of the CT (venet).

I skipped the part where you have to setup a Virtual Network (veth) named eth0 with the MAC address assigned by OVH. You'd need to stop the CT in order to do that, if you haven't already. You may also need to run ifup eth0 in a terminal to bring eth0 up for use.

The one major issue I kept running into was that the UTF-8 files had BOM at the beginning of the files. Took me a few tries to clear that up.
 

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!