summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/systemd/network/default.network7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/systemd/network/default.network b/etc/systemd/network/default.network
index c20fc696..3bcf67dd 100644
--- a/etc/systemd/network/default.network
+++ b/etc/systemd/network/default.network
@@ -4,3 +4,10 @@ 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