# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

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

auto lo
iface lo inet loopback

auto mgmt
iface mgmt
    address 127.0.0.1/8
    address ::1/128
    vrf-table auto

auto eth0
iface eth0 inet dhcp
    ip-forward off
    ip6-forward off
    vrf mgmt

auto bond0
iface bond0 inet6 dhcp6
    mtu 4242
    bond-slaves swp42
    bond-mode 802.3ad
    bond-updelay 42
    bond-downdelay 42
    bond-lacp-bypass-allow yes
    bond-lacp-rate slow

auto bond1
iface bond1
    bond-slaves swp1
    bond-mode balance-xor
    bond-downdelay 65535
    bond-lacp-bypass-allow no

auto bond2
iface bond2
    bond-slaves swp2 swp3
    bond-mode 802.3ad
    bond-lacp-bypass-allow no

auto br0
iface br0
    address 11.0.0.10/24
    address 4101:2034::10/64
    bridge_ports swp1s0 swp1s1 swp1s2 swp1s3 swp32s0 swp32s1 swp32s2 swp32s3

