中文久久,精品伦精品一区二区三区视频,美国AV一区二区三区,国产免费小视频

意見箱
恒創(chuàng)運營部門將仔細參閱您的意見和建議,必要時將通過預留郵箱與您保持聯(lián)絡(luò)。感謝您的支持!
意見/建議
提交建議

Debian 10/11/12 如何設(shè)置IPv6網(wǎng)絡(luò)

來源:佚名 編輯:佚名
2024-06-13 13:12:11

1、首先安裝文本編輯文件nano,執(zhí)行命令
sudo apt install -y nano

2、編輯debian網(wǎng)絡(luò)配置文件
sudo nano /etc/network/interfaces

3、按照以下格式填寫正確的IPv6配置
# The primary network interface
auto eth0
iface eth0 inet static
address 45.150.226.75/26
gateway 45.150.226.65
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8 1.1.1.1
dns-search debian
iface eth0 inet6 static
address 2604:9cc0:c:122e:c17c:48f0:70b8:630a
netmask 48
gateway 2604:9cc0:1:10::2d
dns-nameservers 2001:4860:4860::8888 2606:4700:4700::1111

上面IP地址請自行更換成自己的
iface eth0 inet static 為IPv4配置
iface eth0 inet6 static 為IPv6配置
address 為實際分配的IP地址
gateway 為實際分配的網(wǎng)關(guān)
netmask 為實際分配的網(wǎng)址范圍
dns-nameservers 為DNS服務(wù)器,實例里的IP為google的DNS服務(wù)器無需修改。


本網(wǎng)站發(fā)布或轉(zhuǎn)載的文章均來自網(wǎng)絡(luò),其原創(chuàng)性以及文中表達的觀點和判斷不代表本網(wǎng)站。
上一篇: 寶塔在軟件商店安裝時一直卡主?怎么解決? 下一篇: Debian系統(tǒng)如何升級軟件包
相關(guān)文章
查看更多