M1.8 Network Layer Flashcards

(86 cards)

1
Q

What is the primary function of the network layer or OSI Layer 3?

A

To provide services to allow end devices to exchange data across networks.

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

What are the two principle network layer communication protocols?

A

IP version 4 (IPv4) and IP version 6 (IPv6).

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

What are the four basic operations of network layer protocols?

A

Addressing end devices, Encapsulation, Routing and De-encapsulation.

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

What is the purpose of ‘addressing end devices’ at the network layer?

A

End devices must be configured with a unique IP address for identification on the network.

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

What is ‘encapsulation’ at the network layer?

A

The process of adding IP header information to the PDU from the transport layer.

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

What is the network layer PDU called after encapsulation?

A

A packet.

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

What is ‘routing’ at the network layer?

A

The process of selecting the best path and directing packets toward the destination host.

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

What is a ‘hop’ in the context of routing?

A

Each router a packet crosses to reach the destination host.

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

What is ‘de-encapsulation’ at the network layer?

A

The process of removing the IP header from the packet at the destination host.

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

When does a host perform de-encapsulation?

A

When the destination IP address in the packet header matches its own IP address.

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

What is a primary characteristic of the IP protocol regarding overhead?

A

IP was designed as a protocol with low overhead.

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

What are the three basic characteristics of IP?

A

Connectionless Best Effort and Media Independent.

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

What does the ‘connectionless’ characteristic of IP mean?

A

No dedicated end-to-end connection is established before sending data packets.

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

What does the ‘best effort’ characteristic of IP mean?

A

Packet delivery is not guaranteed.

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

What does ‘unreliable’ mean for the IP protocol?

A

IP does not have the capability to manage or recover from undelivered or corrupt packets.

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

Which protocol in the TCP/IP suite is responsible for reliability?

A

The TCP protocol at the transport layer.

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

What does the ‘media independent’ characteristic of IP mean?

A

IP’s operation is independent of the medium carrying the data like copper fiber-optic or wireless.

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

What is the Maximum Transmission Unit (MTU)?

A

The maximum size of the PDU that each medium can transport.

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

What is fragmentation?

A

The process of a router splitting an IPv4 packet to fit a smaller MTU.

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

Which IP version’s packets cannot be fragmented by routers?

A

IPv6.

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

What is the 4-bit binary value in the Version field that identifies an IPv4 packet?

A

0100

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

What is the 8-bit DS field in an IPv4 header used for?

A

To determine the priority of each packet.

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

What was the Differentiated Services (DS) field formerly called?

A

The type of service (ToS) field.

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

The Differentiated Services (DS) field is composed of what two sub-fields?

A

