awk '{while ((++i)<=250) print "DEVICE=eth0:"i"\nONBOOT=yes\nBOOTPROTO=static\nIPADDR=192.168.1."9+i"\nNETMASK=255.255.255.0" > "ifcfg-eth0:"i}' <<< 1