get all ip address from subnet mask

Posted by Guntis on Super User See other posts from Super User or by Guntis
Published on 2012-09-15T16:46:14Z Indexed on 2012/09/16 15:41 UTC
Read the original article Hit count: 212

Filed under:

I have this IP list shown below. How i can calculate all ip addresses from that in Linux? Is there some tools that can calculate that for me ? I need that to check if i have not banned some cloudflare IP's. As firewall i am using shorewall and i am banning with fail2ban single IP. As i know, then i cannot detect subent mask from IP adress, right?

204.93.240.0/24
204.93.177.0/24
199.27.128.0/21
173.245.48.0/20
103.22.200.0/22
141.101.64.0/18
108.162.192.0/18
190.93.240.0/20
188.114.96.0/20

© Super User or respective owner

Related posts about networking