Page 63 - NetWork-En-V3
P. 63

The IP address is divided into two parts: a part representing the subnet number and
another part representing the device number within the network. To determine
which bits correspond to each part, another number called the subnet mask is used.
The subnet mask also consists of four sections, with each section containing 1 byte (8
bits). The binary numbers in the subnet mask are set to 1 in the subnet number part
and 0 in the device number part.

IP Address                    10. 1.1.1

                       Subnet ID         Host

IP Address  10.          12.        50.                                                                                       43

Subnet      1111 1111  0000       0000                                                                                     0000
  mask                 0000       0000                                                                                     0000

            255.          0.         0.                                                                                        0

What does it mean for devices to have the same network number in an IP address?

It means that they can directly communicate with each other without the need for a
router. IP addresses can be likened to addresses used in cities, where the subnet
address represents the street name, and the device number is similar to the house
number.

56 Central Unit for Information Technology Training - Supreme Council of Universities © Intellectual Property Rights 2024
   58   59   60   61   62   63   64   65   66   67   68