/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.
trojan81Asked:
Who is Participating?
 
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
 
Ernie BeekExpertCommented:
/31 would be useless. The .80 would be the network address and the .81 the broadcast address. So no room for hosts.
0
 
Ernie BeekExpertCommented:
Oh, /32 would define a single host, you're correct.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Ernie BeekExpertCommented:
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 BeekExpertCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.