2015-04-29 10:41:42 +03:00
|
|
|
[Match]
|
2023-07-04 11:24:29 +03:00
|
|
|
# Can be {colon,hyphen,dot}-delimited hexadecimal or IPv{4,6} address
|
|
|
|
#MACAddress=
|
|
|
|
Type=ether
|
2015-04-29 10:41:42 +03:00
|
|
|
|
2023-03-31 13:33:27 +03:00
|
|
|
[Link]
|
|
|
|
# My devices generally also have WiFi so lack of ethernet is not a reason
|
|
|
|
# to wait for systemd-networkd-wait-online.service
|
2024-04-12 09:52:32 +03:00
|
|
|
RequiredForOnline=false
|
2023-08-23 14:40:18 +03:00
|
|
|
# Takes "ipv4", "ipv6", "both", or "any" (default).
|
|
|
|
RequiredFamilyForOnline=both
|
2024-04-12 09:52:32 +03:00
|
|
|
# Always set administrative state to up. Implies RequiredForOnline=true
|
2023-03-31 13:33:27 +03:00
|
|
|
#ActivationPolicy=always-up
|
|
|
|
|
2015-04-29 10:41:42 +03:00
|
|
|
[Network]
|
2024-04-12 09:52:32 +03:00
|
|
|
#DHCP=true
|
2023-03-07 14:46:28 +02:00
|
|
|
# /24, /16, /8 are the the class C, B, A networks
|
|
|
|
Address=192.168.0.2/24
|
|
|
|
Gateway=192.168.0.1
|
2024-04-22 12:07:39 +03:00
|
|
|
#DNS=
|
|
|
|
#NTP=
|