Skip to content

Instantly share code, notes, and snippets.

@atoonk
Created September 27, 2023 19:32
Show Gist options
  • Save atoonk/e351992785de8ce79d1096c2ba0b98dc to your computer and use it in GitHub Desktop.
Save atoonk/e351992785de8ce79d1096c2ba0b98dc to your computer and use it in GitHub Desktop.
Google IPv4
arin_entities = ["GOOGL-2", "GOOGL-1", "YL-29", "GOGL"]
urls = ["https://www.gstatic.com/ipranges/cloud.json", "https://www.gstatic.com/ipranges/goog.json"]
4.3.2.0/24
8.8.4.0/24
8.8.8.0/24
8.34.208.0/20
8.35.192.0/20
23.236.48.0/20
23.251.128.0/19
34.0.0.0/9
34.128.0.0/10
35.184.0.0/13
35.192.0.0/11
35.224.0.0/12
35.240.0.0/13
38.88.195.72/29
63.158.137.224/29
64.15.112.0/20
64.41.221.192/28
64.68.64.64/26
64.233.160.0/19
64.246.133.0/26
66.22.228.0/23
66.102.0.0/20
66.249.64.0/19
67.148.177.136/29
70.32.128.0/19
72.14.192.0/18
74.114.24.0/21
74.125.0.0/16
104.132.0.0/14
104.154.0.0/15
104.196.0.0/14
104.237.160.0/19
107.167.160.0/19
107.178.192.0/18
108.59.80.0/20
108.170.192.0/18
108.177.0.0/17
130.211.0.0/16
136.22.128.0/19
142.250.0.0/15
146.148.0.0/17
149.11.21.16/29
162.216.148.0/22
162.222.176.0/21
172.110.32.0/21
172.217.0.0/16
172.253.0.0/16
173.194.0.0/16
173.255.112.0/20
192.158.28.0/22
192.178.0.0/15
193.186.4.0/24
199.36.152.0/21
199.192.112.0/22
199.223.232.0/21
207.223.160.0/20
208.46.199.160/29
208.65.152.0/22
208.68.108.0/22
208.76.68.0/22
208.81.188.0/22
208.87.172.0/22
208.117.224.0/19
209.85.128.0/17
209.141.120.128/26
209.141.121.128/25
209.185.108.128/25
216.33.229.144/29
216.33.229.160/29
216.58.192.0/19
216.73.80.0/20
216.109.75.80/28
216.239.32.0/19
1x /9 => 8388608
1x /10 => 4194304
1x /11 => 2097152
1x /12 => 1048576
2x /13 => 1048576
2x /14 => 524288
3x /15 => 393216
5x /16 => 327680
3x /17 => 98304
3x /18 => 49152
10x /19 => 81920
9x /20 => 36864
5x /21 => 10240
8x /22 => 8192
1x /23 => 512
4x /24 => 1024
2x /25 => 256
3x /26 => 192
2x /28 => 32
7x /29 => 56
Total number of IPv4 addresses: 18,309,144
value at $20 per ip: $366,182,880
value at $25 per ip: $457,728,600
value at $30 per ip: $549,274,320
value at $35 per ip: $640,820,040
value at $40 per ip: $732,365,760
value at $50 per ip: $915,457,200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment