diff options
author | Ryan Kavanagh <rak@rak.ac> | 2024-03-27 15:53:16 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2024-03-27 15:53:16 -0400 |
commit | ce1b826cce11df4884a37b0cd2f55fad9aecec25 (patch) | |
tree | d5b4170c97117103f9a33f75561c0b2ee96189ec /etc/systemd | |
parent | equivs (diff) |
systemd networkd
Diffstat (limited to 'etc/systemd')
-rw-r--r-- | etc/systemd/network/10-wired.network | 11 | ||||
-rw-r--r-- | etc/systemd/network/10-wlp3s0.network | 5 | ||||
-rw-r--r-- | etc/systemd/network/15-wireless.network | 11 | ||||
-rw-r--r-- | etc/systemd/network/20-dummy1.network | 2 | ||||
-rw-r--r-- | etc/systemd/network/20-dummy3.network | 2 |
5 files changed, 26 insertions, 5 deletions
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] |