Dear Phil, Thanks for your reply. How does your reply help me produce a list of IP-addresses? How does it expand the CIDR IP ranges (xxx.xxx.103.118/31)? How does it expand the dash ranges (xxx.xxx.103.115-xxx.xxx.103.116)? I don't see how your reply helps. Please enlighten me. With kind regards, Han