From c1bc9e7257dad652fd889c44cc9c7b5c5546bedc Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Mon, 28 Jul 2025 07:44:37 +0000 Subject: 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. --- etc/systemd/network/20-ethernet.network | 6 +++--- etc/systemd/network/21-ethernet.network | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 etc/systemd/network/21-ethernet.network 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 -- cgit v1.2.3-70-g09d2