11 Nov - CN- IP address- classful addressing
Duration: 1 hr 46 min
This video lesson is available to enrolled students.
AI Summary
An AI-generated summary of this video lecture.
This educational video provides a comprehensive lecture on fundamental networking concepts, starting with the definition and function of a Network Interface Card (NIC) and its unique MAC address. The lecture then progresses to explain the role of the MAC address in local communication, followed by a detailed discussion of the Internet Protocol (IP) address, including its 32-bit structure for IPv4 and 128-bit structure for IPv6. The core of the lesson focuses on Classful Addressing, where the instructor explains the five classes (A, B, C, D, E) and their respective network and host bit allocations. A significant portion is dedicated to Class-A addressing, with a detailed breakdown of its 8-bit network and 24-bit host structure, and the calculation of the number of possible networks and hosts. The video also covers the concept of special addresses, such as the network address (all host bits 0) and the broadcast address (all host bits 1), and introduces the Address Resolution Protocol (ARP) for mapping IP addresses to MAC addresses within a local network. The lecture concludes with a discussion on the roles of switches and routers, highlighting that switches operate at the data link layer and routers at the network layer, and introduces the concept of a gateway as a layer-3 device used to connect dissimilar networks.
Chapters
0:00 – 2:00 00:00-02:00
The lecture begins by defining a Network Interface Card (NIC) as a device that connects a computer to a network. It is also known as an Ethernet card. The key points listed are: 1) Every computer has a NIC, and it can have more than one. 2) It is used to connect the system to other systems or the Internet. 3) Each NIC has a unique MAC address. 4) Two systems with the same MAC address in different networks is theoretically possible but avoided in practice.
2:00 – 5:00 02:00-05:00
The lecture continues with the definition of a NIC, adding that a system can have multiple NICs, such as wired, wireless, Bluetooth, or virtual NICs. It explains that NICs communicate with the operating system and that the Data Link and Physical layers are implemented in the NIC. The video then transitions to the MAC address, defining it as a Media Access Control address, which is unique, assigned to a NIC, operates at the Data Link layer, and is usually represented in hexadecimal format (e.g., AB:00:1A:14:15:16).
5:00 – 10:00 05:00-10:00
The lecture explains that a MAC address is burned into the hardware, uniquely identifies a system, and ensures frames reach the correct system. It is used for local communication and can be changed via software (MAC spoofing). The video then introduces the IP address, stating it is controlled by IANA, is a 32-bit address for IPv4, and a 128-bit address for IPv6. It operates at the network layer and globally identifies a host, ensuring it is always unique.
10:00 – 15:00 10:00-15:00
The lecture explains that a system can have multiple IP addresses but can only use one at a time. IP addresses are used by routers and switches. The concept of a port number is introduced as a number used to identify a specific application or service on a device. The video uses the example of a computer with one IP but running multiple services like a web browser, emails, and Zoom meetings, which are distinguished by different port numbers.
15:00 – 20:00 15:00-20:00
The video explains that a socket address is formed by combining an IP address and a port number. An example is given: 192.168.46.12:5000. The lecture then defines a switch as a two-layer device (data link and physical layers) that works as a bridge, reads MAC addresses, and maintains a MAC table. It is a full-duplex device with no collision and is used to create a LAN.
20:00 – 25:00 20:00-25:00
The lecture continues with the definition of a switch, noting it is not used to join two or more different LANs practically. Famous brands like Cisco, Juniper, Netgear, and TP-Link are mentioned. The video then introduces a router as a layer-3 device that reads IP addresses and performs routing. It is used to join two or more similar networks and to join dissimilar networks using a gateway, which is a layer-3 device.
25:00 – 30:00 25:00-30:00
The video presents a practical scenario where two different networks (A1, A2, A3, A4 and B1, B2, B3, B4) are connected via a router. The router acts as a gateway, allowing communication between the two networks. The lecture then introduces the ARP protocol, which is used to get the MAC address of a system when you have its IP address, but only within a local network. ARP stands for Address Resolution Protocol.
30:00 – 35:00 30:00-35:00
The lecture explains how ARP works. When a system (A) wants to send data to another system (B) on the same network, it needs B's MAC address. A broadcasts an ARP packet asking, 'Who has 202.192.63.218? Reply.' The system with that IP (B) replies with its MAC address. The video also mentions that DNS is used to resolve domain names to IP addresses.
35:00 – 40:00 35:00-40:00
The video shows a diagram of a packet with fields for Data, Source IP (SIP), Destination IP (DIP), Source MAC (S-MAC), and Destination MAC (D-MAC). It explains that the IP address is used to route the packet to the correct host, and the port number is used to deliver it to the correct process. The lecture then transitions to a discussion on IP addresses, stating they are virtual addresses controlled by IANA.
40:00 – 45:00 40:00-45:00
The lecture explains that IP addresses are 32-bit addresses for IPv4 and 128-bit for IPv6. It introduces the concept of Classful and Classless addressing, noting that Classless addressing (CIDR) is practically used. The video then begins to explain Classful Addressing, which is divided into five classes: A, B, C, D, and E.
45:00 – 50:00 45:00-50:00
The video explains that Classful Addressing is outdated but still taught. It introduces the concept of a 32-bit IP address, which is divided into four 8-bit octets. The lecture then begins to explain the structure of a Class-A address, which has a fixed 8-bit network part and a 24-bit host part. The first bit of the first octet is always 0 for Class-A.
50:00 – 55:00 50:00-55:00
The lecture explains that in Class-A, the first bit is fixed at 0, leaving 7 bits to create different networks. The number of possible networks is 2^7 = 128, but 2 are reserved (0 and 127), so there are 126 usable networks. The video then shows how to calculate the number of hosts in a Class-A network, which is 2^24, but 2 are reserved (all zeros and all ones), so there are 2^24 - 2 usable hosts.
55:00 – 60:00 55:00-60:00
The video explains that a Class-A network can have 2^24 IP addresses, but only 2^24 - 2 are usable. The network address (all host bits 0) and the broadcast address (all host bits 1) are special addresses that cannot be assigned to any host. The lecture then provides examples of valid host IPs for Class-A, such as 10.0.0.0, 10.50.234.89, and 126.200.110.117.
60:00 – 65:00 60:00-65:00
The lecture continues with examples of valid host IPs for Class-A, including 5.8.10.67, 8.8.8.8, 100.209.65.137, 54.198.201.3, and 120.200.97. The video also shows that 255.255.255.255 is the broadcast address and cannot be assigned to any host. The lecture then transitions to a discussion on the number of networks possible in Class-A.
65:00 – 70:00 65:00-70:00
The video explains that in Class-A, the first bit is fixed at 0, leaving 7 bits for the network. This allows for 2^7 = 128 possible networks. However, two of these are reserved: network 0 (10.0.0.0) and network 127 (127.0.0.0, the loopback address). Therefore, there are 126 usable Class-A networks. The lecture then shows a diagram of a network with a network ID of 10.0.0.0 and host IDs ranging from 10.0.0.1 to 10.0.0.254.
70:00 – 75:00 70:00-75:00
The lecture continues to explain the structure of a Class-A network. It shows that the network ID is 10.0.0.0 and the host IDs range from 10.0.0.1 to 10.0.0.254. The broadcast address is 10.0.0.255. The video emphasizes that the network address (all host bits 0) and the broadcast address (all host bits 1) are special addresses that cannot be assigned to any host.
75:00 – 80:00 75:00-80:00
The video shows a diagram of a network with a network ID of 10.0.0.0 and host IDs ranging from 10.0.0.1 to 10.0.0.254. The broadcast address is 10.0.0.255. The lecture explains that the network address (all host bits 0) and the broadcast address (all host bits 1) are special addresses that cannot be assigned to any host. The video then transitions to a discussion on the number of hosts possible in a Class-A network.
80:00 – 85:00 80:00-85:00
The lecture explains that a Class-A network can have 2^24 IP addresses, but only 2^24 - 2 are usable. The network address (all host bits 0) and the broadcast address (all host bits 1) are special addresses that cannot be assigned to any host. The video then provides examples of valid host IPs for Class-A, such as 10.0.0.0, 10.50.234.89, and 126.200.110.117.
85:00 – 90:00 85:00-90:00
The video shows a list of valid host IPs for Class-A, including 5.8.10.67, 8.8.8.8, 100.209.65.137, 54.198.201.3, and 120.200.97. The lecture explains that 255.255.255.255 is the broadcast address and cannot be assigned to any host. The video then transitions to a discussion on the number of networks possible in Class-A.
90:00 – 95:00 90:00-95:00
The lecture explains that in Class-A, the first bit is fixed at 0, leaving 7 bits for the network. This allows for 2^7 = 128 possible networks. However, two of these are reserved: network 0 (10.0.0.0) and network 127 (127.0.0.0, the loopback address). Therefore, there are 126 usable Class-A networks. The video then shows a diagram of a network with a network ID of 10.0.0.0 and host IDs ranging from 10.0.0.1 to 10.0.0.254.
95:00 – 100:00 95:00-100:00
The video shows a diagram of a network with a network ID of 10.0.0.0 and host IDs ranging from 10.0.0.1 to 10.0.0.254. The broadcast address is 10.0.0.255. The lecture explains that the network address (all host bits 0) and the broadcast address (all host bits 1) are special addresses that cannot be assigned to any host. The video then transitions to a discussion on the number of hosts possible in a Class-A network.
100:00 – 105:00 100:00-105:00
The lecture explains that a Class-A network can have 2^24 IP addresses, but only 2^24 - 2 are usable. The network address (all host bits 0) and the broadcast address (all host bits 1) are special addresses that cannot be assigned to any host. The video then provides examples of valid host IPs for Class-A, such as 10.0.0.0, 10.50.234.89, and 126.200.110.117.
105:00 – 106:20 105:00-106:20
The video concludes with a final summary of the key points discussed, including the definition of a NIC, MAC address, IP address, port number, socket address, switch, router, and ARP protocol. The instructor emphasizes the importance of understanding these fundamental concepts for networking.
The video provides a structured and comprehensive overview of core networking principles. It begins with the physical layer, defining the Network Interface Card (NIC) and its unique Media Access Control (MAC) address, which is used for local communication. It then moves to the network layer, explaining the Internet Protocol (IP) address, its 32-bit structure for IPv4, and the concept of Classful Addressing. The lecture provides a detailed breakdown of Class-A addressing, including the calculation of the number of networks and hosts, and the identification of special addresses like the network and broadcast addresses. The lesson also covers the role of the Address Resolution Protocol (ARP) in mapping IP addresses to MAC addresses within a local network. Finally, it introduces the functions of key networking devices: switches, which operate at the data link layer to create LANs, and routers, which operate at the network layer to connect different networks. The synthesis of these concepts provides a solid foundation for understanding how data is addressed, routed, and delivered across a network.