/31 mask a good idea?

Unanswered Question
Jul 16th, 2008
User Badges:

Is anyone using a /31 mask on point to point links or uplinks between layer 3 switches? Is there any downside or gotchas? I'm planning on running layer 3 all the way to my access switches and using routed ports to connect the access to the distribution. A /31 mask would help conserve ip addresses, right?


thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.

Hi There


To the best of my knowledge a /31 netmask is not possible.


The smallest subnet possible is a /30 which yields 2 usable IP addresses along with the broadcast address of the subnet and the subnet number. This is what is recommended for a point to point link.


I think I remember reading somewhere about an RFC that was in the experimental stage which would allow a /31 mask (though I may be dreaming), but I have never heard of it being released for use.


I have seen instances where errors were made in configurations and either the subnet mask or the subnet number was assigned to a host and it appeared to work, but I think that this would be frowned upon in a live production network.



Best Regards,


Michael

Harold Ritter Wed, 07/16/2008 - 11:47
User Badges:
  • Cisco Employee,

Michael,


The draft you are referring to was draft-retana-31bits and made it into RFC3021 and has been supported in IOS since 12.2T.


Please refer to the following document for more information on RFC3021:

http://www.ietf.org/rfc/rfc3021.txt



Regards,

burleyman Wed, 07/16/2008 - 13:01
User Badges:
  • Blue, 1500 points or more

While you are correct it can be done does it make it a "good idea".....Just because I could pierce my tongue 100 times does not mean it is a "good idea" :-)


Unless you have a shortage of IP addresses I would not introduce this.... just my Half-Penny (was two-cents but you know with the economy and gas prices).


Mike

autobot130 Wed, 07/16/2008 - 14:58
User Badges:

/31s are awesome. it saves IP space! The problem is its not interroperable with other vendors. Works on newer code.

sirdudesly Wed, 07/16/2008 - 15:09
User Badges:

saves IP space... if you're using it internally you more than likely have enough space anyway :P

DARYLE DIANIS Fri, 07/18/2008 - 07:17
User Badges:

thanks everyone for letting me know what you think. I'm going to try the /31 in a test environment and see if I like it. I am on a lan and do have plenty of addresses and of course, we're an all Cisco shop, so interoperability won't be a problem.


thanks again

Actions

This Discussion