+1 vote
54 views

Plz any one solve this is answer is B?

0
AND the subnet mask with given IP to get the Network ID as 172.60.32.0 and OR the complemented subnet mask with the IP to get the direct broadcast address as 172.60.32.255.Hence the assignable range of IP addresses would be 172.60.32.1-172.60.63.254.

0

As we cannot assign X.X.X.0(N/W address) and X.X.X.255(DBA), the remaining option is 'B' :).

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 111= 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

edited
0

I guess you need to modify the last line.. The last host address which can't be an assignable IP address...

0

@the_bob

Thanks for the correction.

it's a typing mistake ( it occurred due to copy and paste), i will update it.

Ans  is B

+1 vote
1
2