ovh scale server network setup

bvanalder

New Member
Feb 1, 2024
1
0
1
Hi, I'm completely lost configuring proxmox network interfaces.
What I would like to achieve is having a pfsense in front of all the vms. But at the moment I can't even get a single vm (pfsense or ubuntu) to have access to internet.

I have been trying to use this configuration :OVH Scale server

My host interface file :

Code:
auto lo            
iface lo inet loopback          
  # Enable IP forwarding                                              
  up echo "1" > /proc/sys/net/ipv4/ip_forward
  # Enable proxy-arp only for public bond
  up echo "1" > /proc/sys/net/ipv4/conf/bond0/proxy_arp
                                 
# public interface 1  
auto ens3f0np0                                                        
iface ens3f0np0 inet manual
    bond-master bond0
                                 
# public interface 2
auto ens3f0np1    
iface ens3f0np1 inet manual      
    bond-master bond0                                                
                                 
# private interface 1
auto enp129s0f0np0                                                                                                                          
iface enp129s0f0np0 inet manual
# public interface 2
auto ens3f0np1    
iface ens3f0np1 inet manual      
    bond-master bond0                                                
                                 
# private interface 1            
auto enp129s0f0np0                                                                                                                          
iface enp129s0f0np0 inet manual                                                                                                              
                                                                     
# private interface 2                                                
auto enp129s0f0np1
iface enp129s0f0np1 inet manual
#public
auto bond0
iface bond0 inet static
    address xx.xx.xx.xx/24
    gateway xx.xx.xx.xx
    bond-slaves ens3f0np0 ens3f0np1
    bond-mode 4
    bond-miimon 100
    bond-downdelay 200
    bond-updelay 200
    bond-lacp-rate 1
    bond-xmit-hash-policy layer3+4
    hwaddress xx:xx:xx:xx:xx:xx
#Private
auto bond1
iface bond1 inet static
    bond-slaves enp129s0f0np0 enp129s0f0np1
    bond-mode 4
    bond-miimon 100
    bond-downdelay 200
    bond-updelay 200
    bond-lacp-rate 1
    bond-xmit-hash-policy layer3+4
    hwaddress xx:xx:xx:xx:xx:xx
auto vmbr0
iface vmbr0 inet dhcp
    address 192.168.10.1/24
    bridge-ports none
    bridge-stp off
    bridge-fd 0
auto vmbr1
iface vmbr1 inet manual
        bridge-ports bond1
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-32

When I create a VM and attach vmbr0 (and set an ip : 192.168.10.2 and gateway : 192.168.10.1) to it, network doesn't work.

What am I missing ?
 
Last edited: