07-16-2008 10:27 AM - edited 03-06-2019 12:14 AM
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
07-16-2008 11:30 AM
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
07-16-2008 11:47 AM
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,
07-16-2008 11:34 AM
I will admit its new, but here is a link that talks about it. I'm more curious than anything,because I thought /30 was the smallest.
http://www.cisco.com/en/US/docs/ios/12_2t/12_2t2/feature/guide/ft31addr.html
07-16-2008 01:01 PM
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
07-16-2008 02:58 PM
/31s are awesome. it saves IP space! The problem is its not interroperable with other vendors. Works on newer code.
07-16-2008 03:09 PM
saves IP space... if you're using it internally you more than likely have enough space anyway :P
07-16-2008 03:40 PM
Possibly another alternative, for saving your address space, would be usage of IP unnumbered. See http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094e8d.shtml for more information.
07-18-2008 07:17 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide