L6 Network Layer 1 Flashcards

1
Q

What are the two key functions of the network layer?

A

• Forwarding: Move packets from input link to output link at a router.
• Routing: Determine the path that packets take from source to destination.

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

What is the difference between the control plane and the data plane in the network layer?

A

• Control plane: Determines end-to-end paths through the network (routing algorithms).
• Data plane: Per-router operations that move packets from input to output ports.

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

In the network layer, what happens on the sending side?

A

• Segments are taken from the transport layer.
• Each segment is encapsulated into a datagram.
• Datagrams are sent to a nearby router.

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

What is the role of the network layer on the receiving side?

A

• Receives datagrams from the router.
• Extracts transport layer segments.
• Delivers segments to the transport layer.

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

Define Forwarding.

A

Router-local action transferring a packet from an input link to the correct output link.

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

Define Routing.

A

Network-wide action determining the end-to-end paths for packets.

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

How is a packet forwarded within a router?

A

• The router examines packet header fields.
• Uses header values to index into the forwarding table.
• Forwards the packet to the output interface indicated.

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

What is the traditional approach for configuring a router’s forwarding table?

A

• Routing algorithms run on each router.
• Routers exchange routing messages and compute their own forwarding tables.

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

How does the SDN (Software Defined Networking) approach differ?

A

• Routing is centralized in a remote controller.
• Controller computes and distributes forwarding tables to routers.
• Routers only perform forwarding.

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

List the four components of a router.

A

• Input ports
• Switching fabric
• Output ports
• Routing processor

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

What functions are performed by an input port in a router?

A

• Terminate incoming physical link.
• Perform link-layer functions.
• Lookup and determine output port.
• Forward control packets to routing processor.

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

What is the role of a routing processor in traditional routers?

A

• Execute routing protocols.
• Maintain routing tables and link-state information.
• Compute the forwarding table.

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

What is the goal of a routing algorithm?

A

Determine good paths (least cost, fastest, least congested) from sender to receiver.

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

What is the cost of a path in a network graph?

A

Sum of the costs of all individual links along the path.

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

Name types of routing algorithms based on network knowledge.

A

• Centralized: Each router has complete network information.
• Decentralized: Each router knows only its neighbors.

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

What is the difference between static and dynamic routing?

A

• Static: Routes change slowly over time.
• Dynamic: Routes update frequently with changes in network traffic or topology.

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

(Diagram 1) What does the first diagram represent overall?

A

The layered architecture (Application, Transport, Network, Data Link, Physical) across different devices and network components.

18
Q

(Diagram 1) In the diagram, which layers are present at routers?

A

Network, Data Link, and Physical layers.

19
Q

(Diagram 1) Which devices in the diagram implement the Application and Transport layers?

A

End hosts (laptops, servers, smartphones) implement the Application and Transport layers.

20
Q

(Diagram 1) What is missing from the routers compared to end hosts in the diagram?

A

Routers do not implement Application or Transport layers.

21
Q

(Diagram 1) How is communication established between end systems according to the layer model shown?

A

End systems use all layers; routers forward based on the Network layer information.

22
Q

(Diagram 1) What role does the data link layer play at routers in the diagram?

A

Ensures correct data transfer between neighboring routers or devices.

23
Q

(Diagram 1) Which layer ensures the physical transmission of bits?

A

The Physical layer.

24
Q

(Diagram 2) What does the second diagram illustrate?

A

It shows how a router uses the local forwarding table to forward packets based on header values.

25
(Diagram 2) What does the control plane determine in the diagram?
The routing algorithm determines the end-to-end path across the network.
26
(Diagram 2) What information is used for forwarding a packet at a router?
The header value from the packet is used to lookup the correct output link.
27
(Diagram 2) Which part of the router handles per-packet decisions?
The Data plane.
28
(Diagram 2) What is an example of a header value and its mapped output link in the diagram?
Header value 0111 maps to output link 2.
29
(Diagram 3) What does the third diagram represent?
A distributed control plane with routing algorithms running on each router.
30
(Diagram 3) How do routers interact in this distributed control plane model?
Each router independently computes and maintains its own forwarding table.
31
(Diagram 3) What planes are shown separated in this architecture?
Control plane and Data plane.
32
(Diagram 4) What concept is illustrated by the fourth diagram?
Centralized control plane using a remote controller.
33
(Diagram 4) What is the role of the remote controller?
Computes and distributes forwarding tables to all routers.
34
(Diagram 4) What function do routers perform in the centralized model?
Only packet forwarding based on tables received.
35
(Diagram 4) What does CA stand for in the routers?
Control Agent.
36
(Diagram 5) What internal structure of a router is depicted in the fifth diagram?
Router architecture showing input ports, high-speed switching fabric, and output ports.
37
(Diagram 5) What is the purpose of the high-speed switching fabric?
It connects input ports to output ports efficiently.
38
(Diagram 5) Where is the routing processor located, and what does it do?
In the router’s control plane; it processes routing protocols and manages forwarding tables.
39
(Diagram 6) What does the sixth diagram represent?
A graph abstraction of a network for routing algorithms.
40
(Diagram 6) What do nodes and edges represent in the graph?
Nodes represent routers; edges represent links between routers.
41
(Diagram 6) What does the cost on an edge signify?
Represents the cost (e.g., delay, congestion) of using that link.
42
(Diagram 6) How is the total path cost calculated?
By summing up the costs of all links in the path.