United Kingdom IP ranges: IPv4 and IPv6 CIDR list

United Kingdom (GB) holds 8,256 IPv4 networks, 139,019,520 addresses in all, and 2,031 IPv6 networks. By IPv4 addresses it is number 4 of 238. The list comes from the regional internet registries, with neighbouring networks merged.

IPv4 networks
8,256
IPv4 addresses
139,019,520
IPv6 networks
2,031
Place by IPv4
#4
Open the full listData of 2026-11-30

Largest IPv4 networks 24

The largest network is a /8; on average a network has 16,839 addresses. These are the 24 largest.

  • 25.0.0.0/8
  • 48.192.0.0/10
  • 86.128.0.0/10
  • 172.128.0.0/10
  • 48.160.0.0/11
  • 81.128.0.0/11
  • 82.0.0.0/11
  • 86.0.0.0/11
  • 90.192.0.0/11
  • 107.32.0.0/11
  • 31.112.0.0/12
  • 57.160.0.0/12
  • 74.144.0.0/12
  • 81.96.0.0/12
  • 82.32.0.0/12
  • 90.240.0.0/12
  • 92.16.0.0/12
  • 94.0.0.0/12
  • 109.144.0.0/12
  • 135.224.0.0/12
  • 145.176.0.0/12
  • 172.192.0.0/12
  • 217.32.0.0/12
  • 2.96.0.0/13

All IPv4 networks 8,256

  • 1.186.0.0/16
  • 2.56.84.0/22
  • 2.56.148.0/22
  • 2.56.188.0/22
  • 2.56.196.0/22
  • 2.57.44.0/22
  • 2.57.196.0/22
  • 2.57.200.0/22
  • 2.57.237.0/24
  • 2.58.4.0/22
  • 2.58.152.0/22
  • 2.58.160.0/22
  • 2.58.192.0/22
  • 2.59.24.0/22
  • 2.59.200.0/22
  • 2.96.0.0/13
  • 2.120.0.0/13
  • 2.152.73.0/24
  • 2.152.84.0/23
  • 2.152.96.0/22
  • 2.216.0.0/13
  • 5.1.45.0/24
  • 5.2.16.0/21
  • 5.2.96.0/19
  • 5.10.16.0/20
  • 5.10.136.0/21
  • 5.10.144.0/20
  • 5.11.8.0/21
  • 5.11.16.0/20
  • 5.11.88.0/21
  • 5.22.136.0/21
  • 5.22.224.0/21
  • 5.28.48.0/20
  • 5.32.152.0/21
  • 5.39.176.0/21
  • 5.39.248.0/21
  • 5.42.207.0/24
  • 5.44.16.0/20
  • 5.44.224.0/20
  • 5.45.16.0/20
  • 5.45.48.0/21
  • 5.53.64.0/19
  • 5.56.48.0/21
  • 5.56.168.0/21
  • 5.57.56.0/21
  • 5.57.80.0/20
  • 5.61.72.0/21
  • 5.61.120.0/21
  • 5.63.18.0/24
  • 5.64.0.0/13
  • 5.77.32.0/19
  • 5.79.0.0/18
  • 5.80.0.0/15
  • 5.83.8.0/21
  • 5.83.96.0/21
  • 5.83.192.0/19
  • 5.100.168.0/21
  • 5.101.136.0/21
  • 5.101.144.0/21
  • 5.101.168.0/21
  • 5.102.80.0/20
  • 5.102.168.0/21
  • 5.102.184.0/21
  • 5.133.16.0/21
  • 5.133.40.0/21
  • 5.133.72.0/22
  • 5.133.80.0/22
  • 5.133.88.0/22
  • 5.133.168.0/21
  • 5.133.176.0/21
  • 5.133.184.0/22
  • 5.133.188.0/23
  • 5.133.191.0/24
  • 5.133.240.0/21
  • 5.134.8.0/21
  • 5.144.80.0/20
  • 5.144.152.0/21
  • 5.144.176.0/21
  • 5.145.178.0/23
  • 5.148.0.0/17
  • 5.148.128.0/19
  • 5.149.8.0/21
  • 5.150.0.0/17
  • 5.150.160.0/19
  • 5.151.0.0/16
  • 5.152.192.0/19
  • 5.153.64.0/19
  • 5.153.96.0/21
  • 5.153.192.0/19
  • 5.153.224.0/21
  • 5.153.248.0/21
  • 5.154.128.0/19
  • 5.154.184.0/24
  • 5.154.232.0/24
  • 5.154.242.0/24
  • 5.157.64.0/21
  • 5.158.88.0/21
  • 5.158.208.0/21
  • 5.158.224.0/21
  • 5.159.120.0/21
  • 5.159.196.0/22
  • 5.159.200.0/21
  • 5.159.208.0/21
  • 5.159.224.0/21
  • 5.172.48.0/20
  • 5.172.152.0/21
  • 5.172.160.0/20
  • 5.172.183.0/24
  • 5.175.56.0/21
  • 5.178.96.0/20
  • 5.179.72.0/21
  • 5.180.188.0/22
  • 5.180.208.0/21
  • 5.181.4.0/22
  • 5.181.20.0/22
  • 5.181.52.0/24
  • 5.181.56.0/22
  • 5.181.72.0/22
  • 5.181.104.0/22
  • 5.181.136.0/22
  • 5.182.8.0/22
  • 5.182.76.0/22
  • 5.182.220.0/22
  • 5.183.44.0/22
  • 5.183.60.0/22
  • 5.183.112.0/22
  • 5.183.176.0/22
  • 5.187.16.0/20
  • 5.198.0.0/17
  • 5.198.136.0/21
  • 5.199.0.0/17
  • 5.226.56.0/21
  • 5.226.136.0/21
  • 5.226.176.0/21
  • 5.252.36.0/22
  • 5.252.156.0/22
  • 5.252.196.0/22
  • 5.252.220.0/22
  • 5.253.104.0/21
  • 5.253.112.0/22
  • 5.253.168.0/22
  • 5.253.224.0/24
  • 5.253.252.0/22
  • 5.254.0.0/17
  • 5.254.160.0/21
  • 5.255.48.0/21
  • 5.255.58.0/23
  • 5.255.60.0/24
  • 5.255.136.0/21
  • 9.129.0.0/16
  • 9.130.0.0/15
  • 9.132.0.0/15
  • 9.135.0.0/16
  • 9.136.0.0/16
  • 9.140.0.0/15
  • 9.143.0.0/16
  • 9.145.0.0/16
  • 9.146.0.0/16
  • 9.149.0.0/16
  • 9.157.0.0/16

