OVH Public IP vRack - Cloud-init

Netcetera-Chris

New Member
Mar 12, 2024
14
0
1
Hello all,

We are looking into using OVH for some of our services and using vrack but it requires some additional configuration for linux / linux vm's

https://help.ovhcloud.com/csm/en-de...?id=kb_article_view&sysparm_article=KB0043342

so essentially we need to add the following for cloud-init to go into the network configuration - also the subnets may change so it will need to fetch the network broadcast and netmask and gateway.

Code:
post-up ip route add 46.105.135.96/28 dev eth1 table vrack
post-up ip route add default via 46.105.135.110 dev eth1 table vrack
post-up ip rule add from 46.105.135.96/28 table vrack
post-up ip rule add to 46.105.135.96/28 table vrack

any help would be great, i cant be the first person to do this.

Chris