diff options
Diffstat (limited to 'etc/systemd')
-rw-r--r-- | etc/systemd/network/10-cloud-init-eth0.network | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/etc/systemd/network/10-cloud-init-eth0.network b/etc/systemd/network/10-cloud-init-eth0.network index e1e0bd2d..f98222e3 100644 --- a/etc/systemd/network/10-cloud-init-eth0.network +++ b/etc/systemd/network/10-cloud-init-eth0.network @@ -1,21 +1,28 @@ -[Address] -Address=2606:a8c0:3:773::a/64 +# not fully understood +# https://unix.stackexchange.com/q/509430/ +# man `systemd.network` +# https://superuser.com/q/1562380 +# https://docs.netgate.com/pfsense/en/latest/network/ipv6/subnets.html -[Address] -Address=2606:a8c0:3::75f/128 +[Match] +Name=eth0 [Address] Address=38.175.201.185/22 -[Match] -MACAddress=00:46:d3:d8:15:5d -Name=eth0 +[Address] +# ...:1/64 also works, but I use ...:a/64 because crunchbits panel reverse DNS support this address +Address=2606:a8c0:3:773::a/64 +# use the following will not need GatewayOnLink=yes in [Route] section, but I'm not sure if it is correct, I'm not sure if those ips could be accessed without gateway, more see https://superuser.com/q/1562380 +#Address=2606:a8c0:3:773::a/48 -[Network] -DHCP=no -DNS=9.9.9.9 1.1.1.1 2620:fe::fe 2620:fe::9 +[Address] +Address=2606:a8c0:3::75f/128 [Route] -Gateway=2606:a8c0:3::1 Gateway=38.175.200.1 +[Route] +Gateway=2606:a8c0:3::1 +# GatewayOnLink=yes needed for 2606:a8c0:3::1 gateway, maybe because 2606:a8c0:3::1 is not in the same subnet as 2606:a8c0:3:38d::a/64? see: https://serverfault.com/q/814419 +GatewayOnLink=yes |