COMPUTER NETWORKING

NETWORK LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Suppose computers A and B have IP addresses 10.105.1.113 and 10.105.1.91 respectively and they both use the same netmask N. Which of the values of N given below should not be used if A and B should belong to the same network?
A
255.255.255.0
B
255.255.255.128
C
255.255.255.192
D
255.255.255.224
Explanation: 

Detailed explanation-1: -To calculate the IP Address Subnet you need to perform a bit-wise AND operation (1+1=1, 1+0 or 0+1 =0, 0+0=0) on the host IP address and subnet mask. The result is the subnet address in which the host is situated.

Detailed explanation-2: -Explanation: A /27 (255.255. 255.224) is 3 bits on and 5 bits off. This provides 8 subnets, each with 30 hosts.

Detailed explanation-3: -The most common subnet you will see is 255.255. 255.0. So if two addresses match in the first three sections (reading left to right), and the subnet is 255.255. 255.0 for both addresses, they are in the same subnet.

There is 1 question to complete.