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]
|
|
|
|
Address=172.16.1.2/16
|
|
|
|
Gateway=172.16.0.1
|
|
|
|
# DNS has no effect unless systemd-resolved is used
|
|
|
|
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
|
|
|
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
|
|
|
DNS=127.0.0.1
|
|
|
|
DNS=::1
|
|
|
|
DNS=8.8.4.4
|
2015-06-07 18:12:15 +02:00
|
|
|
# Enable systemd-timesyncd with `timedatectl set-ntp true`
|
|
|
|
NTP=fi.pool.ntp.org
|