IP-based Communications Flashcards
Explain the encapsulation process on the sending host.
- Application layer encodes data.
- Transport layer breaks data into segments and adds header.
- Internet layer converts segments into packets with IP addresses.
- Link layer adds MAC addresses and converts packets into frames.
- Frames are transmitted as bits.
What is the purpose of Link layer headers in IP-based communications?
Link layer headers specify source and destination MAC addresses for each frame.
How are IP addresses used in determining network transmission?
IP addresses are used to determine whether hosts reside on the same or different networks.
Describe the Address Resolution Protocol (ARP) process for IP-based communications.
- Sending host checks ARP cache for MAC address.
- If not found, sends ARP broadcast.
- Destination host responds with MAC address.
- Source caches destination MAC address and transmits frames.
What happens if the source and destination hosts reside on different networks in IP-based communications?
Packets must be forwarded from router to router until they reach the appropriate destination network and host.
Why does the source system use ARP to determine the MAC address of the first hop router in IP-based communications?
To obtain the MAC address of the first hop router if not already cached for forwarding packets.
What is the role of the source MAC address in frames?
It is set to the MAC address of the sending system.
How does the router identify the destination MAC address in frames?
It uses ARP to discover the MAC address.
When a router receives packets, what does it examine?
It examines the packets for their source and destination IP addresses.
What does a router do if the destination host is on a directly connected network?
It re-encapsulates the packets with the destination host’s MAC address.
How does a router determine the next router to send packets to?
It uses its routing table.
What happens if the destination host is not on a directly connected network?
The router re-encapsulates the packets and sends them to the next router.
Explain the process of de-encapsulation on the destination host.
Data is moved from the bottom layer to the top layer for processing.