ESAT Forouzan - Chapter 20: Network Layer Protocols (ARP, IPV4, ICMP, IPV6, and ICMPV6)) Flashcards

1
Q

_______ is a dynamic mapping protocol in which a physical address is found for a given IP address.
a. ARP
b. RARP
c. ICMP
d. None of the above

A

a. ARP

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

A router reads the _______ address on a packet to determine the next hop.
a. MAC
b. Source
c. IP
d. ARP

A

c. IP

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

The target hardware address on an Ethernet is _______ in an ARP request.
a. 0x000000000000
b. 0.0.0.0
c. Variable
d. Class-dependent

A

a. 0x000000000000

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

An ARP reply is _______ to _______.
a. Broadcast; all hosts
b. Multicast; one host
c. Unicast; one host
d. Unicast; one host

A

c. Unicast; one host

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

An ARP request is _______ to _______.
a. Broadcast; all hosts
b. Multicast; one host
c. Unicast; one host
d. Unicast; one host

A

a. Broadcast; all hosts

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

What is the maximum size of the data portion of the IP datagram?
a. 65,535 bytes
b. 65,515 bytes
c. 65,475 bytes
d. 65,460 bytes

A

b. 65,515 bytes

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

best-effort delivery service such as IP does not include _______.
a. Error checking
b. Error correction
c. Datagram acknowledgment
d. All the above

A

d. All the above

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

An HLEN value of decimal 10 means _________.
a. There is 10 bytes of options
b. There is 40 bytes of options
c. There is 10 bytes in the header
d. There is 40 bytes in the header

A

d. There is 40 bytes in the header

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

In IPv4, what is the value of the total length field in bytes if the header is 28 bytes and the data field is 400 bytes?
a. 428
b. 407
c. 107
d. 427

A

a. 428

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

In IPv4, what is the length of the data field given an HLEN value of 12 and total length value of 40,000?
a. 39,998
b. 40,012
c. 40,048
d. 39,952

A

d. 39,952

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

A datagram is fragmented into three smaller datagrams. Which of the following is true?
a. The do not fragment bit is set to 1 for all three datagrams.
b. The more fragment bit is set to 0 for all three datagrams.
c. The identification field is the same for all three datagrams.
d. The offset field is the same for all three datagrams

A

c. The identification field is the same for all three datagrams.

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

If the fragment offset has a value of 100, it means that ______________.
a. The datagram has not been fragmented
b. The datagram is 100 bytes in size
c. The first byte of the datagram is byte 100
d. The first byte of the datagram is byte 800

A

d. The first byte of the datagram is byte 800

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

What is needed to determine the number of the last byte of a fragment?
a. Identification number
b. Offset number
c. Total length
d. (b) and (c)

A

d. (b) and (c)

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

The IP header size ___________.
a. Is 20 to 60 bytes long
b. Is 20 bytes long
c. Is 60 bytes long
d. Depends on the MTU

A

a. Is 20 to 60 bytes long

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

If a host needs to synchronize its clock with another host, it sends a _______ message.
a. Time-stamp request
b. Source-quench
c. Routert-advertisement
d. Time-exceeded

A

a. Time-stamp request

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

Which of the following types of ICMP messages needs to be encapsulated into an IP datagram?
a. Time-exceeded
b. Multicasting
c. Echo reply
d. All the above

A

d. All the above

17
Q

The purpose of echo request and echo reply is to ________________.
a. Report errors
b. Check node-to-node communication
c. Check packet lifetime
d. Find IP addresses

A

b. Check node-to-node communication

18
Q

In error reporting the encapsulated ICMP packet goes to _______.
a. The sender
b. The receiver
c. A router
d. Any of the above

A

a. The sender

19
Q

When the hop-count field reaches zero and the destination has not been reached, a _______ error message is sent.
a. Destination-unreachable
b. Time-exceeded
c. Parameter-problem
d. Redirection

A

b. Time-exceeded

20
Q

When not all fragments of a message have been received within the designated amount of time, a _______ error message is sent.
a. Source-quench
b. Time-exceeded
c. Parameter-problem
d. Time-stamp request

A

b. Time-exceeded

21
Q

Errors in the header or option fields of an IP datagram require a ______ error message
a. Parameter-problem
b. Source-quench
c. Router-solicitation
d. Redirection

A

a. Parameter-problem

22
Q

A ______ can learn about network ______ by sending out a router-solicitation packet.
a. Router; routers
b. Router; hosts
c. Host; hosts
d. Host; routers

A

d. Host; routers

23
Q

One method to alert a source host of congestion is the _______ message.
a. Redirection
b. Echo-request
c. Source-quench
d. Destination-unreachable

A

c. Source-quench

24
Q

A time-exceeded message is generated if _______.
a. The round-trip time between hosts is close to zero
b. The time-to-live field has a zero value
c. Fragments of a message do not arrive within a set time
d. (b) and (c)

A

d. (b) and (c)

25
Q

To determine whether a node is reachable, _____________ message can be sent.
a. An echo-reply
b. An echo-request
c. A redirection
d. A source-quench

A

b. An echo-request

26
Q

Which of the following is a necessary part of the IPv6 datagram?
a. Base header
b. Extension header
c. Data packet from the upper layer
d. (a) and (c)

A

d. (a) and (c)

27
Q

In IPv6, the _______ field in the base header restricts the lifetime of a datagram.
a. Version
b. Priority
c. Next-header
d. Hop limit
e. Neighbor-advertisement

A

d. Hop limit