01-17-2012 07:13 AM - edited 03-07-2019 04:23 AM
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
01-17-2012 12:59 PM
See http://www.vlsm-calc.net/
Sent from Cisco Technical Support iPad App
01-19-2012 07:21 AM
1.1.0.1 -> 1.1.5.254
Let's translate both addresses into binary form:
00000001.00000001.00000000.00000001 -> 00000001.00000001.00000101.11111110
Let's see which bit's have changed from the lowest to the highest address:
00000001.00000001.00000[000.00000001 -> 101.11111110]
So we can see that 21 bit left the same, and 11 bits changed:
If we really picked up the first and the last addresses we can assume that network portion (or network mask) is 21 bits, and host portion is 11 bits.
So your network address is 1.1.0.0 (because network address is where all host bits are set to 0 )
And your broadcast address is 1.1.5.255 (all bits set to 1)
Network can be written ad 1.1.0.0/21 or 1.1.0.0 255.255.248.0
HTH,
Alex
01-28-2012 06:10 AM
Also you can become expert in subnetting by playing the 'subnet game' . Just visit the link below-
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