Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

/31 mask a good idea?

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?



Re: /31 mask a good idea?

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,


Cisco Employee

Re: /31 mask a good idea?


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:


Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
New Member

Re: /31 mask a good idea?

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.

Re: /31 mask a good idea?

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).


New Member

Re: /31 mask a good idea?

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

New Member

Re: /31 mask a good idea?

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

Super Bronze

Re: /31 mask a good idea?

Possibly another alternative, for saving your address space, would be usage of IP unnumbered. See for more information.

New Member

Re: /31 mask a good idea?

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

CreatePlease login to create content