The Internet of Things keeps expanding at a staggering pace. Meanwhile, the global supply of public IPv4 addresses ran dry more than a decade ago. If you’re planning or managing an IoT rollout, you’ve probably already run into this tension. Getting IPv4 for IoT deployments right means balancing device scalability, security, and cost against a finite address pool—and there’s no way around it. This guide walks through the architectural strategies, sourcing options, and operational habits that make the math work.
Why IPv4 Scarcity Hits IoT Hardest
All five Regional Internet Registries (RIRs) have exhausted their free IPv4 pools. ARIN, RIPE NCC, APNIC, LACNIC, and AFRINIC now allocate addresses mostly through returned-space waiting lists—or not at all. The secondary market filled the gap: /22 blocks routinely go for $25–$40 per address, and smaller blocks often carry a premium on top of that.
Need IPv4 addresses?
Browse clean, RIPE-verified subnets at $0.50/IP/month.
Why does IoT make this worse? A few reasons:
- Massive device counts. A smart-city sensor network or an agricultural monitoring deployment can involve tens of thousands of endpoints, each traditionally expected to need its own address.
- Remote and cellular connectivity. Many devices connect over LTE-M or NB-IoT, where carrier address pools are constrained too.
- Long device lifecycles. IoT hardware often stays in the field for 10–15 years. Today’s architectural decisions will follow you for a very long time.
IP Addressing Architectures for Large IoT Fleets
Network Address Translation (NAT) at the Edge
The most common approach puts devices behind a gateway doing NAT. Devices use RFC 1918 private addresses (10.0.0.0/8 is the workhorse for large deployments), and the gateway translates traffic through a small pool of public IPv4 addresses. A single /24 gives you 65,536+ translated sessions per address under typical port limits—plenty for thousands of sensors sending small, infrequent payloads.
A few practices worth insisting on for NAT-based fleets:
- Allocate generous translation table capacity. Devices with aggressive keepalive intervals can exhaust NAT session tables fast.
- Standardize on short keepalive timers only where you genuinely need them; every keepalive consumes NAT port lifetime.
- Log NAT translations centrally. When you need device forensics or a security audit, you’ll be glad you did.
Carrier-Grade NAT (CGNAT) for Cellular IoT
Mobile operators use CGNAT to serve millions of IoT SIMs from limited address pools. If your devices ride on carrier networks, understand what shared addressing implies: inbound connections are generally impossible, and some carriers apply port-blocking policies that affect protocols like MQTT over non-standard ports. Read the fine print before committing.
Reverse Proxy and Message Broker Patterns
When devices must be reachable—firmware updates, remote diagnostics, that kind of thing—avoid public addressing entirely. Route inbound access through an MQTT broker, message queue, or API gateway with a single public endpoint. This concentrates your attack surface, simplifies TLS certificate management, and cuts IPv4 consumption dramatically.
How to Acquire IPv4 Addresses for IoT Projects
Sometimes private addressing and NAT aren’t enough—redundancy gateways, hosted management infrastructure, customer-facing endpoints. Then you need real public IPv4 space. Your options:
| Option | Typical Cost | Timeframe | Best For |
|---|---|---|---|
| RIR waiting lists (returned space) | Low fees, but restricted sizes | Months to years | Organizations with flexible timelines |
| Buying on the transfer market | $25–$40 per address | 4–10 weeks with RIR transfer approval | Long-term infrastructure ownership |
| Leasing IPv4 blocks | $0.20–$0.50 per address/month | Days | Projects needing speed and flexibility |
Leasing has become especially attractive for IoT initiatives with uncertain growth curves. You can scale your allocation up or down as the deployment matures, without a large capital outlay. Buying makes sense when you want a permanent asset—and IPv4 has historically held or appreciated in value, so purchased blocks double as a hedge.
Should You Wait for IPv6?
IPv6 remains the industry’s long-term answer, and several IoT standards—6LoWPAN and Thread among them—were designed around it. So why not just wait? Because adoption is uneven globally. Some enterprise networks, legacy middleware, and regional carriers still lack reliable IPv6 support. The pragmatic strategy for most operators is dual-stack: design devices to support IPv6 from day one, but build IPv4-compatible connectivity now. NAT64/DNS64 gateways can bridge IPv6-only device networks to the IPv4 internet during the transition.
Practical Checklist for IoT IP Planning
- Classify traffic. Separate devices into “outbound-only” (NAT is fine) and “inbound-reachable” (needs broker/proxy patterns).
- Size your NAT architecture. Estimate concurrent sessions per gateway and provision public addresses accordingly—a /24 typically supports tens of thousands of constrained devices.
- Decide buy vs. lease early. Transfers take weeks; leases activate in days. Match the option to your deployment timeline.
- Vet address reputation. Blacklist checks belong in due diligence, not in the post-mortem.
- Plan for IPv6. Require dual-stack capability in your device procurement specs.
- Document everything. RIRs require demonstrated need and accurate registration data for transfers and allocations.
Frequently Asked Questions
How many IoT devices can share one public IPv4 address?
Behind NAT, a single IPv4 address offers roughly 64,000 ports, and well-behaved devices cycling through short-lived connections can support thousands of endpoints per address. Real-world capacity depends on keepalive frequency and session duration.
Is it cheaper to lease or buy IPv4 addresses?
Leasing costs less upfront (typically $0.20–$0.50 per address monthly) and suits flexible or short-horizon projects. Buying at $25–$40 per address pays off for permanent infrastructure and preserves a tradable asset.
Can I use private IP addresses for all my IoT devices?
Yes, provided the devices only initiate outbound connections and you operate gateways or brokers for inbound management. It’s the standard architecture for the vast majority of large IoT deployments.
Need IPv4 space? Lease RIPE-verified /24–/22 subnets at a flat $0.50/IP per month — LOA + RPKI/ROA in minutes, instant company verification, automatic renewals. Browse available subnets →