The first 160 of 8,256. The whole list is in the tool.

IPv6 networks 2,031

  • 2001:504:20::/46
  • 2001:630::/32
  • 2001:678:4::/47
  • 2001:678:f8::/48
  • 2001:678:120::/48
  • 2001:678:13c::/48
  • 2001:678:144::/48
  • 2001:678:150::/48
  • 2001:678:1ac::/48
  • 2001:678:254::/48
  • 2001:678:268::/48
  • 2001:678:2cc::/48
  • 2001:678:2dc::/48
  • 2001:678:2e0::/48
  • 2001:678:32c::/48
  • 2001:678:3c4::/48
  • 2001:678:3d8::/48
  • 2001:678:418::/48
  • 2001:678:424::/48
  • 2001:678:460::/48
  • 2001:678:47c::/48
  • 2001:678:484::/48
  • 2001:678:488::/48
  • 2001:678:498::/48
  • 2001:678:49c::/48
  • 2001:678:4a0::/48
  • 2001:678:4a4::/48
  • 2001:678:4bc::/48
  • 2001:678:4c8::/48
  • 2001:678:500::/48
  • 2001:678:550::/48
  • 2001:678:5ec::/48
  • 2001:678:60c::/48
  • 2001:678:634::/48
  • 2001:678:6b8::/48
  • 2001:678:714::/48
  • 2001:678:718::/48
  • 2001:678:728::/48
  • 2001:678:7a0::/48
  • 2001:678:7a8::/48
  • 2001:678:7b4::/48
  • 2001:678:7d0::/48
  • 2001:678:8a8::/48
  • 2001:678:900::/48
  • 2001:678:90c::/48
  • 2001:678:91c::/48
  • 2001:678:934::/48
  • 2001:678:950::/48
  • 2001:678:994::/48
  • 2001:678:9b4::/48
  • 2001:678:a38::/48
  • 2001:678:aa4::/48
  • 2001:678:aa8::/48
  • 2001:678:ac8::/48
  • 2001:678:b04::/48
  • 2001:678:b0c::/48
  • 2001:678:b2c::/48
  • 2001:678:b50::/48
  • 2001:678:b60::/48
  • 2001:678:bb0::/48
  • 2001:678:c18::/48
  • 2001:678:c40::/48
  • 2001:678:c64::/48
  • 2001:678:cb0::/48
  • 2001:678:cb4::/48
  • 2001:678:d84::/48
  • 2001:678:d90::/48
  • 2001:678:e78::/48
  • 2001:678:f04::/48
  • 2001:678:f3c::/48
  • 2001:678:f5c::/48
  • 2001:678:fb8::/48
  • 2001:678:fc8::/48
  • 2001:678:100c::/48
  • 2001:678:1018::/48
  • 2001:678:1028::/48
  • 2001:678:1054::/48
  • 2001:678:1068::/48
  • 2001:678:107c::/48
  • 2001:678:10b0::/48

