summaryrefslogtreecommitdiff
path: root/.local/hosts/swift/etc/systemd/network
diff options
context:
space:
mode:
Diffstat (limited to '.local/hosts/swift/etc/systemd/network')
-rw-r--r--.local/hosts/swift/etc/systemd/network/20-wired.network8
-rw-r--r--.local/hosts/swift/etc/systemd/network/25-wireless.network8
-rw-r--r--.local/hosts/swift/etc/systemd/network/bind.network5
-rw-r--r--.local/hosts/swift/etc/systemd/network/bridge.netdev4
-rw-r--r--.local/hosts/swift/etc/systemd/network/bridge.network5
5 files changed, 30 insertions, 0 deletions
diff --git a/.local/hosts/swift/etc/systemd/network/20-wired.network b/.local/hosts/swift/etc/systemd/network/20-wired.network
new file mode 100644
index 0000000..9ac4295
--- /dev/null
+++ b/.local/hosts/swift/etc/systemd/network/20-wired.network
@@ -0,0 +1,8 @@
+[Match]
+Name=e*
+
+[Network]
+DHCP=ipv4
+
+[DHCP]
+RouteMetric=10
diff --git a/.local/hosts/swift/etc/systemd/network/25-wireless.network b/.local/hosts/swift/etc/systemd/network/25-wireless.network
new file mode 100644
index 0000000..3bb9c39
--- /dev/null
+++ b/.local/hosts/swift/etc/systemd/network/25-wireless.network
@@ -0,0 +1,8 @@
+[Match]
+Name=wl*
+
+[Network]
+DHCP=ipv4
+
+[DHCP]
+RouteMetric=20
diff --git a/.local/hosts/swift/etc/systemd/network/bind.network b/.local/hosts/swift/etc/systemd/network/bind.network
new file mode 100644
index 0000000..c0313fe
--- /dev/null
+++ b/.local/hosts/swift/etc/systemd/network/bind.network
@@ -0,0 +1,5 @@
+[Match]
+Name=wl*
+
+[Network]
+Bridge=br0
diff --git a/.local/hosts/swift/etc/systemd/network/bridge.netdev b/.local/hosts/swift/etc/systemd/network/bridge.netdev
new file mode 100644
index 0000000..fe9c2ad
--- /dev/null
+++ b/.local/hosts/swift/etc/systemd/network/bridge.netdev
@@ -0,0 +1,4 @@
+[NetDev]
+Name=br0
+Kind=bridge
+MACAddress=3c:f0:11:73:77:51
diff --git a/.local/hosts/swift/etc/systemd/network/bridge.network b/.local/hosts/swift/etc/systemd/network/bridge.network
new file mode 100644
index 0000000..684ce83
--- /dev/null
+++ b/.local/hosts/swift/etc/systemd/network/bridge.network
@@ -0,0 +1,5 @@
+[Match]
+Name=br0
+
+[Network]
+Address=10.0.2.1/24