scripts/network/20-wired.network

24 lines
470 B
SYSTEMD

[Match]
Name=enp1s0
[Network]
Description=Router
# Routing
DHCP=no
IPv6AcceptRA=no
Gateway=192.168.1.1
Gateway=fe80::daa7:56ff:fe95:94b2
Address=192.168.1.2/24
Address=2605:a000:1135:90:ACE:6121:1EF7:BEEF/64
# DNS (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 right? Doesn't surprise me.
DNS=8.8.8.8
DNS=8.8.4.4