Hi,
I have 2 proxmox servers connected through a vRack at OVH. I managed to make the nodes and VMs connect through the vRack, but for some reason, the VMs don't have access to the internet.
I had another set up through a single node before with OVH where I used MASQUERADE from the vmbr to give the VM internet access while creating a subnet. However, now I seem to only manage to either give the VMs internet access or make them communicate through the vRack.
Also, I cannot add any ip address on the vRack ... or at least I couldn't find how to.
Here is my /etc/network/interfaces configuration:
What am I doing wrong?
I have 2 proxmox servers connected through a vRack at OVH. I managed to make the nodes and VMs connect through the vRack, but for some reason, the VMs don't have access to the internet.
I had another set up through a single node before with OVH where I used MASQUERADE from the vmbr to give the VM internet access while creating a subnet. However, now I seem to only manage to either give the VMs internet access or make them communicate through the vRack.
Also, I cannot add any ip address on the vRack ... or at least I couldn't find how to.
Here is my /etc/network/interfaces configuration:
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface enxb25e761312ba inet manual
auto vmbr0
iface vmbr0 inet static
address 142.xxx.xxx.xxx/24
gateway 142.xxx.xxx.254
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 10.0.0.11/8
bridge-ports eno2
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' ! -d '10.0.0.0/8' -o eno1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' ! -d '10.0.0.0/8' -o eno1 -j MASQUERADE
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
What am I doing wrong?
Last edited: