Computer Network & Network Security System β Network Layer, NEC licence examination syllabus (Nepal Engineering Council).
Four small protocols doing four very different jobs, all at this one layer.
Datagram formatVersion, header length, total length, TTL (time to live β prevents infinite loops), protocol, source/destination address, and more.
FragmentationIf a datagram is bigger than the next network's maximum frame size (MTU), it gets split into smaller fragments β reassembled only at the final destination, not at intermediate routers.
ARPIP address β MAC address (already covered in the Data Link chapter, but it genuinely straddles both layers).
RARPThe reverse β MAC address β IP address. Used historically by diskless workstations that knew their own hardware address but needed to ask the network "what's my IP?"
What it's forCarries error and diagnostic messages, not user data.
Real exampleThe "ping" command you've probably run yourself sends ICMP Echo Request messages and waits for Echo Reply β that's ICMP at work.
The obvious question about ARP is why it must exist at all: if a device already has an IP address, why does it also need a MAC address?
IP addressIdentifies where a device sits in the network topology. It changes when the device moves to a different network, and it is what routers use to decide direction.
MAC addressIdentifies the physical interface itself. Burned in at manufacture, never changes, and is meaningful only on the local link.
ICMP carries no user data. It exists so the network can report on itself, which IP alone cannot do β IP is a best-effort protocol with no way to say that delivery failed.
Echo request/replyWhat ping uses β the simplest test that a host is reachable.
Destination unreachableA router could not deliver, and says which part failed: network, host, or port.
Time exceededThe TTL reached zero. This is what makes traceroute possible.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loadingβ¦