deb http://deb.debian.org/debian/ bullseye main contrib non-free
# deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
# deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free
# deb-src http://deb.debian.org/debian/ bullseye-backports main contrib non-free
deb http://deb.debian.org/debian-security bullseye-security main contrib non-free
# deb-src http://deb.debian.org/debian-security bullseye-security main contrib non-free
然后保存,您就可以apt-get update
然后不得不安装的
apt-get install mtr curl vim
你要是使用vim
apt-get install vim
:wq
保存退出!
然后是网卡修改
vim /etc/network/interfaces
auto lo
iface lo inet loopback
dns-nameservers 1.1.1.1
iface lo inet6 static
address xxx::1/128
# The primary network interface
# This is an autoconfigured IPv6 interface
auto ens18
allow-hotplug ens18
iface ens18 inet static
address xx.xxx.xxx.xxx/24
gateway xxx.xxx.xxx.1
iface ens18 inet6 static
address ::0
netmask 64
gateway ::1
地址请自己填写!
gre/ip6gre Tunnel例子
// GRE code
auto hk1
iface hk1 inet6 static
address xxx::2/64
pre-up ip link add hk1 type gre local ip——address remote ip——address ttl 255
post-down ip link del hk1