Skip to content

vradchenko/ipv4-public-subnets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

ipv4-public-subnets

There are 3 IPv4 private subnets:

  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.0.0/16

But what if you need to get a list of all summarized public subnet ranges, excluding private ones? Here is the list:

IPv4 subnet IPv4 range
0.0.0.0/5 0.0.0.0 - 7.255.255.255
8.0.0.0/7 8.0.0.0 - 9.255.255.255
Private 10.0.0.0 - 10.255.255.255
11.0.0.0/8 11.0.0.0 - 11.255.255.255
12.0.0.0/6 12.0.0.0 - 15.255.255.255
16.0.0.0/4 16.0.0.0 - 31.255.255.255
32.0.0.0/3 32.0.0.0 - 63.255.255.255
64.0.0.0/2 64.0.0.0 - 127.255.255.255
128.0.0.0/3 128.0.0.0 - 159.255.255.255
160.0.0.0/5 160.0.0.0 - 167.255.255.255
168.0.0.0/6 168.0.0.0 - 171.255.255.255
172.0.0.0/12 172.0.0.0 - 172.15.255.255
Private 172.16.0.0 - 172.31.255.255
172.32.0.0/11 172.32.0.0 - 172.63.255.255
172.64.0.0/10 172.64.0.0 - 172.127.255.255
172.128.0.0/9 172.128.0.0 - 172.255.255.255
173.0.0.0/8 173.0.0.0 - 173.255.255.255
174.0.0.0/7 174.0.0.0 - 175.255.255.255
176.0.0.0/4 176.0.0.0 - 191.255.255.254
192.0.0.0/9 192.0.0.0 - 192.127.255.255
192.128.0.0/11 192.128.0.0 - 192.159.255.255
192.160.0.0/13 192.160.0.0 - 192.167.255.255
Private 192.168.0.0 - 192.168.255.255
192.169.0.0/16 192.169.0.0 - 192.169.255.255
192.170.0.0/15 192.170.0.0 - 192.171.255.255
192.172.0.0/14 192.172.0.0 - 192.175.255.255
192.176.0.0/12 192.176.0.0 - 192.191.255.255
192.192.0.0/10 192.192.0.0 - 192.255.255.255
193.0.0.0/8 193.0.0.0 - 193.255.255.255
194.0.0.0/7 194.0.0.0 - 195.255.255.255
196.0.0.0/6 196.0.0.0 - 199.255.255.255
200.0.0.0/5 200.0.0.0 - 207.255.255.255
208.0.0.0/4 208.0.0.0 - 223.255.255.255
224.0.0.0/3 224.0.0.0 - 255.255.255.255

Keep in mind this list includes so-called Special Purpose Addresses like 127.0.0.0/8 (Loopback) or 169.254.0.0/16 (Link Local). It only excludes 3 well know Private-Use subnets!

Copy-paste list (excluding private subnets)

  • 0.0.0.0/5
  • 8.0.0.0/7
  • 11.0.0.0/8
  • 12.0.0.0/6
  • 16.0.0.0/4
  • 32.0.0.0/3
  • 64.0.0.0/2
  • 128.0.0.0/3
  • 160.0.0.0/5
  • 168.0.0.0/6
  • 172.0.0.0/12
  • 172.32.0.0/11
  • 172.64.0.0/10
  • 172.128.0.0/9
  • 173.0.0.0/8
  • 174.0.0.0/7
  • 176.0.0.0/4
  • 192.0.0.0/9
  • 192.128.0.0/11
  • 192.160.0.0/13
  • 192.169.0.0/16
  • 192.170.0.0/15
  • 192.172.0.0/14
  • 192.176.0.0/12
  • 192.192.0.0/10
  • 193.0.0.0/8
  • 194.0.0.0/7
  • 196.0.0.0/6
  • 200.0.0.0/5
  • 208.0.0.0/4
  • 224.0.0.0/3

About

This repo provides summarized list of public IP subnet ranges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors