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

Attention: The Cisco Support Community site will be in read only mode on Dec14, 2017 from 12:01am PST to 11:30am for standard maintenance. Sorry for the inconvenience.

New Member

need a confirmation on subnetting

<p>Can anyone please confirm it to me that it is right to say that, when calculating a subnet mask, the point where we borrow bits from the host portion in order to form new subnets we use the formula <strong>2 to the power of n - 2 </strong>for classful subnetting while we use the formula <strong>2 to the power of n in all other cases.</strong></p>

<p><strong><br />

</strong></p>

1 REPLY
Hall of Fame Super Silver

Re: need a confirmation on subnetting

Hello Vishal,

the old rule was 2^n -2 for skipping the all zero subnet (no ip subnet-zero) and for avoiding to have the last subnet broadcast to looks like the same as the broadcast of the original major network.

The new rule that takes advantage of classless routing protocols that  carry the subnet mask is instead  2^N and the first and the last subnets are now usable and not reserved

Hope to help

Giuseppe

 

102
Views
0
Helpful
1
Replies
CreatePlease to create content