2015-04-29 09:41:42 +02:00
|
|
|
[Match]
|
2015-06-07 18:12:15 +02:00
|
|
|
Name=eth0
|
2015-04-29 09:41:42 +02:00
|
|
|
|
|
|
|
[Network]
|
2023-03-07 14:02:13 +01:00
|
|
|
#DHCP=yes
|
2023-03-07 13:46:28 +01:00
|
|
|
# /24, /16, /8 are the the class C, B, A networks
|
|
|
|
Address=192.168.0.2/24
|
|
|
|
Gateway=192.168.0.1
|
|
|
|
# DNS has no effect unless systemd-resolved is used. Why would it be used?
|
2015-04-29 09:41:42 +02:00
|
|
|
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
|
|
|
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
2023-03-07 13:46:28 +01:00
|
|
|
#DNS=127.0.0.1
|
|
|
|
#DNS=::1
|
|
|
|
#DNS=8.8.4.4
|
|
|
|
# Enable systemd-timesyncd with `timedatectl set-ntp true`, may be specified
|
|
|
|
# multiple times, but you are using Chrony instead, right?
|
|
|
|
#NTP=fi.pool.ntp.org
|
|
|
|
#NTP=time.cloudflare.com
|