From ce1b826cce11df4884a37b0cd2f55fad9aecec25 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 27 Mar 2024 15:53:16 -0400 Subject: systemd networkd --- etc/systemd/network/10-wired.network | 11 +++++++++++ etc/systemd/network/10-wlp3s0.network | 5 ----- etc/systemd/network/15-wireless.network | 11 +++++++++++ etc/systemd/network/20-dummy1.network | 2 ++ etc/systemd/network/20-dummy3.network | 2 ++ 5 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 etc/systemd/network/10-wired.network delete mode 100644 etc/systemd/network/10-wlp3s0.network create mode 100644 etc/systemd/network/15-wireless.network diff --git a/etc/systemd/network/10-wired.network b/etc/systemd/network/10-wired.network new file mode 100644 index 0000000..2dcd56e --- /dev/null +++ b/etc/systemd/network/10-wired.network @@ -0,0 +1,11 @@ +[Match] +Name=en* + +[Network] +DHCP=yes + +[DHCPv4] +RouteMetric=100 + +[IPv6AcceptRA] +RouteMetric=100 diff --git a/etc/systemd/network/10-wlp3s0.network b/etc/systemd/network/10-wlp3s0.network deleted file mode 100644 index 65dfd51..0000000 --- a/etc/systemd/network/10-wlp3s0.network +++ /dev/null @@ -1,5 +0,0 @@ -[Match] -Name=wlp3s0 - -[Network] -DHCP=yes diff --git a/etc/systemd/network/15-wireless.network b/etc/systemd/network/15-wireless.network new file mode 100644 index 0000000..11c3b80 --- /dev/null +++ b/etc/systemd/network/15-wireless.network @@ -0,0 +1,11 @@ +[Match] +Name=wl* + +[Network] +DHCP=yes + +[DHCPv4] +RouteMetric=600 + +[IPv6AcceptRA] +RouteMetric=600 diff --git a/etc/systemd/network/20-dummy1.network b/etc/systemd/network/20-dummy1.network index 41bf4be..2c83e2c 100644 --- a/etc/systemd/network/20-dummy1.network +++ b/etc/systemd/network/20-dummy1.network @@ -1,5 +1,7 @@ [Match] Name=dummy1 + +[Link] Unmanaged=yes [Network] diff --git a/etc/systemd/network/20-dummy3.network b/etc/systemd/network/20-dummy3.network index e0d4be5..e0a5d72 100644 --- a/etc/systemd/network/20-dummy3.network +++ b/etc/systemd/network/20-dummy3.network @@ -1,5 +1,7 @@ [Match] Name=dummy3 + +[Link] Unmanaged=yes [Network] -- cgit v1.2.3