I have a variable called ip that contains a list of IPs.
ip
$ echo $ip 218.25.208.92 218.25.208.92 53.170.26.175 8.135.72.164 244.105.203.71 211.11