AFRINIC · updated daily
Kenya IP ranges
400 IPv4 blocks with 6,259,968 addresses and 177 IPv6 prefixes, registered to Kenya, the 53rd largest IPv4 holding of 239 countries.
IPv4 addresses
6.3M
IPv4 blocks
400
IPv6 prefixes
177
Share of all IPv4
0.17%
Format
Largest networks in Kenya
Autonomous systems by the IPv4 addresses they announce inside these ranges.
| Network | ASN | IPv4 addresses | Share |
|---|---|---|---|
| Safaricom Limited | AS33771 | 1,752,576 | |
| Airtel Networks Kenya Limited | AS36926 | 1,423,872 | |
| Kenya Education Network | AS36914 | 335,616 | |
| Jambonet Autonomous System | AS12455 | 303,104 | |
| Wananchi Group (K) LTD | AS15399 | 183,552 | |
| Safaricom Limited | AS37061 | 122,368 | |
| AccessKenya Group | AS15808 | 86,016 | |
| Jamii Telecommunications Limited | AS36866 | 76,800 | |
| MTN Business Kenya | AS9129 | 27,136 | |
| Internet Solutions Kenya AS | AS12556 | 17,408 |
ASN data: IP Geolocation by DB-IP (CC BY 4.0).
Largest IPv4 blocks
The biggest single block is 105.48.0.0/12.
| Block | Addresses | Registry | Allocated |
|---|---|---|---|
| 105.48.0.0/12 | 1,048,576 | AFRINIC | 2014-01-30 |
| 196.96.0.0/12 | 1,048,576 | AFRINIC | 2016-01-19 |
| 102.0.0.0/13 | 524,288 | AFRINIC | 2019-11-28 |
| 105.160.0.0/13 | 524,288 | AFRINIC | 2012-12-13 |
| 154.152.0.0/13 | 524,288 | AFRINIC | 2017-01-04 |
| 197.176.0.0/13 | 524,288 | AFRINIC | 2010-10-13 |
| 154.76.0.0/14 | 262,144 | AFRINIC | 2014-04-23 |
| 197.136.0.0/14 | 262,144 | AFRINIC | 2010-12-22 |
| 41.80.0.0/15 | 131,072 | AFRINIC | 2010-06-16 |
| 102.166.0.0/15 | 131,072 | AFRINIC | 2017-12-15 |
| 105.230.0.0/15 | 131,072 | AFRINIC | 2012-08-30 |
| 154.122.0.0/15 | 131,072 | AFRINIC | 2014-04-10 |
| 41.89.0.0/16 | 65,536 | AFRINIC | 2010-01-08 |
| 41.90.0.0/16 | 65,536 | AFRINIC | 2009-11-16 |
| 197.232.0.0/16 | 65,536 | AFRINIC | 2013-04-08 |
Allocations per year
IPv4 addresses assigned to networks in Kenya each year, by registration date.
Most recent allocations
| Block | Addresses | Registry | Allocated |
|---|---|---|---|
| 102.200.239.0/24 | 256 | AFRINIC | 2026-10-13 |
| 102.200.240.0/22 | 1,024 | AFRINIC | 2026-10-09 |
| 102.200.248.0/22 | 1,024 | AFRINIC | 2026-10-05 |
| 102.201.8.0/22 | 1,024 | AFRINIC | 2026-10-02 |
| 102.201.31.0/24 | 256 | AFRINIC | 2026-09-23 |
| 102.201.98.0/24 | 256 | AFRINIC | 2026-09-08 |
| 196.60.168.0/23 | 512 | AFRINIC | 2026-09-08 |
| 102.201.84.0/22 | 1,024 | AFRINIC | 2026-09-07 |
| 102.201.92.0/22 | 1,024 | AFRINIC | 2026-09-02 |
| 102.201.110.0/24 | 256 | AFRINIC | 2026-09-01 |
Use the list
curl -s https://proxyspace.pro/Ranges/KE.txt -o KE.txt# Block Kenya with ipset + iptables
ipset create ke4 hash:net
while read net; do ipset add ke4 "$net"; done < KE.txt
iptables -I INPUT -m set --match-set ke4 src -j DROP
# Is an address in Kenya? (Python)
import ipaddress
nets = [ipaddress.ip_network(l) for l in open("KE.txt") if l.strip()]
print(any(ipaddress.ip_address("41.57.96.1") in n for n in nets))Kenya IP ranges: questions
How many IP addresses does Kenya have?
Kenya holds 6,259,968 IPv4 addresses in 400 blocks and 177 IPv6 prefixes, the 53rd largest IPv4 holding of 239 countries (0.17% of all allocated IPv4). Compare it with other countries on the IP ranges by country page.
Which networks use the most Kenya IP addresses?
Safaricom Limited (AS33771, 1.8M addresses), Airtel Networks Kenya Limited (AS36926, 1.4M addresses) and Kenya Education Network (AS36914, 335.6K addresses). Look up any single address with the IP lookup tool.
How do I block all Kenya 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/KE.txt, one CIDR per line. To inspect a single block use the CIDR calculator.
Who assigns IP addresses in Kenya?
AFRINIC, the regional internet registry for Africa. ProxySpace downloads its delegation file every day; the most recent Kenya allocation in it is 2026-10-13.
Are there free proxies in Kenya?
Yes, 57 in the current lists. See free Kenya proxies for the lists per protocol, refreshed every 20 minutes.