From d46aa13b408b5c3cac800742e33ac4cb0081c4b0 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:24:31 +0100 Subject: docs(etc/networkd): document Type= match breadth for bond0 Type=ether and Type=wlan match every interface of that class. Add comments pointing out that future USB/Thunderbolt dongles would get auto-enslaved into bond0, and how to narrow the match if that becomes undesirable. --- etc/systemd/network/30-ethernet-bond0.network | 3 +++ etc/systemd/network/30-wifi-bond0.network | 3 +++ 2 files changed, 6 insertions(+) (limited to 'etc/systemd') diff --git a/etc/systemd/network/30-ethernet-bond0.network b/etc/systemd/network/30-ethernet-bond0.network index d1b422c..39c4c7a 100644 --- a/etc/systemd/network/30-ethernet-bond0.network +++ b/etc/systemd/network/30-ethernet-bond0.network @@ -1,3 +1,6 @@ +# NOTE: Type=ether matches ALL ethernet interfaces. Any future USB/Thunderbolt +# ethernet dongle would be auto-enslaved into bond0. If that becomes a problem, +# narrow the [Match] section to MACAddress= or a persistent Name= (e.g. enp*s0). [Match] Type=ether diff --git a/etc/systemd/network/30-wifi-bond0.network b/etc/systemd/network/30-wifi-bond0.network index ed8743d..2874e47 100644 --- a/etc/systemd/network/30-wifi-bond0.network +++ b/etc/systemd/network/30-wifi-bond0.network @@ -1,3 +1,6 @@ +# NOTE: Type=wlan matches ALL wireless interfaces. Any future USB wifi dongle +# would be auto-enslaved into bond0. If that becomes a problem, narrow the +# [Match] section to MACAddress= or a persistent Name= (e.g. wlp*s0). [Match] Type=wlan -- cgit v1.2.3-70-g09d2