CS2005 - Lecture 8 - Network Layer II Flashcards

(26 cards)

1
Q

What are the two main components of the network layer?

A

Data plane: router-level functions that forward datagrams
Control plane: network-wide logic for routing decisions

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

What does the network layer protocol enable?

A

Logical communication between hosts
Encapsulation and delivery of transport layer segments

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

What is the function of the IPv4 version number field?

A

Identifies the IP version (e.g., IPv4 or IPv6)
Guides routers on how to interpret the datagram

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

Why is the IPv4 header length field needed?

A

Indicates where the payload begins
Accounts for optional header fields

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

What is the purpose of the TTL (Time To Live) field in IPv4?

A

Prevents infinite looping of datagrams
Decrements at each router (if 0, the datagram is dropped)

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

What does the type of service (TOS) field indicate?

A

Differentiates between real-time and non-real-time traffic
Can prioritize traffic (e.g., low delay, high throughput)

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

How does IPv4 handle datagram fragmentation?

A

Splits large datagrams into fragments based on Maximum
Transmission Units (MTU)
Each fragment has the same ID and includes offset info

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

How does a receiving host reassemble fragmented IP datagrams?

A

Uses ID number and offset field, recognizes the final fragment using the flag bit = 0

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

What happens if fragments are lost during transmission?

A

IPv4 is unreliable—missing fragments prevent reassembly, Entire datagram is dropped if incomplete

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

What is an IP address technically associated with?

A

A network interface, not the host itself

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

How are IP addresses formatted?

A

32-bit binary values, written in dotted-decimal notation (e.g., 192.168.1.1)

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

What does the /24 in an IP address like 192.168.0.0/24 mean?

A

The first 24 bits represent the network portion, also called the subnet mask

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

What is Classless Interdomain Routing (CIDR)?

A

Strategy where IP addresses use the format a.b.c.d/x; x defines the prefix length (network portion)

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

Define a subnet in IPv4 addressing.

A

A logical grouping of connected devices that can communicate without a router (devices in the same subnet share a common IP prefix)

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

How are IPv6 addresses different from IPv4?

A

128 bits long
Includes new anycast address type
Fixed 40-byte header for faster routing

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

Why is the total length field important in an IPv4 header?

A

Indicates combined size of header and payload

17
Q

How many bits are reserved for source and destination addresses in IPv4?

18
Q

What protocol handles fragmentation and reassembly?

19
Q

What does the offset field value represent?

A

Position of the fragment’s data in 8-byte units

20
Q

What does the /23 notation mean for 200.23.16.0/23?

A

First 23 bits are network/subnet bits, the rest are for hosts

21
Q

What does the host part of an address represent?

A

The unique identifier of a device within a subnet

22
Q

What connects the subnets together?

A

A router with interfaces in each subnet

23
Q

What is the purpose of the subnet mask /24?

A

Defines that the first 24 bits are the network part

24
Q

What do addresses like 223.1.9.2 represent?

A

IP addresses of router interfaces

25
What is the size of IPv6 source and destination addresses?
128 bits each
26
How does the IPv6 header differ from IPv4?
IPv6 has a fixed 40-byte header; Simpler and faster to process