ProxySpace

APNIC · updated daily

Sri Lanka IP ranges

82 IPv4 blocks with 563,456 addresses and 25 IPv6 prefixes, registered to Sri Lanka, the 110th largest IPv4 holding of 239 countries.

IPv4 addresses

563.5K

IPv4 blocks

82

IPv6 prefixes

25

Share of all IPv4

0.02%

Format

LK.txt

Largest networks in Sri Lanka

Autonomous systems by the IPv4 addresses they announce inside these ranges.

NetworkASNIPv4 addresses
Sri Lanka Telecom LtdAS9329261,632
Dialog Axiata PlcAS18001183,808
Lanka Education and Research NetworkAS3822934,816
Lanka Communication Services (Pvt) Ltd.AS508722,784
Mobitel Pvt LtdAS4535617,408
Hutchison Telecommunications Lanka (Private) LimitedAS174704,352
Sri Lanka Telecom LtdAS1389843,072
Information and Communication Technology Agency of Sri LankaAS1321242,304
Hutchison Telecommunications Lanka (Private) LimitedAS1324472,048
Sri Lanka Telecom LtdAS179041,280

ASN data: IP Geolocation by DB-IP (CC BY 4.0).

Largest IPv4 blocks

The biggest single block is 112.134.0.0/15.

BlockAddressesAllocated
112.134.0.0/15131,0722009-01-29
124.43.0.0/1665,5362006-01-17
175.157.0.0/1665,5362010-01-13
123.231.0.0/1732,7682007-02-15
192.248.0.0/1732,7682010-07-22
111.223.128.0/1816,3842009-07-17
116.12.64.0/1816,3842007-03-27
122.255.0.0/1816,3842006-11-29
220.247.192.0/1816,3842003-03-28
222.165.128.0/1816,3842004-09-27
113.59.192.0/198,1922008-10-28
125.214.160.0/198,1922007-02-01
182.161.0.0/198,1922010-04-06
203.94.64.0/198,1922001-03-23
203.94.96.0/198,1922001-04-11

Allocations per year

IPv4 addresses assigned to networks in Sri Lanka each year, by registration date.

1995: 1,024 addresses. 1996: 2,048 addresses. 1997: 1,024 addresses. 1998: 0 addresses. 1999: 26,624 addresses. 2000: 4,096 addresses. 2001: 28,672 addresses. 2002: 8,192 addresses. 2003: 16,384 addresses. 2004: 20,480 addresses. 2005: 0 addresses. 2006: 84,224 addresses. 2007: 57,344 addresses. 2008: 14,336 addresses. 2009: 147,456 addresses. 147.5K 2010: 122,880 addresses. 2011: 8,192 addresses. 2012: 2,048 addresses. 2013: 256 addresses. 2014: 5,120 addresses. 2015: 1,024 addresses. 2016: 1,024 addresses. 2017: 6,400 addresses. 2018: 2,048 addresses. 2019: 768 addresses. 2020: 0 addresses. 2021: 0 addresses. 2022: 0 addresses. 2023: 1,280 addresses. 2024: 512 addresses. 1995 2024

Most recent allocations

BlockAddressesAllocated
160.30.6.0/242562024-07-22
157.10.164.0/242562024-01-11
103.230.177.0/242562023-07-03
103.210.128.0/235122023-05-29
103.140.194.0/235122023-04-21
103.144.60.0/242562019-10-16
103.142.50.0/242562019-08-19
103.138.180.0/242562019-05-01
116.204.212.0/221,0242018-11-16
203.96.160.0/221,0242018-11-16

Use the list

$curl -s https://proxyspace.pro/Ranges/LK.txt -o LK.txt
# Block Sri Lanka with ipset + iptables
ipset create lk4 hash:net
while read net; do ipset add lk4 "$net"; done < LK.txt
iptables -I INPUT -m set --match-set lk4 src -j DROP

# Is an address in Sri Lanka? (Python)
import ipaddress
nets = [ipaddress.ip_network(l) for l in open("LK.txt") if l.strip()]
print(any(ipaddress.ip_address("43.224.124.1") in n for n in nets))

Sri Lanka IP ranges: questions

How many IP addresses does Sri Lanka have?

Sri Lanka holds 563,456 IPv4 addresses in 82 blocks and 25 IPv6 prefixes, the 110th largest IPv4 holding of 239 countries (0.02% of all allocated IPv4). Compare it with other countries on the IP ranges by country page.

Which networks use the most Sri Lanka IP addresses?

Sri Lanka Telecom Ltd (AS9329, 261.6K addresses), Dialog Axiata Plc (AS18001, 183.8K addresses) and Lanka Education and Research Network (AS38229, 34.8K addresses). Look up any single address with the IP lookup tool.

How do I block all Sri Lanka IP addresses?

Download the list above in the format of your firewall: iptables/ipset, nginx, Apache, ufw or MikroTik. Turn on "aggregate" to merge adjacent blocks into fewer rules. The raw list is at /Ranges/LK.txt, one CIDR per line. To inspect a single block use the CIDR calculator.

Who assigns IP addresses in Sri Lanka?

APNIC, the regional internet registry for Asia-Pacific. ProxySpace downloads its delegation file every day; the most recent Sri Lanka allocation in it is 2024-07-22.

Are there free proxies in Sri Lanka?

Not in the current lists. They change every 20 minutes; the proxies by country page shows which countries have proxies right now.