Proxmox server at OVH Cloud in VRACK

vuego

Member
Dec 2, 2014
1
0
21
Hello

We are currently configuring Proxmox server at OVH Cloud in VRACK, Server has 2 NIC one used for public Proxmox host and other NIC is available,

1.- We need to setup internal network to get communicated with other servers that we have a OVH Rack service
2.- Setup configuraton to use IP public range 144.217.36.176/24 available for any VM that will be created at host.
3.- Setup NAT for internal purpose

Proxmox version Virtual Environment 6.2-6

This issue is becoming critical since servers will become prod in the following days.

This is my /etc/network/interfaces file:
auto lo
iface lo inet loopback

auto enp26s0f1
iface enp26s0f1 inet static
address 144.217.36.177
netmask 255.255.255.240
broadcast 144.217.36.191
post-up ip route add 144.217.36.176/28 dev enp26s0f1 table vrack
post-up ip route add default via 144.217.36.190 dev enp26s0f1 table vrack
post-up ip rule add from 144.217.36.176/28 table vrack
post-up ip rule add to 144.217.36.176/28 table vrack

iface eno0 inet manual

iface enp26s0f2 inet manual

iface enp26s0f3 inet manual

auto vmbr0
iface vmbr0 inet dhcp
bridge-ports eno0
bridge-stp off
bridge-fd 0

auto vmbr2
iface vmbr2 inet static
address 144.217.36.178
netmask 24
bridge-ports enp26s0f1
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 192.168.40.1/24
bridge-ports enp26s0f2
bridge-stp off
bridge-fd 0

auto vmbr3
iface vmbr3 inet static
address 192.168.20.2
netmask 24
bridge-ports enp26s0f1
bridge-stp off
bridge-fd 0

/etc/iproute2/rt_table

#
# reserved values
#
255 local
254 main
253 default
0 unspec
#
# local
#
#1 inr.ruhep
1 vrack

Regards