aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/systemd/network/10-wired.network11
-rw-r--r--etc/systemd/network/10-wlp3s0.network5
-rw-r--r--etc/systemd/network/15-wireless.network11
-rw-r--r--etc/systemd/network/20-dummy1.network2
-rw-r--r--etc/systemd/network/20-dummy3.network2
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]