Network Layer I & II Flashcards

1
Q

Role of Network Layer?

A

Handles packet forwarding and routing.

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

What is IP?

A

Internet Protocol – delivers packets from source to destination.

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

IPv4 address length?

A

32 bits.

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

Function of a router?

A

Directs packets between networks based on IP addresses.

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

Difference between routing and forwarding?

A

Forwarding: moves packets; Routing: determines path.

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

What is fragmentation?

A

Breaking large packets into smaller ones for transmission.

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

Key components of a router?

A

Input ports, switching fabric, output ports.

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

What is the role of the control plane in the network layer?

A

Makes decisions about how packets should be routed.

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

Define CIDR.

A

Classless Inter-Domain Routing – allows flexible IP address allocation.

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

What is a subnet mask?

A

Defines the network and host portions of an IP address.

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

What is NAT?

A

Network Address Translation – maps private IPs to a public one.

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

Name a key feature of IPv6 over IPv4.

A

Larger address space (128-bit vs 32-bit).

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

What does the network layer protocol provide?

A

Logical communication between hosts.

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

How is the network layer decomposed?

A

Into the data plane and the control plane.

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

What are the functions of the data plane?

A

Handles per-router tasks, determining how a datagram is forwarded from input to output links.

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

What are the functions of the control plane?

A

Manages network-wide logic, using routing protocols and algorithms to route datagrams from source to destination.

17
Q

How were data and control plane traditionally implemented?

A

Together in a monolithic manner within routers.

18
Q

What does Software-Defined Networking (SDN) do?

A

Separates the data plane and control plane.

19
Q

Where do network layer protocols run?

A

In every host and router.

20
Q

What happens on the sending side of the network layer?

A

Encapsulates transport layer segments into datagrams and sends them to nearby routers.

21
Q

What happens on the receiving side of the network layer?

A

Extracts transport layer segments from datagrams and delivers them to the transport layer.

22
Q

What are the two versions of the Internet Protocol?

A

IPv4 and IPv6.

23
Q

What is the version number field in an IPv4 datagram?

A

A 4-bit value specifying the IP protocol version.

24
Q

Why is the header length field needed in an IPv4 datagram?

A

It determines where the payload begins, accounting for possible options in the datagram header.

25
What does the type of service (TOS) field do?
Distinguishes datagrams and requests specific services like priority or low-delay routing.
26
What is the datagram length field?
Measures the total size of the datagram (header + data) in bytes.
27
What are the identifier, flags, and fragmentation offset fields used for?
These store information necessary for IP datagram fragmentation.
28
What is the time-to-live (TTL) field?
Ensures datagrams don’t circulate indefinitely by decrementing with each router hop.