Given subnet Mask :- 255.255.224.0 = 1111 1111 . 11111111 . 1110 0000 . 0000 0000
host bits = zero bits in Subnet Mask represent HOST bits ===> no.of host bits = 13
if you want Network IP address:- put all zeros in host bits in the given ip.
Given IP Address = 172.60.50.2 = 172.60.0010 0000 . 0000 0000 = 172.60.32.0
if you want first host address:- put all zeros in host bits in the given ip except LSB, make LSB as 1
Given IP Address = 172.60.50.2 = 172.60.0010 0000 . 0000 0001 = 172.60.32.1
if you want last host address:- put all ones in host bits in the given ip except LSB, make LSB as 0
Given IP Address = 172.60.50.2 = 172.60.0011 1111 . 1111 1110 = 172.60.63.254
if you want Broadcast address of this network :- put all ones in host bits in the given ip.
Given IP Address = 172.60.50.2 = 172.60.0011 1111 . 1111 1111 = 172.60.63.255