ProxySpace

LACNIC · updated daily

Mexico IP ranges

1,395 IPv4 blocks with 28,964,608 addresses and 615 IPv6 prefixes, registered to Mexico, the 18th largest IPv4 holding of 239 countries.

IPv4 addresses

29M

IPv4 blocks

1,395

IPv6 prefixes

615

Share of all IPv4

0.79%

Format

MX.txt

Largest networks in Mexico

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

NetworkASNIPv4 addresses
Uninet S.A. de C.V.AS815113,473,792
Mega Cable, S.A. de C.V.AS139991,957,632
Axtel, S.A.B. de C.V.AS65031,223,680
Alestra, S. de R.L. de C.V.AS11172595,712
Mexico Red de Telecomunicaciones, S. de R.L. de C.V.AS13591491,776
Television Internacional, S.A. de C.V.AS11888457,472
TOTAL PLAY TELECOMUNICACIONES, S.A.P.I. DE C.V.AS22884297,984
Cablemas Telecomunicaciones SA de CVAS28509289,280
Transtelco IncAS32098258,816
Operbes, S.A. de C.V.AS18734205,824

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

Largest IPv4 blocks

The biggest single block is 187.192.0.0/11.

BlockAddressesAllocated
187.192.0.0/112,097,1522011-06-06
189.128.0.0/112,097,1522006-05-12
189.160.0.0/112,097,1522006-05-12
187.128.0.0/121,048,5762007-12-06
187.144.0.0/121,048,5762007-12-06
187.224.0.0/121,048,5762011-07-11
189.224.0.0/121,048,5762007-09-05
189.240.0.0/121,048,5762007-09-05
201.96.0.0/121,048,5762005-11-14
177.224.0.0/13524,2882013-02-20
177.240.0.0/13524,2882014-03-26
187.168.0.0/13524,2882010-03-02
187.240.0.0/13524,2882012-03-16
189.192.0.0/13524,2882012-01-09
201.112.0.0/13524,2882005-11-14

Allocations per year

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

1988: 65,536 addresses. 1989: 196,608 addresses. 1990: 65,792 addresses. 1991: 132,096 addresses. 1992: 739,584 addresses. 1993: 1,048,832 addresses. 1994: 777,216 addresses. 1995: 60,672 addresses. 1996: 109,568 addresses. 1997: 244,736 addresses. 1998: 322,048 addresses. 1999: 268,544 addresses. 2000: 358,144 addresses. 2001: 312,320 addresses. 2002: 210,176 addresses. 2003: 375,552 addresses. 2004: 385,792 addresses. 2005: 3,094,528 addresses. 2006: 4,559,360 addresses. 2007: 4,718,848 addresses. 4.7M 2008: 779,264 addresses. 2009: 671,744 addresses. 2010: 1,011,712 addresses. 2011: 4,101,120 addresses. 2012: 1,689,088 addresses. 2013: 1,142,784 addresses. 2014: 1,143,040 addresses. 2015: 31,488 addresses. 2016: 32,000 addresses. 2017: 34,816 addresses. 2018: 32,768 addresses. 2019: 66,304 addresses. 2020: 53,760 addresses. 2021: 8,448 addresses. 2022: 9,984 addresses. 2023: 512 addresses. 2024: 13,056 addresses. 2025: 18,944 addresses. 2026: 77,824 addresses. 1988 2026

Most recent allocations

BlockAddressesAllocated
23.165.36.0/242562026-10-05
23.164.204.0/242562026-09-28
204.153.206.0/235122026-09-28
23.164.12.0/242562026-09-03
185.12.7.0/242562026-09-01
140.232.91.0/242562026-08-31
148.239.0.0/1816,3842026-08-28
148.239.64.0/1816,3842026-08-28
148.239.128.0/1732,7682026-08-28
45.68.136.0/242562026-08-20

Use the list

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

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

Mexico IP ranges: questions

How many IP addresses does Mexico have?

Mexico holds 28,964,608 IPv4 addresses in 1,395 blocks and 615 IPv6 prefixes, the 18th largest IPv4 holding of 239 countries (0.79% of all allocated IPv4). Compare it with other countries on the IP ranges by country page.

Which networks use the most Mexico IP addresses?

Uninet S.A. de C.V. (AS8151, 13.5M addresses), Mega Cable, S.A. de C.V. (AS13999, 2M addresses) and Axtel, S.A.B. de C.V. (AS6503, 1.2M addresses). Look up any single address with the IP lookup tool.

How do I block all Mexico 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/MX.txt, one CIDR per line. To inspect a single block use the CIDR calculator.

Who assigns IP addresses in Mexico?

LACNIC, the regional internet registry for Latin America and the Caribbean. ProxySpace downloads its delegation file every day; the most recent Mexico allocation in it is 2026-10-05.

Are there free proxies in Mexico?

Yes, 120 in the current lists. See free Mexico proxies for the lists per protocol, refreshed every 20 minutes.