# 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

# Interface bond0
auto bond0
iface bond0 inet static
	address 192.168.101.131
	network 192.168.101.0
	netmask 255.255.255.0
	broadcast 192.168.101.255
	gateway 192.168.101.1
	bond-mode 802.3ad
	bond-miimon 100
	bond-lacp-rate 1
	bond-slaves enp0s4 enp0s5
	bond_xmit_hash_policy layer3+4


# Set this one last, so that cloud-init or user can
# override defaults.
source /etc/network/interfaces.d/*

