mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-09 20:02:31 +01:00
etc/systemd/network: add enp0s18.network
from Rbtpzn
This commit is contained in:
parent
9e37b3b2d8
commit
e9ad27c7ff
13
etc/systemd/network/enp0s18.network
Normal file
13
etc/systemd/network/enp0s18.network
Normal file
@ -0,0 +1,13 @@
|
||||
[Match]
|
||||
Name=enp0s18
|
||||
|
||||
[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
|
||||
NTP=pool.ntp.org
|
Loading…
Reference in New Issue
Block a user