Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
LACP + VLANs on debian
root@schick-1:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# allow-hotplug eth0
# iface eth0 inet dhcp
auto bond0
iface bond0 inet static
bond-mode 4
bond-miimon 100
bond_xmit_hash_policy layer2+3
bond_lacp_rate fast
slaves eth0 eth1
auto bond0.42
iface bond0.42 inet dhcp
vlan_raw_device bond0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.