scripts/network/20-wired.network

23 lines
422 B
SYSTEMD

[Match]
Name=enp1s0
[Network]
Description=Router
# Routing
DHCP=no
Address=192.168.1.2/24
Address=2605:a000:1135:90::7777/64
Gateway=192.168.1.1
Gateway=fe80::daa7:56ff:fe95:94b2
# DNS Options (enable everything)
MulticastDNS=true
DNSOverTLS=opportunistic
DNSSEC=allow-downgrade
Domains=~
# Google DNS
DNS=2001:4860:4860::8888
DNS=2001:4860:4860::8844
# Geez, did this asshole not configure IPv6?
DNS=8.8.8.8
DNS=8.8.4.4