ARP: Address Resolution Protocol Flashcards

1
Q

What two layers of the OSI model does the ARP protocol translate addresses for?

A

ARP translates network layer addresses into data link layer address.

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

Does ARP only translate between MAC and IP addresses?

A

No, ARP is not protocol specific.

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

What command allows you to view your ARP cache?

A

arp -a

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

What term does the ARP header use to refer to the link-layer address?

A

Hardware address

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

What term does the ARP header use to refer to the network address?

A

Protocol address

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

What are the first two fields of an ARP header and how many bytes are they?

A

Hardware type and protocol type. Both are 2 byte fields.

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

What do the hard size and prot size fields in an ARP header represent and how large are they?

A

These fields represent the size of the hardware and protocol addresses in bytes. Each field is 1 byte in size.

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

What are the values used in the OP field in an ARP header and what do they represent?

A
  1. ARP request, 2. ARP reply, 3. RARP request, 4 RARP reply
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the final four fields in an ARP header?

A

Sender hardware address, sender protocol address, target hardware address, target protocol address.

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

How many bytes are the hardware and protocol addresses in an ARP header?

A

Variable. ARP is multi-protocol.

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

How many bytes are the hardware addresses in an ARP packet on an Ethernet network?

A

6 bytes

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

How many bytes are the protocol addresses in an ARP packet on an IPv4 network?

A

4 bytes

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

When does a Gratuitous ARP occur?

A

When a host sends an ARP request for its own IP address.

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

Why would a host send a Gratuitous ARP request?

A

To determine if its IP address is currently in use on the network. This is usually done during system bootstrap.

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