edited by
2,601 views
2 votes
2 votes

Find Host Address  from the following
Given IP: 200.34.22.156 
Mask : 255.255.255.240

Answer is given as
IP and complemented MASK gives host ID 200.34.22.12
My Approach
I have never seen anything like complementing MASK address to obtain HOST address.
Host ID ranges from 200.34.22.145 to 200.34.22.158 and  200.34.22.12  Host does not belong this range
So  HOST Address has to be  200.34.22.156  Given IP itself. 

edited by

1 Answer

0 votes
0 votes
yse complementing mask or-ing with ip will give the host address...

 

just check

1.complement the mask---0    .0  .0 .   00001111

2. ip-------------------------------200.34 .22.  10011100

3. perform or operation

4.ans---------------------------200.34.22.12(which is host id)
edited by

Related questions

0 votes
0 votes
2 answers
2
Shivam_j asked Oct 16, 2022
705 views
Class B network on the internet has a subnet mask of 255.255.119.0 what is maximum possible hosts per subnet. Assuming Classfull Addressing Scheme
3 votes
3 votes
2 answers
3
kvkumar asked Apr 13, 2016
3,197 views
If the packet size is 1KB and propagation time is 15ms, the channel capacity is $10^9$ b/s then find the transmission time and utilization of sender in stop and wait prot...