Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 508
  • 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 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
 
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
Choose an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

 
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.

Join & Write a Comment

Featured Post

IT Degree with Certifications Included

Aspire to become a network administrator, network security analyst, or computer and information systems manager? Make the most of your experience as an IT professional by earning your B.S. in Network Operations and Security.

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