Cn Assignment 3
Cn Assignment 3
1. Discuss the role of the Network layer in the OSI model and
its significance in IP addressing and routing. Explain how
the Network layer supports packetforwarding and routing
decisions
Ans. The Network layer (Layer 3) in the OSI model manages packet
routing, addressing, and forwarding between devices on different
networks. Its primary functions include:
Significance:
Ans. The Data Link layer (Layer 2) ensures reliable data transmission
by:
Error Detection: Uses mechanisms like cyclic redundancy
checks (CRC) to detect errors in transmitted frames.
Error Correction: Implements Automatic Repeat reQuest
(ARQ) protocols for retransmitting corrupted frames.
Impact:
Ans.
IPv4 Structure: 32-bit address divided into four octets, e.g., 192.168.1.1.
Subnetting: Divides a network into smaller sub-networks to improve
management and reduce congestion.
Ans.
Advantages of IPv6:
Ans.
o 192.168.1.0 - 192.168.1.63
o 192.168.1.64 - 192.168.1.127, etc.
8. Compare and contrast different types of routing protocols.
Explain how each protocol operates and provide examples of
scenarios where each would be appropriate.
Ans.
1. Distance Vector:
Example: RIP.
Metric: Hop count.
Suitable for small networks.
2. Link-State:
Example: OSPF.
Metric: Cost (bandwidth-based).
Best for large, complex networks.
3. Hybrid:
Example: EIGRP.
Combines features of both types.
Ans.
Routing Tables:
Process:
Ans.
Feature Static Routing Dynamic Routing
Configuration Manual Automatic
Adaptability Limited Dynamic, adjusts to
changes
Example:
Ans.
1. Function:
2. Uses:
Example:
A router with NAT allows devices with private IPs to share one public IP
for internet communication.