Created
June 28, 2012 01:07
-
-
Save barn/3008021 to your computer and use it in GitHub Desktop.
LACP + VLANs on debian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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