PTP LINKS (POINT TO POINT LINKS) OF /31 SUBNET - IP With Ease (2024)

Leave a Comment/ By Rashmi Bhardwaj/ September 18, 2020

Rashmi Bhardwaj | Blog,Config & Troubleshoot,Routing & Switching

Advertisem*nts

PTP LINKS (POINT TO POINT LINKS)

31-bit Subnet Mask (/31)
We can configure any external interface to use an IPv4 address with a 31-bit subnet mask. A 31-bit subnet mask is often used for an interface that is the endpoint of a point-to-point network. The use of 31-bit subnet masks for IPv4 point-to-point links is described in RFC 3021.
For 192.168.0.0

PTP LINKS (POINT TO POINT LINKS) OF /31 SUBNET - IP With Ease (1)

Router Ais connected via Fast-ethernet 0/0 having ip 192.168.0.0/31 to Fast-ethernet 0/0 having ip 192.168.0.1/31 of Router B.PTP LINKS (POINT TO POINT LINKS) OF /31 SUBNET - IP With Ease (2)

Advertisem*nts


Example-

R1(config)#int fa 0/0
R1(config-if)#ip add 192.168.0.0 255.255.255.254
% Warning: use /31 mask on non point-to-point interface cautiously
Thirty-one-bit subnets were first proposed in RFC 3021, which was primarily motivated by the potential for public address space conservation. Recall that shrinking a /30 subnet to a /31 effectively doubles the number of point-to-point links you can address from a finite range. Cisco IOS has supported /31 subnets for point-to-point links since release 12.2(2) T. We can put this theory into practice by addressing a point-to-point connection between two routers as 192.168.0.0/31. An ominous warning message, no doubt, but it works just fine. We can successfully ping the far-end interface and the subnet is accurately reflected in the routing table:

R1#ping 192.168.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echo to 192.168.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/16/20 ms

Related: Point to Point subnet

R1#show ip route

192.168.0.0/31 is subnetted, 1 subnets
C 192.168.0.0 is directly connected, FastEthernet0/0

At this juncture, one might think of using 32-bit Subnet Mask (/32) for each side of PTP links. The answer is no. Below excerpt describes why /32 IP address at each side of PTP links is not possible.
A 32-bit subnet mask defines a network with only one IPaddress. In mixed routing mode, you can only configure a 32-bit subnet mask for a physical external interface. Because you cannot configure a virtual external interface with a default gateway on a different subnet, you cannot use a /32 subnet mask for a virtual external interface, such as a VLAN or Link Aggregation interface.

ABOUT THE AUTHOR

PTP LINKS (POINT TO POINT LINKS) OF /31 SUBNET - IP With Ease (3)

I am here to share my knowledge and experience in the field of networking with the goal being – “The more you share, the more you learn.”

I am a biotechnologist by qualification and a Network Enthusiast by interest. I developed interest in networking being in the company of a passionate Network Professional, my husband.

I am a strong believer of the fact that “learning is a constant process of discovering yourself.”
– Rashmi Bhardwaj (Author/Editor)

Advertisem*nts


PTP LINKS (POINT TO POINT LINKS) OF /31 SUBNET - IP With Ease (2024)
Top Articles
Latest Posts
Article information

Author: Reed Wilderman

Last Updated:

Views: 6029

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Reed Wilderman

Birthday: 1992-06-14

Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

Phone: +21813267449721

Job: Technology Engineer

Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.