Zap
11-13-2009, 10:36 AM
I was asked to find the subnet, first and last assignable address, broadcast address, and address range of IP 197.110.145.18 /15. I converted the IP and subnet mask into binary.
11000101 01101100 10010001 00010010 : IP address
11111111 11111110 00000000 00000000 : Subnet mask
197.110.0.0 is the subnet that 197.110.154.18 resides on
197.110.0.1 is the first host address
Looking at the last octet in the IP and Subnet Mask, only the last bit is a 0 on both. If I convert that 0 to a 1 that would make the last address in the range 19, and the last assignable address would be 18. To check my work I used a subnet calculator and it really surprised me when it showed:
197.111.255.254 – last assignable address
197.111.255.255 – broadcast address
How did we get from 197.110 to 197.111? Can anyone show me that math so I can better understand this process?
11000101 01101100 10010001 00010010 : IP address
11111111 11111110 00000000 00000000 : Subnet mask
197.110.0.0 is the subnet that 197.110.154.18 resides on
197.110.0.1 is the first host address
Looking at the last octet in the IP and Subnet Mask, only the last bit is a 0 on both. If I convert that 0 to a 1 that would make the last address in the range 19, and the last assignable address would be 18. To check my work I used a subnet calculator and it really surprised me when it showed:
197.111.255.254 – last assignable address
197.111.255.255 – broadcast address
How did we get from 197.110 to 197.111? Can anyone show me that math so I can better understand this process?