Skip to main content

Bond en debian

Como crear un bond en Debian

Referencias:

https://wiki.debian.org/Bonding

https://www.kernel.org/doc/Documentation/networking/bonding.txt

apt-get install ifenslave

# 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