Home » Computer Networks » Computer networks miscellaneous » Question

Computer networks miscellaneous

  1. Suppose computers A and B have IP addresses 10.105.1.113 and 10.105.1.91 respectively and they both use the same net mask N. Which of the values of N given below should not be used, if A and B should belong to the same network?
    1. 255.255.255.0
    2. 255.255.255.128
    3. 255.255.255.192
    4. 255.255.255.244
Correct Option: D

First of all, let us know what is Netmask. A Netmask is a 32-bit mask used to divide an IP address into subnets and specify the networks available hosts. In a netmask, two bits are always automatically assigned. For example, in 255.255.225.0, 0 is the assigned network address; and in 255.255.255.255, 255 is the assigned broadcast address. The 0 and 255 are always assigned and cannot be used. Here, in the problem, both IP Addresses are on same network. To find out the solution, we have to try out for all four options available. Now, post Mask operation, a same ID must come for the both. However, it does not come as and when we use 255.255.255.224. Lets see it from the calculations below

Here, we can see that both the ID are different from each other.



Your comments will be displayed only after manual approval.