summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-28 07:44:37 +0000
committerXiao Pan <xyz@flylightning.xyz>2025-07-28 07:44:48 +0000
commitc1bc9e7257dad652fd889c44cc9c7b5c5546bedc (patch)
tree639c6f058ad702c366c08db4b8985492ebcfac27 /etc
parent2e525ab5f291bc80ff0c0b1d5aa117f78609671a (diff)
SIT 6in4 tunnel make sure use ens18
Because ens19 seems no network, if use ens19 then ipv6 will not work. The config in the past sometimes ipv6 not work I think is due to somehow SIT 6in4 tunnel sometimes use ens19 instead of ens18.
Diffstat (limited to 'etc')
-rw-r--r--etc/systemd/network/20-ethernet.network6
-rw-r--r--etc/systemd/network/21-ethernet.network8
2 files changed, 11 insertions, 3 deletions
diff --git a/etc/systemd/network/20-ethernet.network b/etc/systemd/network/20-ethernet.network
index 0311c124..40c1a574 100644
--- a/etc/systemd/network/20-ethernet.network
+++ b/etc/systemd/network/20-ethernet.network
@@ -1,10 +1,10 @@
# edited from arch linux iso 20-ethernet.network file
[Match]
-Name=en*
-Name=eth*
+Name=ens18
+# altname
+#Name=enp0s18
[Network]
DHCP=yes
# https://wiki.archlinux.org/title/IPv6_tunnel_broker_setup
Tunnel=ipv6net
-
diff --git a/etc/systemd/network/21-ethernet.network b/etc/systemd/network/21-ethernet.network
new file mode 100644
index 00000000..cd4ef687
--- /dev/null
+++ b/etc/systemd/network/21-ethernet.network
@@ -0,0 +1,8 @@
+# edited from arch linux iso 20-ethernet.network file
+[Match]
+# altname
+Name=ens19
+#Name=enp0s19
+
+[Network]
+DHCP=yes