ubuntu22.04添加静态IPv6地址示例 2023-11-232023-11-23| 凡叔凡叔| 0 Comments| 09:30 Categories: ? 1 thought on “ubuntu22.04添加静态IPv6地址示例” 或者使用这个格式 sudo cat /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity' network: version: 2 renderer: NetworkManager 以上使用NetworkManager管理网络 nmcli device status sudo nmcli connection modify netplan-ens192 ipv4.addresses 10.8.0.19/16 ipv4.gateway 10.8.0.1 ipv4.dns 192.168.50.2 ipv4.method manual ipv4.dns-search a.v ipv6.addresses feee:8000::19/64 ipv6.gateway feee:8000::1 ipv6.dns feee:5000::5 ipv6.method manual ipv6.dns-search a.v sudo nmcli connection down netplan-ens192 && sudo nmcli connection up netplan-ens192 回复 Leave a Reply 取消回复您的邮箱地址不会被公开。 必填项已用 * 标注评论 * 显示名称 * 邮箱 * 网站 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。 通过邮件订阅评论 Δ 这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。 文章导航 PREVIOUS Previous post: 处理组策略失败。(LDAP 绑定函数调用失败)NEXT Next post: Sing-box笔记 Related Post NGINX1.4.2+PHP5.5.3+MYSQL5.5.33NGINX1.4.2+PHP5.5.3+MYSQL5.5.33 2013-07-172013-07-17| 凡叔凡叔| 0 Comment| 15:58 LNMP 环境一键安装,使用方法: 执行此命令 wget http://my-lnmp-down.google […] Read MoreRead More 救援模式安装AlpineLinux救援模式安装AlpineLinux 2024-10-142024-10-14| 凡叔凡叔| 0 Comment| 13:52 参考官方:Replacing non-Alpine Linux with Alpine remotely 一、 […] Read MoreRead More AD活动目录策略分享AD活动目录策略分享 2015-08-112015-08-11| 凡叔凡叔| 0 Comment| 18:01 我在格林工作时制作的AD活动目录GPO策略分享 格林豪泰酒店(中国)有限公司 Read MoreRead More
或者使用这个格式 sudo cat /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity' network: version: 2 renderer: NetworkManager 以上使用NetworkManager管理网络 nmcli device status sudo nmcli connection modify netplan-ens192 ipv4.addresses 10.8.0.19/16 ipv4.gateway 10.8.0.1 ipv4.dns 192.168.50.2 ipv4.method manual ipv4.dns-search a.v ipv6.addresses feee:8000::19/64 ipv6.gateway feee:8000::1 ipv6.dns feee:5000::5 ipv6.method manual ipv6.dns-search a.v sudo nmcli connection down netplan-ens192 && sudo nmcli connection up netplan-ens192 回复
NGINX1.4.2+PHP5.5.3+MYSQL5.5.33NGINX1.4.2+PHP5.5.3+MYSQL5.5.33 2013-07-172013-07-17| 凡叔凡叔| 0 Comment| 15:58 LNMP 环境一键安装,使用方法: 执行此命令 wget http://my-lnmp-down.google […] Read MoreRead More
救援模式安装AlpineLinux救援模式安装AlpineLinux 2024-10-142024-10-14| 凡叔凡叔| 0 Comment| 13:52 参考官方:Replacing non-Alpine Linux with Alpine remotely 一、 […] Read MoreRead More
AD活动目录策略分享AD活动目录策略分享 2015-08-112015-08-11| 凡叔凡叔| 0 Comment| 18:01 我在格林工作时制作的AD活动目录GPO策略分享 格林豪泰酒店(中国)有限公司 Read MoreRead More
或者使用这个格式
sudo cat /etc/netplan/00-installer-config.yaml# This is the network config written by 'subiquity'
network:
version: 2
renderer: NetworkManager
以上使用NetworkManager管理网络
nmcli device statussudo nmcli connection modify netplan-ens192 ipv4.addresses 10.8.0.19/16 ipv4.gateway 10.8.0.1 ipv4.dns 192.168.50.2 ipv4.method manual ipv4.dns-search a.v ipv6.addresses feee:8000::19/64 ipv6.gateway feee:8000::1 ipv6.dns feee:5000::5 ipv6.method manual ipv6.dns-search a.v
sudo nmcli connection down netplan-ens192 && sudo nmcli connection up netplan-ens192