把红色部分改成网卡 MAC 地址
cat /etc/systemd/network/10-persistent-net.link
[Match]
MACAddress=
de:1c:9c:06:60:68
[Link]
Name=eth0
EOF
在开机脚本添加静态地址(可选)
nano /etc/rc.local
ip address add 1.1.1.100/24 dev eth0
ip route add default via 1.1.1.1
ip -6 address add 2606:4700:4700::1111/64 dev eth0
ip -6 route add default via 2606:4700:4700::1
参考
https://wiki.debian.org/NetworkInterfaceNames#ref