cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
761
Views
0
Helpful
2
Replies

Finding a Subnetmask

Cisco-Spider
Level 1
Level 1

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 2

Ton V Engelen
Level 3
Level 3

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

darren.g
Level 5
Level 5

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.