7. Network Layer (2) Flashcards

(28 cards)

1
Q

What protocol is used to map IP addresses to MAC addresses in a local network?

A

Address Resolution Protocol (ARP)

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

What type of message does ARP send to find the MAC address of a host?

A

ARP sends a broadcast query message asking “Who is the owner of this IP?”

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

True or False: ARP replies are broadcast messages sent to all hosts in the network.

A

False

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

How does an ARP reply message differ from an ARP request?

A

An ARP reply is a unicast message directly sent to the requester with the MAC address

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

What is stored in an ARP Cache?

A

Recent mappings of IP addresses to MAC addresses

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

What is a Gratuitous ARP?

A

An ARP reply sent without a preceding request

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

Give two use cases for Gratuitous ARP.

A

Updating ARP mappings after a MAC address change and announcing a host’s presence when it joins a network.

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

What happens when an ARP request is made for a non-existing host?

A

Several ARP requests are sent with increasing intervals; if no reply is received

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

What is Proxy ARP?

A

When a node replies to an ARP request on behalf of another node

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

True or False: The destination MAC address in an ARP query frame is the broadcast address FF:FF:FF:FF:FF:FF.

A

True

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

Why is ARP vulnerable to attacks such as ARP poisoning?

A

Because ARP does not authenticate requests or replies and updates the ARP cache immediately upon receiving packets

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

What is the primary function of the Internet Control Message Protocol (ICMP)?

A

To send error messages and operational information about network problems back to the sender.

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

Which ICMP message type is used to check if a host is reachable (ping)?

A

Type 8 — Echo request

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

What does an ICMP Destination Unreachable message indicate?

A

That the destination host or network cannot be reached

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

How is trace route functionality implemented using ICMP?

A

By sending packets with increasing TTL values; routers send back ICMP Time Exceeded messages when TTL reaches zero

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

True or False: ICMP messages are encapsulated inside TCP segments.

17
Q

How are ICMP messages encapsulated?

A

Inside IP packets

18
Q

What are some common security issues related to ICMP?

A

ICMP can be exploited for denial-of-service attacks by sending spoofed echo requests or destination unreachable messages.

19
Q

What is the main motivation for introducing IPv6?

A

To address the scarcity of IPv4 addresses

20
Q

How long is an IPv6 address

A

and how is it represented?

21
Q

What abbreviation rules apply to IPv6 addresses?

A

Leading zeros in each block can be omitted; consecutive blocks of zeros can be replaced by “::” but only once per address.

22
Q

Name the three types of IPv6 addresses.

23
Q

Does IPv6 support broadcasting?

24
Q

What is the prefix for global unicast IPv6 addresses?

25
What are Link-Local IPv6 addresses used for?
Communication within a single local network segment; they cannot be routed outside the local link.
26
What is the prefix for IPv6 Link-Local addresses?
FE80::/10
27
What key header fields are removed or omitted in IPv6 compared to IPv4 to improve performance?
Header checksum
28
What mechanism does IPv6 use to extend header options?
A linked list of extension headers with the Next Header field pointing to the next header or protocol.