From 57db78c147877d8c869a9046ad031be53f4e4e00 Mon Sep 17 00:00:00 2001 From: mpmc Date: Sun, 21 May 2023 23:22:34 +0100 Subject: [PATCH] add static eth0 example & only enable systemd-resolved if available on distro --- systemd/network/eth0-static.network | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 systemd/network/eth0-static.network diff --git a/systemd/network/eth0-static.network b/systemd/network/eth0-static.network new file mode 100644 index 0000000..02e2899 --- /dev/null +++ b/systemd/network/eth0-static.network @@ -0,0 +1,15 @@ +[Match] +Name=eth0 + +[Network] +Address=192.168.1.250/24 +Gateway=192.168.1.1 + +DNSOverTLS=opportunistic + +DNS=9.9.9.9 + +DNS=149.112.112.112 + +# Link discovery causes some issues so disable it. +LLDP=no