aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.extra/etc/systemd/network/wired.network
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-11-12 11:13:17 +0100
committerdennis <dennis@mrslave>2019-11-12 11:13:17 +0100
commit5a6271f63fbb5d1d269c7ba62a55289ac9b5ef11 (patch)
tree9e1b00337ca130ef4de38b580535f70f25e64d7c /mkosi.extra/etc/systemd/network/wired.network
parentfuck ubuntus motd (diff)
downloadmkosi-pihole-5a6271f63fbb5d1d269c7ba62a55289ac9b5ef11.tar.gz
moving from skeleton to extra, and disabling dhcp
Diffstat (limited to 'mkosi.extra/etc/systemd/network/wired.network')
-rw-r--r--mkosi.extra/etc/systemd/network/wired.network15
1 files changed, 15 insertions, 0 deletions
diff --git a/mkosi.extra/etc/systemd/network/wired.network b/mkosi.extra/etc/systemd/network/wired.network
new file mode 100644
index 0000000..126654d
--- /dev/null
+++ b/mkosi.extra/etc/systemd/network/wired.network
@@ -0,0 +1,15 @@
+[Match]
+Name=host0
+
+[Network]
+DHCP=false
+DNS=127.0.0.1
+Domains=dnns.no
+Address=192.168.1.250
+Gateway=192.168.1.1
+Address=10.71.2.2/24
+
+[Route]
+Gateway=10.71.2.1
+Destination=10.71.2.0/24
+GatewayOnlink=true