# 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
    address 10.0.0.11/32

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

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

auto vlan42
iface vlan42
    address 192.168.10.42/24
    vlan-raw-device br42_always_up
    vlan-id 42

auto vlan10
iface vlan10
    vlan-raw-device br10_not_always_up
    vlan-id 10

auto br42_always_up
iface br42_always_up
    bridge-vlan-aware yes
    bridge-vids 42
    bridge-pvid 1
    bridge-stp yes
    bridge-mcsnoop no
    bridge-always-up on
    mstpctl-forcevers rstp

auto br10_not_always_up
iface br10_not_always_up
    bridge-vlan-aware yes
    bridge-vids 10
    bridge-pvid 1
    bridge-stp yes
    bridge-mcsnoop no
    mstpctl-forcevers rstp

auto abc
iface abc
    hwaddress 00:11:11:11:11:11
    bridge-vlan-aware yes
    bridge-vids 1
    bridge-pvid 1
    bridge-stp yes
    bridge-mcsnoop no
    mstpctl-forcevers rstp
