summaryrefslogtreecommitdiff
path: root/etc/systemd/network/default.network
blob: 3bcf67dd4858ce3c86f999a853669874e52e23ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Match]
Name=eth0

[Network]
Gateway=172.22.255.253
Address=172.22.246.184/20
# not sure if this is correct or not, but it works
Address=2408:4001:29b:6500::1/128
# /64 also works, not sure which is more correct
#Address=2408:4001:29b:6500::1/64
# only enable DHCP seems won't make ipv6 work, it adds some routes, seems not very useful
# note it seems also show ipv6 gateway via `ip -6 r`, but that ipv6 address seems not persistent so I'm not adding it here
#DHCP=yes