ubuntu24.04配置IPV6
ubuntu配置IPV6
配置文件
cd /etc/netplan/
vim 50-cloud-init.yaml
配置项
addresses:
- 192.168.201.138/21
- FC01:AAAA:0:200::1:15/64
nameservers:
addresses:
- 202.99.224.68
- 222.74.1.200
- 240c::6666
- 2400:da00::6666
search: []
routes:
- to: default
via: 192.168.200.1
- to: default
via: FC01:AAAA:0000:0200:0000:0000:0000:0001
#配置生效
#保存退出
:wq
netplan apply
ip -6 addr show ens32
原文地址:https://blog.csdn.net/ococotwd/article/details/144828284
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!