|
Bogdan Timofte
authored
3 months ago
|
1
|
# Modular network configuration for tapia - Thunderbolt networking
|
|
|
2
|
# ifupdown2-safe: bridge comes up alone; TB ports hotplug in later
|
|
|
3
|
|
|
|
4
|
# Thunderbolt NIC appears late — don't 'auto' it
|
|
|
5
|
allow-hotplug thunderbolt0
|
|
|
6
|
iface thunderbolt0 inet manual
|
|
|
7
|
pre-up ip link set dev $IFACE mtu 65520 || true
|
|
|
8
|
post-up ip link set dev $IFACE mtu 65520 || true
|
|
|
9
|
post-up ip link set dev $IFACE master thunderbridge || true
|
|
|
10
|
|
|
|
11
|
# Bridge must exist even with zero members
|
|
|
12
|
auto thunderbridge
|
|
|
13
|
iface thunderbridge inet static
|
|
|
14
|
address 192.168.10.93/24
|
|
|
15
|
bridge-ports none
|
|
|
16
|
bridge-stp off
|
|
|
17
|
bridge-fd 0
|
|
|
18
|
mtu 65520
|
|
|
19
|
pre-up ip link add name $IFACE type bridge 2>/dev/null || true
|
|
|
20
|
post-up ip link set dev $IFACE up
|