Network Layer l Flashcards

1
Q

What are the two main functions of the network layer?

A
  • Forwarding: Router-local movement of packets from input to output links (data plan)
  • Routing: Network-wide path determination from source to destination (control plane)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does the network layer handle transport layer segments?

A

Encapsulates segments into datagrams on sending side; extracts and delivers segments to transport layer on receiving side

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

What is the data plane?

A

Per-router functions (forwarding) that handle packet transfer between input/output links. Implemented in hardware for speed

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

What is the control plane?

A

Network-wide logic (routing) to determine paths. Traditionally in-route but separated in SDN (remote controller)

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

How does a router use its forwarding table?

A

Matches header fields (destination IP) to table entries to determine the output link

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

What’s the difference between forwarding and routing?

A
  • Forwarding: Local, hardware-based, nanoseconds
  • Routing: Global, software-based, seconds
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How are forwarding tables configured traditionally?

A

Each route runs a routing algorithm and exchanges route messages with neighbours to populate tables

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

How does SDN differ from traditional approach?

A

A remote controller computes and distributes forwarding tables to router via messages

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

What are the four key components of a router?

A
  1. Input ports: Physical/link-layer termination + lookup (forwarding tables)
  2. Switching fabric: Connects input to output ports
  3. Output ports: Queueing + link/physical-layer transmission
  4. Routing processor: Runs control plane (routing protocols/SDN controller communication)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What’s the goal of a routing algorithm?

A

Find the least-cost path from sender to receiver

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

Centralised (LS) vs Decentralised (DV) Algorithms

A
  • LS: All routers know full topology
  • DV: Routers know only neighbours
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Static vs Dynamic Algorithms

A
  • Static: Manual routes (slow changes)
  • Dynamic: Adapts to traffic/topology
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Load-sensitive vs Load-insensitive Algorithms

A
  • Sensitive: Link costs reflect congestion
  • Insensitive: Fixed costs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How is a network modelled as a graph?

A
  • Nodes (N): Routers
  • Edges (E): Links
  • Cost (c): Metric like delay, bandwidth
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How is path cost calculated?

A

Sum of link costs

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

Forwarding vs Routing

A

Forwarding is where (local), Routing is how (global)