Addressing · 4 min read

/30 or /31 for point-to-point links: which to use

Point-to-point links between routers, firewalls, and other network devices have unique addressing requirements. Unlike LANs where you need room for many hosts, a point-to-point link connects exactly two devices. The choice between /30 and /31 subnets affects address efficiency, compatibility, and operational practices. Understanding when to use each is essential for modern network design and certification exam readiness.

The /30 subnet: traditional approach

A /30 subnet provides 4 addresses divided by a /30 prefix length. The breakdown is: network address, first usable host, second usable host, and broadcast address. For example, 192.168.1.0 divided by 30 gives you 192.168.1.0 (network), 192.168.1.1 (router A), 192.168.1.2 (router B), and 192.168.1.3 (broadcast).

192.168.1.0/30
  Network:   192.168.1.0
  Host 1:    192.168.1.1
  Host 2:    192.168.1.2
  Broadcast: 192.168.1.3

The /30 has been the standard for decades. It works on all platforms, requires no special configuration, and is universally understood. Many legacy systems, older IOS versions, and vendor implementations expect this model. If you are working in a mixed-vendor environment or supporting older equipment, /30 is the safe choice.

The /31 subnet: RFC 3021 and address efficiency

RFC 3021 (published in 2000) formally permits /31 subnets on point-to-point links. A /31 provides only 2 addresses: one for each end of the link. There is no network address, no broadcast address, and no wasted space. For 192.168.1.0 divided by 31, you get 192.168.1.0 and 192.168.1.1 only.

192.168.1.0/31
  Host 1: 192.168.1.0
  Host 2: 192.168.1.1

(No network or broadcast address)

In modern networks, /31 is the preferred choice. It cuts address waste in half and scales efficiently across large numbers of point-to-point links. Modern routing platforms—including Cisco IOS XE, Juniper Junos, Arista EOS, and others—support RFC 3021 natively. At scale, the address savings become significant: a network with 1,000 point-to-point links saves 1,000 addresses by using /31 instead of /30.

When to use each

Practical configuration examples

! Cisco IOS - /31 point-to-point link
interface GigabitEthernet0/0/0
 ip address 10.0.1.0 255.255.255.254
 no shutdown

! Juniper Junos - /31 point-to-point link
set interfaces ge-0/0/0 unit 0 family inet address 10.0.1.0/31

! Arista EOS - /31 point-to-point link
interface Ethernet1
 ip address 10.0.1.0/31

Configuration syntax is identical whether you use /30 or /31; the difference is purely in the prefix length and the second address. Routing protocols (BGP, OSPF, ISIS) work transparently on both. No special commands or flags are required on modern platforms.

Key takeaways

The right choice depends on your environment, platform support, and organizational standards. In greenfield designs and modern networks, /31 is the default. In legacy or mixed environments, /31 may not be an option. Either way, understanding the trade-offs ensures you design efficient, maintainable point-to-point addressing schemes.

IP Subnet Calculator
Quickly calculate /30 and /31 subnets, verify address ranges, and plan point-to-point addressing.
Open →
Practise this on today’s Daily Ops Drill — a free network task every day.
Open the app →
Free tools for this
More from the blog
Writing least-privilege firewall rules without breaking the appRead →Subnetting on the Fortinet NSE4 exam: what to expectRead →