aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:31 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:31 +0100
commitd46aa13b408b5c3cac800742e33ac4cb0081c4b0 (patch)
tree975e6cdbe656c845454d0b44aeab9fc4aa3c01da /etc
parenteacc049c430d5210930fd909990582525e24fdf3 (diff)
downloaddotfiles-d46aa13b408b5c3cac800742e33ac4cb0081c4b0.tar.gz
dotfiles-d46aa13b408b5c3cac800742e33ac4cb0081c4b0.tar.bz2
dotfiles-d46aa13b408b5c3cac800742e33ac4cb0081c4b0.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/systemd/network/30-ethernet-bond0.network3
-rw-r--r--etc/systemd/network/30-wifi-bond0.network3
2 files changed, 6 insertions, 0 deletions
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