Assuming ip's are in iplist.. j=1 for i in `cat iplist | cut -d\; -f1`; do ifconfig eth0:$j $i netmask 255.255.255.255 up; j=$(($j+1)); done
Back