HeroM2 - HeroM2英雄连击引擎's Archiver
论坛
›
技术教程
› centos 批量添加IP
admin
发表于 2023-11-5 11:04:28
centos 批量添加IP
for I in $(seq 开始IP 结束IP); do nmcli con mod 网卡 +ipv4.addresses IP地址段.${I}/IP地址位; done
for I in $(seq 2 100); do nmcli con mod eth0 +ipv4.addresses 192.168.97.${I}/22; done
页:
[1]
查看完整版本:
centos 批量添加IP