No IP Addresses on VM/Containers with Bonding

Discussion in 'Proxmox VE: Networking and Firewall' started by phreakazoid, Mar 15, 2019.

Tags:
  1. phreakazoid

    phreakazoid New Member

    Joined:
    Jan 24, 2019
    Messages:
    1
    Likes Received:
    0
    Hi, I am using Proxmox just for 2 or 3 Month now. I love it, its Open Source and uses ZFS. I've used ESXi for about 7 years before I moved to PVE.
    Everything was running fine. I wanted to care about networking performance and activate Bonding, wich I used all the time under Vmware.

    My old Config looks like that. vLans are working and my VMs and LXC Container got IPs from DHCP.
    Code:
    auto lo
    iface lo inet loopback
    
    iface enp9s0 inet manual
    
    iface enp5s0 inet manual
    
    auto vmbr0
    iface vmbr0 inet static
            address  10.2.0.11
            netmask  255.255.255.0
            gateway  10.2.0.254
            bridge-ports bond0
            bridge-stp off
            bridge-fd 0
            bridge-vlan-aware yes
            bridge-vids 2-4094
    Wanted to start with balance-rr first and then move on to LACP later
    Code:
    auto lo
    iface lo inet loopback
    
    iface enp9s0 inet manual
    
    iface enp5s0 inet manual
    
    auto bond0
    iface bond0 inet manual
            bond-slaves enp5s0 enp9s0
            bond-miimon 100
            bond-mode balance-rr
    
    auto bond0.40
    iface bond0.40 inet manual
           vlan-raw-device bond0
    
    auto vmbr0
    iface vmbr0 inet static
            address  10.2.0.11
            netmask  255.255.255.0
            gateway  10.2.0.254
            bridge-ports bond0
            bridge-stp off
            bridge-fd 0
    
    auto vmbr40
    iface vmbr40 inet manual
    bridge_ports bond0.40
    bridge_stp off
    bridge_fd 0
    (There are more vLans to configure, but I wanted to get one running and move on)
     
  2. Richard

    Richard Proxmox Staff Member
    Staff Member

    Joined:
    Mar 6, 2015
    Messages:
    679
    Likes Received:
    24
    What is the problem in particular? The best way to explain it would be to post a pvereport and refer to container has the problem mentioned in the summary (or any other you may explain).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice