•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

IPv4 Subnets Explained: /31, /30, /29, /28, /27, /26 (How Many IPs You Can Actually Use)

  • Home
  • Client
  • Knowledgebase
  • Network
  • IPv4 Subnets Explained: /31, /30, /29, /28, /27, /26 (How Many IPs You Can Actually Use)

Table Of Content

Related Articles

  • Setup VPN on CentOS 8
  • Data Center Redundancy: N+1
  • What is the difference between Latency, Bandwidth and Throughput?
  • How To Point A Domain Name To An IP Address
  • How to do a speed test using Psychz looking glass?
  • Quagga Routing - Install, Configure and setup BGP
  • Guide to establish a GRE Tunnel and BGP peering session on MikroTik RouterOS
  • Common Types of Network Attacks
  • Community Strings For Psychz Networks
  • IPv4 - Subnetting made easy
  • Centos add virtual IP(s)
  • Views: (20)
  • Votes: (0)
Was this article helpful?
VOTE

IPv4 Subnets Explained: /31, /30, /29, /28, /27, /26 (How Many IPs You Can Actually Use)

Publisher: Psychz Networks,  February 10,2026

When you order “extra IPv4” you’re really ordering an IP block (also called a subnet), like /30 or /29. Clients often ask: “How many IPs can I use for my server and applications?” This article answers that clearly, including the common “gateway” confusion.


Quick chart: total IPs vs IPs you can use on your server

In most real-world setups, one IP is used as the gateway (the router address your server uses to reach the internet). That gateway IP is not an extra third IP — it usually comes from inside the block.

Block Total IPs in the block “Host” IPs in the block Typical IPs you can assign to your server/apps*
/31221
/30421
/29865
/28161413
/27323029
/26646261

* Typical = “gateway is inside the block.” Some networks can be set up differently (see “Advanced note” below).


What is a gateway (and why can’t I use it for hosting)?

Think of the gateway as your server’s “next hop” to the internet.

  • Your server needs a gateway to reach anything outside its own subnet (websites, updates, APIs, etc.).

  • The gateway is usually an IP address on the provider’s router.

  • Because it belongs to the router, you can’t bind it on your server to host websites, game servers, or other apps.

Bottom line: The gateway is required for normal internet connectivity, and it usually consumes one of the host IPs in small blocks like /31 and /30.


Why a /30 doesn’t usually mean “2 IPs for my apps”

A /30 contains:

  • 2 host IPs

  • But one host IP is typically the gateway

  • That leaves 1 IP for your server/apps

Example (illustration):

  • Block: 203.0.113.8/30

  • Host IPs: 203.0.113.9 and 203.0.113.10

  • Typical setup:

    • 203.0.113.9 = gateway (router)

    • 203.0.113.10 = your server IP (usable for apps)

So yes: /30 has 2 host IPs, but you typically only get 1 IP you can use on your server.


What about /31 — why would anyone order it?

A /31 is commonly used for a simple “link” where:

  • 1 IP is used by the gateway/router

  • 1 IP is used by your server

So in practice, a /31 is usually “one server IP” (with the other IP being the gateway).


Which block size should I choose?

Use this quick guide (based on typical gateway-inside-block setups):

  • Need 1 usable IPv4 for the server? → /31 or /30

  • Need ~5 usable IPv4s for apps, containers, VIPs, or NAT? → /29

  • Need ~13 usable IPv4s → /28

  • Need ~29 usable IPv4s → /27

  • Need ~61 usable IPv4s → /26

If you’re not sure: /29 is often the first size that feels “roomy” for real projects because it gives multiple assignable IPs.


Common questions (FAQ)

“Sales told me /30 has 2 usable IPs. Support says I only get 1. Who’s right?”

Both, depending on what “usable” means:

  • Subnet math: /30 has 2 host IPs

  • Typical customer usage: 1 is the gateway, leaving 1 IP you can assign on your server

“Can I host a website or game server on the gateway IP?”

No. The gateway IP normally belongs to the network router, not your server.

“Do I always need a gateway?”

If you want normal internet access: yes (you need a default route).
Without a gateway, your server can only talk to IPs inside the same subnet.

“Do I need multiple IPs to host multiple websites?”

Usually no. Most sites can share a single IP using modern HTTPS (SNI).
You typically need multiple IPs for things like:

  • Multiple servers/VMs that each need their own public IP

  • Certain legacy apps requiring a dedicated IP

  • Special routing/NAT/VIP designs


Advanced note (for accuracy): routed blocks can change the “usable for you” number

Some providers can route an IP block to you so the gateway is not inside the block. In that design, you may be able to use all host IPs in the block on your side.

If you’re comparing providers or reading older documentation, this is why you may see different answers. For our service, your order details will specify whether your block is gateway-inside-block (most common) or routed.


Summary in one sentence

A block like /30 has 2 host IPs, but in the most common setup one host IP is used as the gateway, so the client typically gets 1 IP they can assign to their server/applications

Related Articles

  • Setup VPN on CentOS 8
  • Data Center Redundancy: N+1
  • What is the difference between Latency, Bandwidth and Throughput?
  • How To Point A Domain Name To An IP Address
  • How to do a speed test using Psychz looking glass?
  • Quagga Routing - Install, Configure and setup BGP
  • Guide to establish a GRE Tunnel and BGP peering session on MikroTik RouterOS
  • Common Types of Network Attacks
  • Community Strings For Psychz Networks
  • IPv4 - Subnetting made easy
  • Centos add virtual IP(s)
  • Views: (20)
  • Votes: (0)
Was this article helpful?
VOTE
Copyright © 2026 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
  • Catalog
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801