No IP Addresses on VM/Containers with Bonding

phreakazoid

New Member
Jan 24, 2019
1
0
1
35
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)
 

Richard

Proxmox Staff Member
Staff member
Mar 6, 2015
745
26
48
Austria
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)
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).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!