OVH Additional IP in routed mode on public network interfaces

tbaror

Member
Jan 21, 2022
6
0
6
54
Hello ,

Recently we rented 3 dedicated servers type SCALE 4 , installed Proxmox 8.03, and Ceph Hyperconverged

The idea is to host some servers and get firewall in front of them , got additional IP , now i discovered that for those type of servers there is no virtual MAC as used before , instead the refereed me to an article with several steps which is in fact routed trough interface as shown below ,

I did all requested steps but still not working for me ,i attached my server interfaces file , if someone can have a look on it maybe i missed something.

Please advice
cloud-dedicated-proxmox-network-hg-scale-images-schema_route2022.png
Code:
# 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
    up echo "1" > /proc/sys/net/ipv4/ip_forward
    up echo "1" > /proc/sys/net/ipv4/conf/bond0/proxy_arp
# Enable IP forwarding
# Enable proxy-arp only for public bond

auto ens3f0np0
iface ens3f0np0 inet manual
    bond-master bond0

auto ens3f1np1
iface ens3f1np1 inet manual
    bond-master bond0

iface enxe29f571e0fb2 inet manual

auto ens13f0np0
iface ens13f0np0 inet manual

auto ens13f1np1
iface ens13f1np1 inet manual

auto bond0
iface bond0 inet static
    address 1x5.1xx.xx.xxx/32
    gateway 1xx.xx.xx.1
    bond-slaves ens3f0np0 ens3f1np1
    bond-miimon 100
    bond-mode 802.3ad
    bond-xmit-hash-policy layer3+4
    bond-downdelay 200
    bond-updelay 200
    bond-lacp-rate 1
    hwaddress 0c:42:a1:74:4f:62
# Use the mac address of the first public interface

auto bond1
iface bond1 inet manual
    bond-slaves ens13f0np0 ens13f1np1
    bond-miimon 100
    bond-mode 802.3ad
    bond-xmit-hash-policy layer3+4
    bond-downdelay 200
    bond-updelay 200
    bond-lacp-rate 1
    hwaddress 0c:42:a1:ea:83:ec
# Use the mac address of the first private interface


auto vmbr0
iface vmbr0 inet static
    address 172.16.39.10/24
    bridge-ports none
    bridge-stp off
    bridge-fd 0
    up ip route x7.9x.1xx.xx/32 dev vmbr0

auto vmbr1
iface vmbr1 inet static
    address 172.16.38.10/24
    bridge-ports bond1
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094