How Many IP Addresses In A 30? The Shocking Number Every Network Pro Needs To Know

7 min read

How Many IP Addresses Fit in a /30 Subnet?

You’ve got a /30 in your network diagram and you’re staring at a blank sheet of paper, wondering how many usable IPs that actually gives you. You’re not alone. Still, the /30 is a niche beast—small enough for point‑to‑point links, but big enough to be confusing. Let’s break it down, step by step, and get you comfortable with the math and the real‑world use cases.


What Is a /30 Subnet

When people talk about /30, they’re referring to a subnet mask of 255.On the flip side, 255. But 255. 252. In CIDR notation, the slash number tells you how many bits are dedicated to the network portion of the address. The rest are left for host addresses.

A /30 gives you four total addresses in the block:

  1. And network address (first address)
  2. Two usable host addresses

That’s it. Practically speaking, no more, no less. It’s the smallest subnet that still lets you have a point‑to‑point link between two devices Took long enough..


Why It Matters / Why People Care

You might wonder: “Why bother with a /30 at all? Why not just use a larger subnet?” The answer is simple: efficiency Worth keeping that in mind..

  • IP Conservation – In IPv4, every address is precious. A /30 uses only four addresses, so you waste almost nothing.
  • Security – Isolating a link in its own subnet keeps traffic from leaking into other parts of your network.
  • Simplicity – Many network devices (routers, switches, firewalls) expect a /30 for serial or Ethernet point‑to‑point links.

If you give a /30 a chance, you’ll see how cleanly it fits into the larger puzzle of network design.


How It Works (Or How to Do It)

Let’s walk through the numbers. Pick any IP, say 192.168.But 1. Plus, 0/30. In real terms, the mask 255. Plus, 255. 255.252 means the first 30 bits are fixed. The last 2 bits are free for host addresses Simple, but easy to overlook. Worth knowing..

1. Calculate Total Addresses

2^(32‑30) = 2^2 = 4 addresses.
That’s the block size.

2. Identify Network and Broadcast

  • Network: 192.168.1.0
  • Broadcast: 192.168.1.3

Those two are out of bounds for hosts And that's really what it comes down to..

3. Find Usable Hosts

  • First usable: 192.168.1.1
  • Second usable: 192.168.1.2

Two usable addresses. That’s why a /30 is called a “two‑host subnet.”

4. Apply to Any Classful or Classless Address

Take 10.0.Here's the thing — 0. 0/30:

  • Network: 10.0.0.That said, 0
  • Usable: 10. Plus, 0. 0.1, 10.Also, 0. Day to day, 0. Consider this: 2
  • Broadcast: 10. 0.0.

Same pattern, regardless of the original class And it works..


Common Use Cases

  • Serial links between routers – Each side gets one IP.
  • VPN tunnels – Point‑to‑point connections often use /30.
  • WAN interfaces – When you’re connecting two sites over a dedicated line.

If you’re setting up a new cable or fiber link, chances are you’ll hand out two IPs, one per end, and that’s a /30 That's the part that actually makes a difference..


Common Mistakes / What Most People Get Wrong

  1. Thinking /30 equals four usable IPs – It’s four total, but only two are usable.
  2. Using /30 on a LAN with more than two devices – It won’t work.
  3. Assuming the mask is always 255.255.255.252 – With IPv6 you’ll see different prefixes; with IPv4, it’s fixed.
  4. Overlooking the network and broadcast addresses – Forgetting they’re reserved leads to misconfigured devices.
  5. Neglecting documentation – When you hand out a /30, write down the exact block. Future you will thank you.

Practical Tips / What Actually Works

  • Label everything. Write “192.168.1.1/30 – Router A” and “192.168.1.2/30 – Router B” on the device and on your network map.
  • Use a subnet calculator. Even a quick Google search for “/30 subnet calculator” gives you the block instantly.
  • Keep a spare /30. If you need to add a new point‑to‑point link, you’ll have one ready.
  • Avoid overlapping. Make sure the /30 block doesn’t overlap with any other subnet in your network.
  • Document the purpose. Note why the link exists (e.g., “Primary WAN link to ISP A”). Future troubleshooting is a breeze.

