Understanding SubNet Mask

Duration: 6 min

This video lesson is available to enrolled students.

Enroll to watch — GATE Guidance by Sanchit Sir

AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture introduces subnet masks as 32-bit numbers used to identify the network and host portions of an IP address during subnetting. The instructor defines a subnet mask as a sequence of 1s followed by 0s, where the 1s represent the network ID and subnet ID, while the 0s represent the host ID. Default subnet masks for Class A (255.0.0.0), Class B (255.255.0.0), and Class C (255.255.255.0) are presented on the slide. The lesson then transitions to a practical example involving the network 200.1.2.0, which is divided into four subnets. Using a whiteboard quadrant diagram, the instructor demonstrates borrowing two bits from the host ID to create four subnets, resulting in a new subnet mask of 255.255.255.192. The calculation shows that with 6 remaining host bits, each subnet supports 64 - 2 = 62 usable hosts. The broadcast address for the first subnet is identified as 200.1.2.63, though the board also shows 200.1.2.177 in later frames, likely representing a different subnet's broadcast or a calculation step. The video concludes by reinforcing the structure of subnet masks and their role in packet delivery.

Chapters

  1. 0:00 2:00 00:00-02:00

    The instructor presents a slide titled 'Subnet Masks,' defining the mask as a 32-bit number consisting of consecutive 1s followed by 0s. The slide explicitly states that the 1s represent the 'Network ID part along with the subnet ID' and the 0s represent the 'host ID part.' Default masks are listed on-screen: Class A = 255.0.0.0, Class B = 255.255.0.0, and Class C = 255.255.255.0. The instructor points to the title and explains that subnetting solves the problem of identifying which subnet an incoming packet must be delivered to.

  2. 2:00 5:00 02:00-05:00

    The lesson shifts to a whiteboard demonstration using the network 200.1.2.0, which is to be divided into four subnets. The instructor draws a large circle divided into four quadrants to visualize the network partition. On the board, binary representations are written under the IP octets, and two bits are borrowed from the host ID to form the subnet ID. The instructor writes the new subnet mask as 255.255.255.192 and calculates the number of hosts per subnet using the formula 64 - 2 = 62, based on the remaining 6 host bits. The broadcast address 200.1.2.177 is also written on the board during this segment.

  3. 5:00 6:23 05:00-06:23

    The instructor continues the whiteboard analysis, highlighting the borrowed bits to show how they create four distinct subnets. The binary values are written directly under the IP address octets, with circles and arrows indicating the subnet ID portion. The video transitions back to a summary slide titled 'Subnet Masks,' reiterating that the mask is a 32-bit sequence of 1s followed by 0s. The slide reinforces that the 1s identify the network and subnet portions, while the 0s identify the host portion, concluding the explanation of how subnet masks facilitate packet delivery in subdivided networks.

The lecture progresses from theoretical definition to practical application. It begins by establishing the structural rules of subnet masks (1s for network/subnet, 0s for host) and provides the standard default values for Class A, B, and C networks. The core teaching moment involves a worked example where the network 200.1.2.0 is subnetted into four parts. By borrowing two bits from the host field, the instructor demonstrates how to derive a new subnet mask (255.255.255.192) and calculate the resulting host capacity (62 hosts per subnet). The use of a quadrant diagram serves as a key visual aid to map the binary bit-borrowing process to the logical division of the network space. This approach helps students connect abstract binary manipulation with concrete IP address ranges and broadcast addresses.

Loading lesson…