f16725e 3 months ago History
1 contributor
20 lines | 0.713kb
# Modular network configuration for tapia - Thunderbolt networking
# ifupdown2-safe: bridge comes up alone; TB ports hotplug in later

# Thunderbolt NIC appears late — don't 'auto' it
allow-hotplug thunderbolt0
iface thunderbolt0 inet manual
    pre-up ip link set dev $IFACE mtu 65520 || true
    post-up ip link set dev $IFACE mtu 65520 || true
    post-up ip link set dev $IFACE master thunderbridge || true

# Bridge must exist even with zero members
auto thunderbridge
iface thunderbridge inet static
    address 192.168.10.93/24
    bridge-ports none
    bridge-stp off
    bridge-fd 0
    mtu 65520
    pre-up ip link add name $IFACE type bridge 2>/dev/null || true
    post-up ip link set dev $IFACE up