The first 80 of 2,031. The whole list is in the tool.

Files for scripts and routers

Addresses that don't change. The date of the data is in the Last-Modified header.

MikroTik: fetch and import

/tool fetch url="https://velivpn.com/lists/country/gb.rsc"
/import gb.rsc

Ready for your router or client

The first lines in each format. The tool gives the whole list, merges neighbouring networks and says what a format can't hold.

MikroTik

# gb (2026-11-30), velivpn.com/tools/ip-list/
/ip firewall address-list
add list=country_gb address=25.0.0.0/8
add list=country_gb address=48.160.0.0/11
add list=country_gb address=48.192.0.0/10
add list=country_gb address=81.128.0.0/11
add list=country_gb address=82.0.0.0/11
add list=country_gb address=86.0.0.0/11
add list=country_gb address=86.128.0.0/10
add list=country_gb address=172.128.0.0/10
…

nftables

# gb (2026-11-30), velivpn.com/tools/ip-list/
table inet ip_list {
	set country_gb_v4 {
		type ipv4_addr
		flags interval
		elements = {
			25.0.0.0/8,
			48.160.0.0/11,
			48.192.0.0/10,
			81.128.0.0/11,
			82.0.0.0/11,
			86.0.0.0/11,
…

ipset

create country_gb_v4 hash:net family inet maxelem 65536 -exist
add country_gb_v4 25.0.0.0/8 -exist
add country_gb_v4 48.160.0.0/11 -exist
add country_gb_v4 48.192.0.0/10 -exist
add country_gb_v4 81.128.0.0/11 -exist
add country_gb_v4 82.0.0.0/11 -exist
add country_gb_v4 86.0.0.0/11 -exist
add country_gb_v4 86.128.0.0/10 -exist
add country_gb_v4 172.128.0.0/10 -exist
…

CSV

service,type,value
gb,ipv4,25.0.0.0/8
gb,ipv4,48.160.0.0/11
gb,ipv4,48.192.0.0/10
gb,ipv4,81.128.0.0/11
gb,ipv4,82.0.0.0/11
gb,ipv4,86.0.0.0/11
gb,ipv4,86.128.0.0/10
gb,ipv4,172.128.0.0/10
…

In Veli the same is set by sites and apps, without lists: what goes through the VPN and what goes direct. There is a package for OpenWrt routers. Free, no sign-up.

Download Veli

FAQ

How many IP addresses does United Kingdom have?

139,019,520 IPv4 addresses in 8,256 networks and 2,031 IPv6 networks, as of 2026-11-30.

Is an address from this list always in United Kingdom?

No. The registries record where the holder is registered, not where the server stands: companies lease and announce their networks elsewhere. Geolocation databases may say otherwise.

How do I block or route a whole country on MikroTik?

Take the MikroTik format in the tool: it is a script with address-list entries. Thousands of entries cost memory, so leave the merging of networks on.