15 Nov - CN - Classless addressing

Duration: 1 hr 54 min

This video lesson is available to enrolled students.

Enroll to watch — GATE Guidance by Sanchit Sir

AI Summary

An AI-generated summary of this video lecture.

This video is a comprehensive lecture on IP addressing, focusing on subnetting and classless addressing. The instructor begins by reviewing the traditional classful network system, explaining how to calculate the number of subnets and hosts by borrowing bits from the host portion of the IP address for Class A, B, and C networks. The core of the lecture shifts to Classless Inter-Domain Routing (CIDR), introducing the notation a.b.c.d/n, where 'n' represents the number of network bits. The instructor demonstrates how to find the network ID, first host, last host, and broadcast address (DBA) for a given IP and subnet mask. A key concept is the rule that the first address of a block must be divisible by the total number of addresses in that block. The lecture also covers the concept of supernetting, where multiple smaller networks are aggregated into a larger one, and the importance of contiguous subnet masks. The video concludes with a discussion on variable-length subnetting and the use of the 2^n - 2 rule for calculating usable hosts, providing a thorough foundation in modern IP network design.

Chapters

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

    The video starts with a black screen displaying the name 'Sanchit Jain' in white text, which remains for the first two minutes. This appears to be a title card or an introduction to the lecture.

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

    The lecture begins on a blackboard. The instructor explains subnetting for Class A, B, and C networks. For a Class A network, borrowing 15 bits for the subnet results in a subnet mask of 255.255.254.0. For a Class B network (IP 178.100.0.0), borrowing 7 bits for the subnet results in a mask of 255.255.254.0. The instructor then introduces a problem (Q4) with IP 200.89.99.157 and subnet mask 255.255.255.224, asking to find the subnet, number of subnets, and number of hosts per subnet.

  3. 5:00 10:00 05:00-10:00

    The instructor demonstrates how to find the network ID by performing a bitwise AND operation between the IP address (200.89.99.157) and the subnet mask (255.255.255.224). The result is 200.89.99.0, which is the network ID. The instructor then explains that the number of subnets is 2^3 = 8, and the number of hosts per subnet is 2^5 - 2 = 30. The lecture then transitions to a new problem (Q5) with IP 206.66.89.99 and mask 255.255.255.240, and the instructor begins the same process of finding the network ID.

  4. 10:00 15:00 10:00-15:00

    The instructor continues with the problem from the previous segment, showing the bitwise AND operation for IP 206.66.89.99 and mask 255.255.255.240, resulting in a network ID of 206.66.89.96. The lecture then moves to a new problem (Q6) with IP 204.89.99.115 and mask 255.255.255.224. The instructor finds the network ID to be 204.89.99.96. The problem asks to find the first and last host, and the DBA for this subnet, which are 204.89.99.97, 204.89.99.126, and 204.89.99.127 respectively.

  5. 15:00 20:00 15:00-20:00

    The instructor presents a new problem (Q7) with IP 200.80.60.99 and mask 255.255.255.240. The network ID is found to be 200.80.60.96. The lecture then transitions to a new topic: Classless Addressing. The instructor introduces the notation a.b.c.d/n, explaining that 'n' is the number of network bits. An example is given: 200.89.93.99/26. The instructor explains that this notation is used because there are no classes like A, B, C, D, E anymore.

  6. 20:00 25:00 20:00-25:00

    The instructor continues the discussion on Classless Addressing. For the example 200.89.93.99/26, the instructor explains that the mask is 255.255.255.192. The network ID is found by performing a bitwise AND, resulting in 200.89.93.64. The lecture then shows how to find the first host (200.89.93.65), the last host (200.89.93.126), and the DBA (200.89.93.127). The instructor emphasizes that in classless addressing, the /n notation is always present and gives information about the network bits.

  7. 25:00 30:00 25:00-30:00

    The instructor explains that in a block of addresses, the number of hosts is 2^h - 2, where h is the number of host bits. For a block of 64 addresses, the number of host bits is 6, so the mask is 255.255.255.192. The instructor then introduces a new problem (Q8) with IP 18.13.12.130/22. The network ID is found to be 18.13.12.0. The instructor then discusses the properties of a classless block, stating that the first address must be divisible by the total number of addresses in the block.

  8. 30:00 35:00 30:00-35:00

    The instructor explains the rule for the first address of a block: it must be exactly divisible by the total number of addresses in the block. For a block of 64 addresses, the first address must be divisible by 64. The instructor gives an example of a block with 16 addresses (2^4), where the first address must have 4 zeros at the end. The instructor then presents a new problem (Q9) with IP 16.17.18.53/27 and asks to find the range of the block.

  9. 35:00 40:00 35:00-40:00

    The instructor solves the problem for IP 16.17.18.53/27. The network ID is found to be 16.17.18.32. The first host is 16.17.18.33, the last host is 16.17.18.62, and the DBA is 16.17.18.63. The instructor then discusses the concept of supernetting, where multiple networks are combined into a larger one. The example given is 199.15.88.0, 199.15.89.0, etc., which are combined into a single supernet.

  10. 40:00 45:00 40:00-45:00

    The instructor discusses the concept of supernetting, explaining that to make a continuous block, the networks must be combined. The example given is 199.15.88.0, 199.15.89.0, 199.15.90.0, etc., which are combined into a single supernet. The instructor then moves to a new problem (Q12) with IP 204.99.89.126 and mask 255.255.255.241. The instructor notes that this is an example of a discontinuous mask, which is not allowed in classless addressing.

  11. 45:00 50:00 45:00-50:00

    The instructor explains that in classless addressing, the subnet mask must have contiguous ones. The mask 255.255.255.241 is not valid because it has a discontinuous pattern of ones. The instructor then presents a problem (Q13) with DBA 201.44.55.31 and asks which of the given subnet masks could be possible. The instructor explains that the DBA is the last address in the block, so the network ID is 201.44.55.16, and the number of addresses in the block is 16.

  12. 50:00 55:00 50:00-55:00

    The instructor continues with problem Q13. The network ID is 201.44.55.16, and the number of addresses in the block is 16. The instructor explains that the first address of the block must be divisible by 16. The instructor then shows that the subnet mask 255.255.255.240 is the only valid option, as it results in a block of 16 addresses starting at 201.44.55.16.

  13. 55:00 60:00 55:00-60:00

    The instructor continues to solve problem Q13. The instructor explains that the subnet mask 255.255.255.240 is the only valid option because it results in a block of 16 addresses. The instructor then discusses the concept of variable-length subnetting, where different subnets can have different sizes. The instructor gives an example of a network being divided into three subnets with different numbers of hosts.

  14. 60:00 65:00 60:00-65:00

    The instructor discusses variable-length subnetting. The example given is a network being divided into three subnets: A with 128 IPs, B with 64 IPs, and C with 64 IPs. The instructor explains that this is done by borrowing one bit from the host portion, which creates two possibilities. The instructor then discusses the 2^n - 2 rule, which is used to calculate the number of usable hosts in a subnet.

  15. 65:00 70:00 65:00-70:00

    The instructor continues the discussion on variable-length subnetting. The example given is a network being divided into three subnets: A with 128 IPs, B with 64 IPs, and C with 64 IPs. The instructor explains that this is done by borrowing one bit from the host portion, which creates two possibilities. The instructor then discusses the 2^n - 2 rule, which is used to calculate the number of usable hosts in a subnet.

  16. 70:00 75:00 70:00-75:00

    The instructor discusses the 2^n - 2 rule, which is used to calculate the number of usable hosts in a subnet. The instructor explains that the first and last addresses in a subnet are reserved for the network ID and the broadcast address, respectively. The instructor then presents a new problem (Q11) with Network ID 200.55.66.0 and mask 255.255.255.224, and asks to make all subnets.

  17. 75:00 80:00 75:00-80:00

    The instructor solves problem Q11. The network ID is 200.55.66.0, and the mask is 255.255.255.224. The instructor explains that this mask has 3 bits for the subnet, so there are 2^3 = 8 subnets. The instructor then lists the subnet IDs for each of the 8 subnets.

  18. 80:00 85:00 80:00-85:00

    The instructor continues to solve problem Q11. The instructor lists the subnet IDs for the 8 subnets: 200.55.66.0, 200.55.66.32, 200.55.66.64, 200.55.66.96, 200.55.66.128, 200.55.66.160, 200.55.66.192, and 200.55.66.224. The instructor then discusses the concept of supernetting, where multiple networks are combined into a larger one.

  19. 85:00 90:00 85:00-90:00

    The instructor discusses the concept of supernetting, where multiple networks are combined into a larger one. The example given is 199.15.88.0, 199.15.89.0, 199.15.90.0, etc., which are combined into a single supernet. The instructor then moves to a new problem (Q12) with IP 204.99.89.126 and mask 255.255.255.241, and explains that this is an example of a discontinuous mask, which is not allowed in classless addressing.

  20. 90:00 95:00 90:00-95:00

    The instructor explains that in classless addressing, the subnet mask must have contiguous ones. The mask 255.255.255.241 is not valid because it has a discontinuous pattern of ones. The instructor then presents a problem (Q13) with DBA 201.44.55.31 and asks which of the given subnet masks could be possible. The instructor explains that the DBA is the last address in the block, so the network ID is 201.44.55.16, and the number of addresses in the block is 16.

  21. 95:00 100:00 95:00-100:00

    The instructor continues to solve problem Q13. The network ID is 201.44.55.16, and the number of addresses in the block is 16. The instructor explains that the first address of the block must be divisible by 16. The instructor then shows that the subnet mask 255.255.255.240 is the only valid option, as it results in a block of 16 addresses starting at 201.44.55.16.

  22. 100:00 105:00 100:00-105:00

    The instructor continues to solve problem Q13. The instructor explains that the subnet mask 255.255.255.240 is the only valid option because it results in a block of 16 addresses. The instructor then discusses the concept of variable-length subnetting, where different subnets can have different sizes. The instructor gives an example of a network being divided into three subnets with different numbers of hosts.

  23. 105:00 110:00 105:00-110:00

    The instructor discusses variable-length subnetting. The example given is a network being divided into three subnets: A with 128 IPs, B with 64 IPs, and C with 64 IPs. The instructor explains that this is done by borrowing one bit from the host portion, which creates two possibilities. The instructor then discusses the 2^n - 2 rule, which is used to calculate the number of usable hosts in a subnet.

  24. 110:00 113:36 110:00-113:36

    The video ends with a black screen displaying the name 'Atharva Katdare' in white text. This appears to be a credit for the person who created the video or a participant in the lecture.

The video provides a comprehensive and structured lecture on IP addressing, progressing from foundational concepts to advanced topics. It begins with a review of classful networking, demonstrating how to calculate subnets and hosts by borrowing bits from the host portion. The core of the lecture is dedicated to Classless Inter-Domain Routing (CIDR), where the instructor explains the a.b.c.d/n notation and its significance. Key concepts include the use of bitwise AND to find the network ID, the rule that the first address of a block must be divisible by the total number of addresses, and the importance of contiguous subnet masks. The lecture also covers supernetting, variable-length subnetting, and the 2^n - 2 rule for usable hosts. The teaching style is methodical, using a blackboard to walk through numerous problems, ensuring a clear understanding of the principles of modern IP network design.