mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-26 13:19:23 +01:00
etc/systemd/network: update samples and comments to reflect my current views
This commit is contained in:
parent
d51d8e810a
commit
514ed85374
@ -2,13 +2,16 @@
|
|||||||
Name=eth0
|
Name=eth0
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
Address=172.16.1.2/16
|
# /24, /16, /8 are the the class C, B, A networks
|
||||||
Gateway=172.16.0.1
|
Address=192.168.0.2/24
|
||||||
# DNS has no effect unless systemd-resolved is used
|
Gateway=192.168.0.1
|
||||||
|
# DNS has no effect unless systemd-resolved is used. Why would it be used?
|
||||||
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
||||||
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||||
DNS=127.0.0.1
|
#DNS=127.0.0.1
|
||||||
DNS=::1
|
#DNS=::1
|
||||||
DNS=8.8.4.4
|
#DNS=8.8.4.4
|
||||||
# Enable systemd-timesyncd with `timedatectl set-ntp true`
|
# Enable systemd-timesyncd with `timedatectl set-ntp true`, may be specified
|
||||||
NTP=fi.pool.ntp.org
|
# multiple times, but you are using Chrony instead, right?
|
||||||
|
#NTP=fi.pool.ntp.org
|
||||||
|
#NTP=time.cloudflare.com
|
||||||
|
Loading…
Reference in New Issue
Block a user