给网卡配置10个临时ip地址,但是不配置192.168.17.15这个ip时间:2023-03-09 06:26:31 给网卡配置10个临时ip地址,但是不配置192.168.17.15这个ip #!/bin/bash for i in `seq `;do if [ $i -eq ];then continue fi ifconfig eth0:$i 192.168..$i netmask 255.255.255.0 up ##up可以换成$,然后传入参数 up|down done