]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: enable LLDP for links that use only link-local addressing
authorLennart Poettering <lennart@amutable.com>
Sun, 22 Feb 2026 13:15:20 +0000 (14:15 +0100)
committerLennart Poettering <lennart@amutable.com>
Tue, 24 Feb 2026 16:09:33 +0000 (17:09 +0100)
Links with link-local-only communication are typically peer-to-peer
links between two laptops or similar. In such cases it makes sense to be
able to see which device one is specifically connected to, hence let's
just enable LLDP for it. This doesn't leak any data really, given that
this is inherently local, and typically only used between isolated
systems that are under the same user's possession.

Background: I recently connected multiple laptops via thunderbolt networking
and was kinda annoyed not being able to see what system I was actually
talking to.

(Also, the file touched here is an example only anyway, so even if this
would leak too much info, it's not in effect by default)

network/80-auto-link-local.network.example

index 286b5324960fe9cbfee8d35bdfd3577d3335e0d6..5af0c627829469045b33d899297bfa678e051c42 100644 (file)
@@ -18,3 +18,5 @@ Property=ID_NET_AUTO_LINK_LOCAL_ONLY=1
 LinkLocalAddressing=yes
 IPv6AcceptRA=no
 MulticastDNS=yes
+LLDP=yes
+EmitLLDP=yes