blob: dc46831e884237307f3c5071dd6a9d00dba44e50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# 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
[Match]
Name=eth0
[Address]
Address=216.181.107.253/24
[Address]
# 2606:a8c0:3:38d::1/64 also works, but I use 2606:a8c0:3:38d::a/64 because crunchbits panel reverse DNS support this address
Address=2606:a8c0:3:38d::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:38d::a/48
[Route]
Gateway=216.181.107.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
|