ubuntu20系统(只支持批量绑定):
wget https://raw.githubusercontent.com/mydnsvip/Public/master/setipv6_20.sh Usage: ./setipv6.sh -s[-b] ipv6 [ipv6] OPTIONS: -s | --single: Binding IPV6 -b | --batch: Batch Binding IPV6 -u | --batchub: Batch ubuntu 20 Binding IPV6 -h | --help: Show Help Example: ./setipv6.sh -s 240e:d9:c200:101:7bb2::120 Example: ./setipv6.sh -b 240e:d9:c200:101:7bb2::120 240e:d9:c200:101:7bb2::130 Example: ./setipv6.sh -u 240e:d9:c200:101:7bb2::120 240e:d9:c200:101:7bb2::130 执行如下: 批量添加所有ipv6地址,前面ip是我司后台ipv6列表显示的第一个ip,后面ip是最后一个显示的ip bash ./setipv6_20.sh -u 240e:d9:c200:101:7bb2::120 240e:d9:c200:101:7bb2::130
注意Ubuntu中执行请使用bash 不要使用sh
ubuntu 14可以参考:https://blog.mydns.vip/4089.html
centos可以参考:https://blog.mydns.vip/4056.html
» 本文链接地址:https://blog.mydns.vip/4792.html
最新评论
麻烦发下检测工具
让我下载
非常好