FAQ

Q1: Can I use a /30 for a home network?
A1: Not really. A /30 only gives two usable IPs, so it’s only suitable for a single point‑to‑point link. For a home network you’ll need a larger subnet (e.g., /24) Easy to understand, harder to ignore..

Q2: What if I need three hosts on a point‑to‑point link?
A2: You’ll need a /29 (8 addresses, 6 usable) or a /28 (16 addresses, 14 usable). Pick the smallest that fits your host count Not complicated — just consistent..

Q3: Does a /30 work with IPv6?
A3: IPv6 uses prefixes like /64 for LANs and /127 for point‑to‑point links. A /30 is an IPv4 concept; the IPv6 equivalent is a /127.

Q4: Why does the broadcast address exist in a /30?
A4: The broadcast address allows devices on the network to send a message to all hosts. Even in a two‑host subnet, the broadcast is still needed for protocol operations.

Q5: Can I assign the network address to a device?
A5: No. The network address is reserved for the subnet itself and cannot be assigned to a host.


Closing Thoughts

A /30 is a tiny, efficient block that packs a punch where you need just two hosts. It’s a staple of point‑to‑point networking, and once you get the math, it’s almost second nature. Keep the rules in mind, label your links, and you’ll be routing like a pro in no time. Happy subnetting!

Real-World Scenarios

Let's tie this together with a few common situations you might encounter:

Scenario 1: ISP Connection
Your company signs up for a dedicated circuit. The ISP hands you a /30 — say, 203.0.113.4/30. Your router gets .5, the ISP's router gets .6. You configure your interface with 203.0.113.5/30 and set the default gateway to 203.0.113.6. Done. The other two addresses (.4 and .7) sit unused but reserved.

Scenario 2: WAN Link Between Offices
Branch Office A sits across town from Headquarters. You lease a fiber line and need direct routing between the two sites. You assign 10.20.0.0/30 to the link. HQ gets 10.20.0.1, Branch gets 10.20.0.2. Static routes on both sides point traffic across the /30 Small thing, real impact. Surprisingly effective..

Scenario 3: Backup Link
You have a primary MPLS circuit and a backup broadband link. Each gets its own /30. You label them clearly — "Primary WAN /30" and "Backup WAN /30" — and configure your routing protocol to prefer the primary, falling back to backup if it fails.


Advanced Tips for Seasoned Admins

  • Use /31s where supported — Some modern equipment and OSes (like Cisco IOS XE, Juniper, and Linux kernels) support /31 point-to-point links, which use both addresses with no waste. Check your hardware capabilities before deploying.
  • Automate documentation — If you manage dozens of /30s, consider a network documentation tool or a simple spreadsheet that tracks each block, its location, purpose, and assigned endpoints.
  • Plan for growth — If you later need to convert a point-to-point to a hub-and-spoke, you'll need a larger block. Document the original /30 so you can later aggregate or supernet it properly.
  • Watch for NAT issues — When using /30s behind NAT, ensure your translation rules account for both the local and remote endpoints. A misconfigured NAT can break the link silently.

A Final Word

Subnetting, at its core, is about efficiency and clarity. A /30 is one of the smallest building blocks you can use, but it solves a very specific problem elegantly. By understanding which addresses are usable, why the network and broadcast addresses exist, and how to document your work, you avoid the confusion that trips up so many newcomers.

Network design isn't just about making things work — it's about making them understandable, maintainable, and scalable. Every /30 you deploy is a tiny commitment. That said, treat it well: label it, document it, and move on. Your future self will appreciate the clarity.

This is where a lot of people lose the thread That's the part that actually makes a difference..

Now go forth and subnet with confidence That's the part that actually makes a difference..

Out This Week

Hot and Fresh

See Where It Goes

Before You Go

Thank you for reading about How Many IP Addresses In A 30? The Shocking Number Every Network Pro Needs To Know. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home