cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
434
Views
0
Helpful
1
Replies

How to find out the subnet and mask of range of ip addresses?

George-Sl
Level 1
Level 1

Hello,

today I faced with this problem, 172.22.242.17 – 172.22.242.30, basically we need the Network and subnet mask of this range!!

and I solved it with this weird method that we have 13 hosts in this range, so we need subnets of 13 hosts(so we need 4 bits from the right), and we will go up from here(the first subnet that can exist), until we reach this particular range

172.22.242.0 - 172.22.242.15

172.22.242.16 - 172.22.242.31

is there any other method beside this one?

thanks

1 Reply 1

Richard Burts
Hall of Fame
Hall of Fame

Some people might try to use trial and error, trying various combinations till they find what works. But the method that you describe is the best way to identify the subnet and mask of the range of addresses.

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card