The Network Layer
IPv4 Packet Characteristics
Address Resolution
Basic Router Configuration
Routing Tables & Interfaces
100

This layer is responsible for logical addressing and routing.

Network Layer (Layer 3)

100

What is the PDU used at the network layer?

A packet

100

What protocol maps IPv4 addresses to MAC addresses?

ARP.

100

Command to enter global configuration mode.

configure terminal

100

Command to display the routing table.

show ip route

200

The primary protocol used at the network layer for communication.

IP (Internet Protocol)?

200

What is the purpose of the IPv4 “Protocol” field?

It identifies the upper-layer protocol (e.g., TCP = 6, UDP = 17).

200

What type of message is an ARP Request?

Broadcast.

200

Command to assign an IP address to an interface.

ip address [IP] [mask]?

200

Meaning of code “C” in a routing table.

Directly connected network.

300

The process of dividing large packets into smaller ones for transmission.

Fragmentation

300

What happens if the “Don’t Fragment” (DF) bit is set but the packet is too large for the next link?

The router drops the packet and sends an ICMP Fragmentation Needed message.

300

How does a switch handle an ARP Request when it knows the destination MAC?

Unicasts it to that port.

300

Command that shows interface IPs and statuses.

show ip interface brief?

300

What does the router prefer if multiple routes exist?

Lowest administrative distance.

400

When a packet traverses multiple routers, which two fields in the IPv4 header are changed at each hop?

The TTL and the Header Checksum

400

If two packets arrive on different interfaces but share the same destination IP, how does the router decide which to forward?

It checks the routing table for the longest prefix match.

400

Why might communication fail after replacing a NIC?

Stale ARP entries until refreshed.

400

Command that saves the current configuration.

copy running-config startup-config

400

What happens if no matching or default route exists?

Packet is dropped; ICMP unreachable sent.

500

A router receives an IPv4 packet with a TTL of 1. Explain what happens and what message is returned.

The router drops the packet and sends an ICMP Time Exceeded message back to the source.

500

What command displays a router’s active IPv4 interfaces and addresses?

show ip interface brief

500

What command on a router clears the ARP table?

clear ip arp

500

Command that sets an encrypted enable password.

Command that sets an encrypted enable password.

500

What does the route code “S” mean in S 192.168.10.0/24 via 10.1.1.2?

Static route.