The 6-bit Differentiated Services Code Point (DSCP) and the 2-bit Explicit Congestion Notification (ECN).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is the purpose of the Time to Live (TTL) field in an IPv4 header?
To limit the lifetime of a packet.
26
What happens to the TTL value each time a packet is processed by a router?
It is decreased by one.
27
What happens if a packet's TTL field decrements to zero?
The router discards the packet and sends an ICMP Time Exceeded message to the source IP address.
28
What is the purpose of the Protocol field in an IPv4 header?
It identifies the data payload type the packet is carrying.
29
What is the Protocol field value for ICMP?
1
30
What is the Protocol field value for TCP?
6
31
What is the Protocol field value for UDP?
17
32
What is the purpose of the Header Checksum field in an IPv4 header?
To detect corruption in the IPv4 header.
33
How many bits long is a source IPv4 address?
32 bits.
34
How many bits long is a destination IPv4 address?
32 bits.
35
What is the crucial difference between a source and destination address field in an IPv4 header?
The source address must be a unicast address while the destination can be unicast multicast or broadcast.
36
Which three fields in an IPv4 header are used to reorder a fragmented packet?
1.Identification 2.Flags 3.Fragment Offset.
37
What are three major issues of IPv4?
IPv4 address depletion lack of end-to-end connectivity and increased network complexity.
38
What technology hides the IPv4 address of an internal network host?
Network Address Translation (NAT).
39
How many bits are in an IPv6 address?
128 bits.
40
What are two key improvements IPv6 provides?
Increased address space and improved packet handling.
41
How does IPv6 improve packet handling compared to IPv4?
It uses a simplified fixed-length header with fewer fields for more efficient processing.
42
What major IPv4 limitation is eliminated by IPv6's massive address space?
The need for Network Address Translation (NAT) to conserve public addresses.
43
How large is the fixed-length IPv6 header?
40 octets.
44
What is a key structural difference between the IPv4 header and the IPv6 header?
The IPv4 header is variable-length while the IPv6 header is a fixed length of 40 octets.
45
What is the 4-bit binary value in the Version field that identifies an IPv6 packet?
0110
46
Which 8-bit field in the IPv6 header is equivalent to the IPv4 DS field?
The Traffic Class field.
47
What is the purpose of the 20-bit Flow Label field in the IPv6 header?
To suggest all packets with the same label receive the same handling by routers.
48
Which 8-bit field in the IPv6 header is equivalent to the IPv4 Protocol field?
The Next Header field.
49
Which 8-bit field in the IPv6 header replaces the IPv4 TTL field?
The Hop Limit field.
50
Why does the IPv6 header not include a Header Checksum?
The function is performed at lower and upper layers improving performance.
51
What are Extension Headers (EH) in an IPv6 packet?
Optional headers placed between the IPv6 header and the payload for optional information.
52
How many unique addresses does the 32-bit IPv4 address space provide?
Approximately 4.3 billion.
53
How many unique addresses does the 128-bit IPv6 address space provide?
340 undecillion.
54
What three destination types can a host send a packet to?
Itself a local host or a remote host.
55
What is the IPv4 loopback address used for a host to ping itself?
127.0.0.1.
56
What is the IPv6 loopback address?
::1.
57
What is a 'local host' in terms of routing?
A destination host on the same local network as the sending host.
58
What is a 'remote host' in terms of routing?
A destination host on a remote network.
59
How does an IPv4 host determine if a destination is local or remote?
It uses its own subnet mask its own IPv4 address and the destination IPv4 address.
60
How does an IPv6 host determine if a destination is local?
The local router advertises the local network address (prefix).
61
What is a default gateway?
A network device that can route traffic to other networks.
62
What must be configured on a host to send traffic outside the local network?
A default gateway.
63
How does an IPv4 host typically learn its default gateway address?
Dynamically from DHCP or it is configured manually.
64
How does an IPv6 host typically learn its default gateway address?
The router advertises the address or it is configured manually.
65
What command on a Windows host displays the routing table?
route print or netstat -r.
66
What are the three sections of output from the 'netstat -r' command?
-Interface List -IPv4 Route Table and -IPv6 Route Table.
67
What does a default gateway configuration create in a PC's routing table?
A default route.
68
What does a router examine in a packet to make a forwarding decision?
The destination IP address.
69
What are the three types of route entries in a router's routing table?
-Directly-connected networks -remote networks and a -default route.
70
When does a router add a directly-connected route to its table?
When an interface is configured with an IP address and is activated.
71
What are the two ways a router learns about remote networks?
Manually via static routes or dynamically via a routing protocol.
72
When is a default route used by a router?
When there is no better or longer match in the IP routing table.
73
What is a static route?
A route entry that is manually configured by an administrator.
74
What is a major characteristic of static routing regarding network changes?
It is not automatically updated and must be manually reconfigured.
75
What is dynamic routing?
A process that allows routers to automatically learn about remote networks from other routers.
76
Name two dynamic routing protocols.
OSPF and EIGRP.
77
What are the four key tasks a dynamic routing protocol performs automatically?
1.Discover remote networks 2.maintain up-to-date routing information 3.choose the best path and 4.find a new best path if the current one fails.
78
What Cisco IOS command views the IPv4 routing table?
show ip route.
79
In a Cisco routing table what does the code 'L' indicate?
A directly connected local interface IP address.
80
In a Cisco routing table what does the code 'C' indicate?
A directly connected network.
81
In a Cisco routing table what does the code 'S' indicate?
A static route was manually configured.
82
In a Cisco routing table what does the code 'O' indicate?
The route was learned via OSPF.
83
In a Cisco routing table what does the code 'D' indicate?
The route was learned dynamically via EIGRP.
84
What three steps does a router take to forward a packet?
1. De-encapsulates the Layer 2 frame 2. Examines the destination IP to find the best route 3. Encapsulates the packet in a new Layer 2 frame and forwards it.
85
Name the IPv4 header fields
1. Version 2. Differentiated Servcies (DS) 3. Time to Live (TTL) 4. Protocol 5. Header Checksum 6. Source IPv4 Address 7. Destination IPv4Address
86
Name the IPv6 header fields
1. Version 2. Traffic Class 3. Flow Label 4. Payload length 5. Next Header 6. Hop Limit 7. Source IPv6 Address 8. Destination IPv6 Address