mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
systemd/networkd: add 00-family-visit.network.sample as an actually useful example configuration
This commit is contained in:
parent
d8dcf38094
commit
8586fd7dc1
35
etc/systemd/network/00-family-visit.network.sample
Normal file
35
etc/systemd/network/00-family-visit.network.sample
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[Match]
|
||||||
|
Type=ether
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
RequiredForOnline=false
|
||||||
|
#ActivationPolicy=always-up
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=false
|
||||||
|
Address=192.168.0.2/24
|
||||||
|
Gateway=192.168.8.1
|
||||||
|
IPv6PrivacyExtensions=true
|
||||||
|
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||||
|
DNS=
|
||||||
|
DNS=::1
|
||||||
|
DNS=127.0.0.1
|
||||||
|
Domains=.
|
||||||
|
|
||||||
|
[Match]
|
||||||
|
Type=wlan
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
ActivationPolicy=always-up
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=false
|
||||||
|
Address=192.168.0.3/24
|
||||||
|
Gateway=192.168.8.1
|
||||||
|
IPv6PrivacyExtensions=true
|
||||||
|
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||||
|
DNS=
|
||||||
|
DNS=::1
|
||||||
|
DNS=127.0.0.1
|
||||||
|
DNS=127.0.0.53
|
||||||
|
Domains=.
|
Loading…
Reference in New Issue
Block a user