IP-based Communications Flashcards

1
Q

Explain the encapsulation process on the sending host.

A
  1. Application layer encodes data.
  2. Transport layer breaks data into segments and adds header.
  3. Internet layer converts segments into packets with IP addresses.
  4. Link layer adds MAC addresses and converts packets into frames.
  5. Frames are transmitted as bits.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of Link layer headers in IP-based communications?

A

Link layer headers specify source and destination MAC addresses for each frame.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How are IP addresses used in determining network transmission?

A

IP addresses are used to determine whether hosts reside on the same or different networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the Address Resolution Protocol (ARP) process for IP-based communications.

A
  1. Sending host checks ARP cache for MAC address.
  2. If not found, sends ARP broadcast.
  3. Destination host responds with MAC address.
  4. Source caches destination MAC address and transmits frames.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens if the source and destination hosts reside on different networks in IP-based communications?

A

Packets must be forwarded from router to router until they reach the appropriate destination network and host.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why does the source system use ARP to determine the MAC address of the first hop router in IP-based communications?

A

To obtain the MAC address of the first hop router if not already cached for forwarding packets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the role of the source MAC address in frames?

A

It is set to the MAC address of the sending system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does the router identify the destination MAC address in frames?

A

It uses ARP to discover the MAC address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When a router receives packets, what does it examine?

A

It examines the packets for their source and destination IP addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does a router do if the destination host is on a directly connected network?

A

It re-encapsulates the packets with the destination host’s MAC address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does a router determine the next router to send packets to?

A

It uses its routing table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What happens if the destination host is not on a directly connected network?

A

The router re-encapsulates the packets and sends them to the next router.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain the process of de-encapsulation on the destination host.

A

Data is moved from the bottom layer to the top layer for processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly