[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 493
  • Last Modified:

/31 subnet

Hi Experts,

Is there a valid need to have a /31 subnet?

For example, if dealing with an IPSEC VPN and one side specifies for the encryption domain 10.10.10.80/31, the only host IP useable would be 10.10.10.81. 10.10.10.80 would not be useable, am I correct?
So why not specify for the encryption domain 10.10.10.81/32.
0
trojan81
Asked:
trojan81
  • 4
1 Solution
 
Ernie BeekCommented:
/31 would be useless. The .80 would be the network address and the .81 the broadcast address. So no room for hosts.
0
 
Ernie BeekCommented:
Oh, /32 would define a single host, you're correct.
0
 
JFrederick29Commented:
/31 is just a way of covering the two hosts:

10.10.10.80
10.10.10.81

It isn't being used on an interface so the subnet/broadcast addresses aren't in play.  It simply saves one line of config (having to specify both hosts individually).

/32 would cover two extra hosts which is probably not the intention:

10.10.10.80
10.10.10.81
10.10.10.82
10.10.10.83

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Ernie BeekCommented:
Yeah, sorry about that. Got mixed up with the translation :-~
In this matter it is a way of defining the hosts, so no bother with network/broadcast addresses.
0
 
Ernie BeekCommented:
Thx JFrederick29 :)
0
 
trojan81Author Commented:
I gave it another thought and yes, they probably wanted to just save .80 from being used by something else.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now