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

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

Finding a Subnetmask

Any one have an idea that how can we find a subnet mask from an IP range ?

Example:

If we have a range of IP addresses Like

1.1.0.1 --> 1.1.5.254

Please help

2 REPLIES

Finding a Subnetmask

Hi

no mask fits

most close would be

1.1.0.0 /22  (255.255.252.0) 1.1.0.1 --> 1.1.3.254

or

1.1.0.0 /21 (255.255.248.0) 1.1.0.1 --> 1.1.7.254

Silver

Finding a Subnetmask

Kaven John wrote:

Any one have an idea that how can we find a subnet mask from an IP range ?

Example:

If we have a range of IP addresses Like

1.1.0.1 --> 1.1.5.254

Please help

Download the Solarwinds Advanced Subnet Calculator (or any of the plethora of similar tools available) if you can't be bothered working it out yourself.

For your example, no valid subnet fits that range exactly. The closest network which would have ALL the addresses you've listed (and then some!) would be

1.1.0.0/21 (subnet mask 255.255.248.0)

This would include 2046 valid IP addresses (2048 minus the network and broadcast addresses). That's one *damn* big subnet.

Cheers.

259
Views
0
Helpful
2
Replies
CreatePlease login to create content