linode static IP networking code example
Example: linode static IP networking
[Match]
Name=eth0
[Network]
DHCP=no
Domains=members.linode.com
IPv6PrivacyExtensions=false
# DNS resolvers (safe to mix IPv4 and IPv6)
DNS=203.0.113.1 2001:db8:0:123::1 203.0.113.2
# IPv4 gateway and primary address.
Gateway=198.51.100.1
Address=198.51.100.2/24
# Add a second public IPv4 address.
Address=198.51.100.3/24
# Add a private address:
Address=192.168.133.234/17
# IPv6 gateway and primary address.
Gateway=fe80::1
Address=2001:db8:2000:aff0::2/64
# Add a second IPv6 address.
Address=2001:db8:2000:aff0::3/32