ARP Flashcards

(47 cards)

1
Q

What does ARP stand for?

A

Address Resolution Protocol

ARP is used to map logical addresses to physical addresses.

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

What are the two levels of addressing required for packet delivery?

A
  • Logical address
  • Physical address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What type of address is recognized at the network level?

A

Logical address

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

What is a physical address?

A

A local address that should be unique locally but not necessarily universally

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

What is an example of a physical address in Ethernet?

A

48-bit MAC address

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

What is the purpose of address mapping?

A

To associate a logical address with its corresponding physical address

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

What are the two types of mapping used in ARP?

A
  • Static mapping
  • Dynamic mapping
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What protocols are used for dynamic mapping?

A
  • Address Resolution Protocol (ARP)
  • Reverse Address Resolution Protocol (RARP)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or False: RARP is still widely used in modern networks.

A

False

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

What happens when a host needs to send an IP datagram to another host?

A

It must find the physical address of the receiver

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

How does ARP find the physical address of another host?

A

By sending an ARP query packet

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

What does an ARP query packet include?

A
  • Sender’s physical address
  • Sender’s IP address
  • Receiver’s IP address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How is an ARP query packet transmitted?

A

It is broadcast over the network

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

What does the ARP response packet contain?

A
  • Recipient’s IP address
  • Recipient’s physical address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the difference between ARP requests and replies?

A

ARP requests are broadcast; ARP replies are unicast

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

What is the first step in the ARP process when a sender knows the target IP address?

A

Create an ARP request message

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

In Case 1 of ARP usage, who is the sender?

A

A host wanting to send a packet to another host on the same network

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

In Case 2 of ARP usage, what does the sender need to do if sending to another network?

A

Look up the IP address of the next hop router

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

In Case 3 of ARP usage, who is the sender?

A

A router that has received a datagram destined for a host on another network

20
Q

In Case 4 of ARP usage, what must the sender do if the datagram is destined for a host in the same network?

A

Map the destination IP address to a physical address

21
Q

Fill in the blank: ARP operates at the ______ layer of the TCP/IP protocol suite.

22
Q

What is the hardware type field in an ARP packet?

A

A 16-bit field defining the type of network

23
Q

What is the protocol type field in an ARP packet for IPv4?

24
Q

What does the hardware length field in an ARP packet define?

A

The length of the physical address in bytes

25
What does the protocol length field in an ARP packet define?
The length of the logical address in bytes
26
What is the encapsulation process for an ARP packet?
An ARP packet is encapsulated directly into a data link frame
27
True or False: Every host on the network processes the ARP query packet.
True
28
What does the type field in an Ethernet frame indicate?
That the data carried by the frame is an ARP packet
29
What is the hardware type in an ARP frame?
0x0001
30
What is the protocol type in an ARP frame?
0x0800
31
How many bytes are in the destination address field of an ARP frame?
6 bytes
32
What does Proxy ARP do?
Acts on behalf of a set of hosts
33
When a router running Proxy ARP receives an ARP request, what does it send?
An ARP reply announcing its own hardware address
34
Fill in the blank: A _______ is an ARP that acts on behalf of a set of hosts.
Proxy ARP
35
What happens when a router receives an IP packet in Proxy ARP?
It sends the packet to the appropriate host or router
36
What is the target for an ARP request when a host is speaking to another host on the same IP network?
The other host's IP address
37
What is the target for an ARP request when speaking to another host on a different IP network?
The Default Gateway’s IP address
38
What is used to cache ARP entries to improve efficiency?
Cache table
39
What states can an ARP cache entry have?
* FREE * PENDING * RESOLVED
40
What does the FREE state in a cache entry indicate?
The time-to-live for this entry has expired
41
What does the PENDING state in a cache entry mean?
A request for this entry has been sent, but the reply has not yet been received
42
What does the RESOLVED state indicate?
The entry now has the physical address of the destination
43
What does the ARP output module do when it receives an IP datagram with a destination in the cache?
Extracts the hardware address and sends the packet to the data link layer
44
What happens when an IP datagram's destination is not found in the cache table?
An entry is added with the state PENDING and an ARP request is sent
45
What action is taken when an ARP input module receives a packet with a target IP address found in the cache?
Changes the state of the entry to RESOLVED and updates the hardware address
46
What happens during the cache-control module's update of entries?
Decrements time-out values and changes states of entries as needed
47
What is done when an entry's attempts exceed the maximum?
The state is changed to FREE, the queue is deleted, and an ICMP message is sent