# 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 peerlink
iface peerlink
    bond-slaves swp1 swp2
    bond-mode 802.3ad
    bond-lacp-bypass-allow no

auto peerlink.4094
iface peerlink.4094

auto bond0
iface bond0
    bond-slaves swp42
    bond-mode 802.3ad
    bond-lacp-bypass-allow no

auto hostbond1
iface hostbond1
    bond-slaves swp43
    bond-mode 802.3ad
    bond-lacp-bypass-allow no

auto hostbond2
iface hostbond2
    bond-slaves swp44
    bond-mode 802.3ad
    bond-lacp-bypass-allow no

auto br_default
iface br_default
    bridge-ports peerlink
    bridge-vlan-aware yes
    bridge-vids 1
    bridge-pvid 1
    bridge-stp yes
    bridge-mcsnoop no
