New server setup based on ubuntu
This commit is contained in:
20
roles/server-link-aggregation/files/interfaces
Normal file
20
roles/server-link-aggregation/files/interfaces
Normal file
@@ -0,0 +1,20 @@
|
||||
source /etc/network/interfaces.d/*
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
## The primary network interface
|
||||
#allow-hotplug enp2s0
|
||||
#iface enp2s0 inet dhcp
|
||||
## This is an autoconfigured IPv6 interface
|
||||
#iface enp2s0 inet6 auto
|
||||
|
||||
auto bond0
|
||||
|
||||
iface bond0 inet dhcp
|
||||
bond-slaves enp3s0 enp4s0 enp5s0
|
||||
bond-mode 802.3ad
|
||||
bond-lacp-rate 1
|
||||
bond-miimon 100
|
||||
bond-xmit-hash-policy layer3+4
|
||||
Reference in New Issue
Block a user