Bonding with LACP and VLANS

hpcraith

Renowned Member
Mar 8, 2013
84
0
71
Stuttgart Germany
www.hlrs.de
My Version Proxmox VE 3.4-1/3f2d890e

I changed my running /etc/config/interfaces accordingly to enable bonding with LACP, but had problems.
So tried this interfaces file:

auto lo
iface lo inet loopback

iface eth1 inet manual
bond-master bond0

iface eth2 inet manual
bond-master bond0

auto bond0
iface bond0 inet manual
address xxx.yy.z.248
netmask 255.255.255.192
network xxx.yy.z.192
gateway xxx.yy.z.254
slaves eth1 eth2
bond_miimon 100
bond_mode 802.3ad
bond_mode 4
bond_downdelay 200
bond_updelay 200

Unfortunately address, netmask and gateway are not set for bond0.
After setting all manually with ifconfig and route everythings works fine with the untagged vlan 404 LACP.
I have first to find out what is the reason for not setting address, netmask and gateway when /etc/init.d/networking executes.
Afterwards I will proceed with the tagged vlan bridges.

Any ideas welcome

Dieter
 
This was exactly the solution! Thank You.
Trying to set up a tagged VLAN bridge was not possible until I found that the
network admins set a tagged Vlan 404 and an untagged Vlan 404 to the same switch port. Very weird!
After removing the untagged Vlan 404 it worked as expected. It took one week to find out.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!