Lesson Review: Network Layer Data Plan: Chitkara
Lesson Review: Network Layer Data Plan: Chitkara
Submitted By:
Bhuwan Kumar Tutor:
2310994771 Dr. Sonam Aggarwal
2025/03/22 21:08
Outcome Weight
Layers of Abstraction ♦♦
Interact with Networks ♦♦
Networking Tools ♦♦
Analysing real network issues ♦♦
.
Produced by Doubtfire
SIT202– Computer Networks and Communication
Task 6.1P: Lesson Review
Name-Bhuwan Roll no-2310994771
Module Summary
Summary-
The Network Layer plays a vital role in computer networking by facilitating
communication between hosts across various networks. It primarily focuses on
two key functions: routing and forwarding. Routing identifies the optimal path
for data packets from the source to the destination, while forwarding transfers
packets from an input port to the correct output port within a router. Unlike
the transport and application layers, which function solely on end systems, the
network layer is integral to network devices such as routers, making it crucial
for internet connectivity. Routers utilize a combination of input ports, switching
fabric, output ports, and a routing processor to efficiently direct packets to
their destinations, reducing congestion and packet loss.
A core element of the network layer is IP addressing and subnetting. While
IPv4, with its 32-bit addresses, remains prevalent, it is gradually being
supplanted by IPv6, which offers 128-bit addresses to support the increasing
number of internet-connected devices. CIDR notation enhances IP address
allocation by allowing variable-length subnet masks. For example, a subnet
designated as 192.168.40.128/26 can support 64 host addresses. Furthermore,
IPv4 allows for datagram fragmentation, enabling packets to be divided into
smaller segments for transmission through networks with varying maximum
transmission sizes. In contrast, IPv6 removes fragmentation and introduces a
fixed-length 40-byte header for greater efficiency. As IPv6 adoption is still in
progress globally, transition methods like tunnelling and dual-stack routers are
employed to maintain compatibility between IPv4 and IPv6 networks.
To solidify these concepts, hands-on learning is encouraged through tools like
Cisco Packet Tracer, which enables users to simulate network configurations,
set up routers, and observe packet transmission. This practical approach is
essential for grasping how data traverses’ networks, laying the groundwork for
further understanding.
Reflecting on the content -
3. Why do you think your course team wants you to learn the content of
this module?
Ans- This module is crucial as networking plays a vital role in today's
technology landscape. Grasping how data travels through networks aids in
effective network management, troubleshooting, and enhancing security.
Additionally, it equips us for practical tasks such as setting up routers with
Cisco Packet Tracer and prepares us for future careers in networking and
cloud computing.
Evidence of learning
D2L Question-
Ques1.Consider we have a network with a subnet along with prefix 192.168.40.128/26. Can you
list down two IP addresses that can be assigned to two PCs connected to this network?
Reserved Addresses:
Usable IP Range:
• 192.168.40.129 to 192.168.40.190
192.168.40.130
192.168.40.135
Que2.When you are working in Cisco Packet Tracer, can you show all the port labels in your logical
workspace?
PortLabels(Fa0/1)
PortLabels(Fa0)
Active class 6
Activity 1
Ques1Examine the IP datagram’s header. Can you identify the IP address of your device
and the IP address of the destination host?
Ans-
Que2. By examine the IP header, can you identify the transport layer protocol used? Does
this match with the transport layer protocol listed in in the packet details window?
Ans-
From the image, the protocol used is TCP (Protocol: 6), which matches with the packet
details.
Que3. What is the size of IP header in Bytes? What is the size of the payload (in Bytes) of
this IP datagram? How did you calculate the size of the payload?
Ans-
Que4. Can you check whether this IP datagram is fragmented or not? Explain your answer.
Ans-
The Don't Fragment flag is set (1), so the packet is NOT fragmented.
2. Header Length
• Value: 20 bytes
• Explanation: Specifies the size of the IP header.
4. Total Length
• Value: 52 bytes
• Explanation: The entire size of the IP packet, including the header and payload.
5. dentification
• Value: 0xdbd9 (56761)
• Explanation: A unique number assigned to this packet, used for fragmentation and
reassembly.
6. Flags
• Value: 010
• Breakdown:
o Bit 0 (Reserved): 0 (Always 0)
o Bit 1 (DF - Don't Fragment): 1 (Packet must not be fragmented)
o Bit 2 (MF - More Fragments): 0 (Not fragmented)
7. Fragment Offset
• Value: 0
• Explanation: Since this is not a fragmented packet, the offset is 0.
9. Protocol
• Value: 6 (TCP)
• Explanation: Indicates that this packet is using the Transmission Control Protocol
(TCP).
10. Header Checksum
• Value: 0xad6d (Validation Disabled)
• Explanation: Used for error-checking the header, but Wireshark reports validation as
disabled.
Que6. Now, conduct a similar analysis using a different type of packet (if you have used
HTTP before, now you can use DNS) and compare the findings.
Ans-
To conduct a similar analysis, I selected a DNS packet instead of an HTTP packet. Below are
the key findings:
1. Protocol: DNS uses UDP (Protocol 17), whereas HTTP uses TCP (Protocol 6).
2. Source & Destination IP: The source IP remains 10.50.0.240 (my device), but the
destination changes to a DNS server (e.g., 172.16.20.28) instead of a web server.
3. Header Size: The IP header size in DNS is smaller (8 bytes) compared to HTTP (20
bytes) due to UDP's lightweight nature.
4. Fragmentation: DNS packets may be fragmented depending on size, whereas HTTP
packets using TCP typically have the "Don't Fragment" (DF) flag set.
5. TTL (Time to Live): The DNS packet had a lower TTL (e.g., 64) compared to the HTTP
packet (128), indicating different routing behaviors.
Activity 2
Que1. Assume you are sending a present to a friend in another country.
Can you list the various places and steps that your parcel would go in the
postal system before it reaches your friend?
Ans- When sending a parcel to a friend in another country, it typically
follows these steps:
1. Drop off the parcel at a local post office.
2. The parcel is sorted at a regional postal center.
3. It is transported to an international shipping hub.
4. The parcel is sent via air/sea transport to the destination country.
5. It arrives at a customs office for inspection.
6. The parcel is handed over to the destination country’s postal service.
7. It is sent to a regional sorting center.
8. Finally, a local post office delivers it to the recipient.
Que2. How this analogous to a situation where you want to send a message
to a friend in another country over the computer networks?
Ans- Sending a message over a network is similar to postal delivery:
• The sender’s device (local post office) prepares the data packet.
• The packet is routed through the network (regional postal centers).
• It crosses international gateways (like customs).
• It is received by the recipient’s ISP (destination country’s postal service).
• Finally, it is delivered to the recipient’s device.
Just like postal tracking numbers, IP addresses ensure proper delivery.
Que3. Assume we need to build the following network with two LANs. Each
group member has a role to play. One group member can be the router and
four other group members could be PCs. Each device needs to set their own
network configuration. The Router needs to set its interfaces/port and PCs
need to set it IP address and gateways to be able to make a communication
between two LANs.
Ans- Building a Network with Two LANs
In this setup, we will configure a network with two LANs connected via a
router. Each group member will play a role, either as a router or a PC, and set
up their respective network configurations.
Roles and Responsibilities
1. Router (Group Member 1 - Acts as a Gateway)
o The router connects LAN 1 and LAN 2 to enable communication.
o It has two interfaces, one for each LAN.
o Configuration:
▪ Interface 1 (LAN 1): 192.168.1.1/24
▪ Interface 2 (LAN 2): 192.168.2.1/24
▪ Enables routing between LANs
2. PC1 (Group Member 2 - LAN 1)
o IP Address: 192.168.1.10/24
o Default Gateway: 192.168.1.1
3. PC2 (Group Member 3 - LAN 1)
o IP Address: 192.168.1.11/24
o Default Gateway: 192.168.1.1
4. PC3 (Group Member 4 - LAN 2)
o IP Address: 192.168.2.20/24
o Default Gateway: 192.168.2.1
5. PC4 (Group Member 5 - LAN 2)
o IP Address: 192.168.2.21/24
o Default Gateway: 192.168.2.1