# 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 swp1
iface swp1
    address 192.168.10.1/24
    mtu 4242
    link-fec auto
    link-speed 100
    link-duplex half
    link-autoneg off

auto swp2
iface swp2
    address 192.168.20.1/24
    mtu 1500
    ip-forward off
    disable-ipv6 yes
    link-fec baser
    link-speed 10000

auto swp3
iface swp3
    address 192.168.30.1/24
    mtu 9152
    ip-forward off
    ip6-forward off
    link-fec off
    link-speed 40000

auto swp4
iface swp4
    address 192.168.40.1/24
    address 2001::1/64
    disable-ipv6 yes
    bridge-vids 201 202 203
    link-fec rs
    link-speed 100

auto br_default
iface br_default
    bridge-ports swp3 swp4
    bridge-vlan-aware yes
    bridge-vids 200 201 202 203 204
    bridge-pvid 1
    bridge-stp yes
    bridge-mcsnoop no
