Paste #597325

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
auto lo
iface lo inet loopback
    dns-nameservers 172.16.1.1
    dns-search maas

auto eno1
iface eno1 inet static
    address 172.16.1.33/24
    gateway 172.16.1.1
    mtu 1500

auto eno2
iface eno2 inet manual
    bond-miimon 100
    mtu 1500
    bond-xmit_hash_policy layer3+4
    bond-lacp_rate slow
    bond-master bond0
    bond-mode 802.3ad

auto eno3
iface eno3 inet manual
    bond-miimon 100
    mtu 1500
    bond-xmit_hash_policy layer3+4
    bond-lacp_rate slow
    bond-master bond0
    bond-mode 802.3ad

auto eno4
iface eno4 inet manual
    bond-miimon 100
    mtu 1500
    bond-xmit_hash_policy layer3+4
    bond-lacp_rate slow
    bond-master bond0
    bond-mode 802.3ad

auto bond0
iface bond0 inet manual
    bond-miimon 100
    mtu 9000
    bond-xmit_hash_policy layer3+4
    bond-mode 802.3ad
    bond-slaves none
    bond-lacp_rate slow
    hwaddress ether e0:07:1b:f7:fe:f1

auto br-mgmt
iface br-mgmt inet static
    address 172.29.236.31/24
    mtu 9000
    bridge_ports bond0.10
    bridge_fd 15
    hwaddress ether e0:07:1b:f7:fe:f1

auto br-storage
iface br-storage inet manual
    mtu 9000
    bridge_ports bond0.20
    bridge_fd 15
    hwaddress ether e0:07:1b:f7:fe:f1

auto bond0.10
iface bond0.10 inet manual
    mtu 9000
    vlan-raw-device bond0
    vlan_id 10

auto bond0.20
iface bond0.20 inet manual
    mtu 9000
    vlan-raw-device bond0
    vlan_id 20

source /etc/network/interfaces.d/*.cfg