Redirected
reopened by
3,717 views
2 votes
2 votes
Consider the following IP address with corresponding subnet mask:

IP add: 172.60.50.2

Subnet mask: 255.255.224.0

What is the range of assignable IP addresses on the subnet on which the host belongs:

a) 172.60.30.0 - 172.60.63.255

b)172.60.32.1 - 172.60.63.254

c)172.60.32.1  -172.60.64.255

d)172.60.32.0 - 172.60.127.254
reopened by

3 Answers

Best answer
2 votes
2 votes

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 by
2 votes
2 votes
Yes.. Answer is option B.

Add subnet mask + ip address... You will get subnet id to which this ip belongs to.

Related questions

1 votes
1 votes
1 answer
2
2 votes
2 votes
1 answer
3
Na462 asked Dec 8, 2018
2,143 views
An ISP has assigned an address block to user in which 4096 hosts can be assigned IP addresses. Which of the following can be the network ID ?168.72.90.0/20168.72.96.0/201...