blob: 7829f5285827d72099f0ba80756c4b0413eda87e (
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
26
27
28
29
30
31
32
33
34
35
|
# 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=38.175.201.185/22
[Address]
Address=2606:a8c0:3::75f/128
[Address]
# another ipv6 address for aa wireguard+swgp into
# not sure if it is corret, but it works
Address=2606:a8c0:3:773::b/64
[Address]
# the last address seems is the default?
# ...:1/64 also works, but I use ...:a/64 because crunchbits panel reverse DNS support this address
# 2024-06-27, ...:1/64 seems doe not work any more, not sure why
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
[Route]
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
|