Lesson 9: Software Defined Networking Flashcards

1
Q

What is network management?

A

The process of configuring the network to achieve a variety of tests. These tests include Load Balance, Security, and Business relationships

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

What can configuration mistakes lead to?

A
  • Persistent Oscillation
  • Loops, where packets get stuck between 2 or more routers
  • Partitions
  • “Black Holes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why is configuration hard to get right?

A
  1. It is difficult to define what “correctness” means
  2. Interactions between protocols are unpredictable
  3. Operators make mistakes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What do operators need which SDN provides?

A
  1. Network-wide views of both Topology and Traffic
  2. The ability to satisfy network-level objects, such as load balance and security
  3. Direct control of the data plane
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What should routers do in SDN?

A
  1. Forward Packets
  2. Collect measurements.
  3. should NOT compute routes. This should be done from a centralized control program.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the advantages of SDN over conventional networks?

A
  1. Easier to coordinate over a network of devices.
  2. Easier to evolve.
  3. Easier to reason.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the control plane?

A

A software program, usually written in high level language, such as Python or C

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

What is the Data Plane?

A

Programmable Hardware, controlled by the control plane

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

What are some SDN Applications?

A
Data Centers, 
Backbone Networks, 
Enterprise Networks, 
Internet Exchange Points (IXPs), and 
Home Networks.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following are examples of control plane operations?

  1. Computing a forwarding path, that satisfies some high-level policy such as an access control policy
  2. computing a shortest path routing tree
  3. rate-limiting traffic
  4. Load balancing traffic based on a hash of the packet source IP address
  5. authenticating a user’s device based on its MAC address
A

1, 2, 5

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

What is the function of the control plane?

A

Logic that controls forwarding behavior, such as routing protocols, configuration for network middleboxes.

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

What is the function of the data plane?

A

To forward traffic according to the control plane logic. Examples: Fowarding packets at IP layer, and switching.

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

Why separate the data plane from the control plane?

A
  1. Independent evolution & development,
  2. Control from a high-level program, which allows for easier debugging/checking behavior.
  3. Opportunity for better network management in data centers, using VM migration
  4. In routing, this provides more control over decision logic
  5. it provides enterprise networks opportunities for better security
  6. In research networks, easier to virtualize networks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Reasons for separating data and control?
A: No single point of failure
B: Ability to scale to much larger networks
C: Independent evolution of data & control plane
D: separating vendor hardware from control logic
E: Easier reasoning about network behavior

A

C, D, E

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

How does SDN benefit data centers?

A

If a data center has 20k servers, and each server 200 VMs, then each data center supports 400k VMs in a cluster.

Problem: Provisioning/migration in response to load
Solution: Program switch state from a central database.

If we need to provision additional, or migrate VMs, updating the switch state is much easier from a centralized server.

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

Why does SDN makes migration easier in data centers?

A

The servers are addressed with Layer 2 addressing. The entire data center looks like a flat layer 2 topology.

This means a server can be migrated from one portion of the data center to another without requiring the VM to acquire new addresses.

17
Q

how does the control data plane separation make managing data centers easier?
A: he ability to monitor and control routes from a central point of control
B: The ability to migrate virtual machines without renumbering host addresses
C: requirement for fewer switches, or
D: making load balance automatic

A

A and B

18
Q

How does SDN benefit backbone security?

A

if an attacker is sending lots of traffic to a victim, a measurement system may detect the attack, identify the entry point.

Then a controller, such as RCP, will install a “null route” on the attacker so the victim will no longer receive traffic from the attacker

19
Q

What are the three main challenges to SDN?

A
  1. Scalability - a single control element maybe responsible for thousands of switches.
  2. Consistency - for redundancy/reliability, we’ll replicate the controller. So it is a challenge to ensure different replicas see the same view
  3. Security / Rebustness: Failure or compromise
20
Q

What are some ways of coping with SDN scalability?
A: Eliminate redundant data structures
B: Only perform control-plane operations for a liminted # of operations
C: Send all traffic to controllers (to minimize decisions routers and switches need to make)
D: Cache forwarding decisions in switches.
E: Run multiple controllers

A

A (can help save memory)
B (ensures controller doesn’t do too much)
D (ensures not too much traffic is redirected to the contollers)
E (reduces controller load

21
Q

What are some examples of SDN controllers?

A
NOX,
Ryu
Floodlight
Pyretic
Frentic
Procera
Routeflow
Trema
22
Q

What is NOX?

A
First-gen openflow controller
- open-source, stable, widely used
Two flavors:
- "Classic" : C++/python (no longer supported)
- "New NOX": C++ only, fast, clean
23
Q

NOX Architecture components

A

Components: switches, network-attached servers
Abstraction: switch control
Control: Flow granularity

24
Q

More about NOX

A

Watch 11.14

25
Q

When would you use POX?
A: Class project
B: large internet data center
C: University research

A

A and C

26
Q

A comparison of Ryu, floodlight, Nox, and Pox

A

Watch 11.16

27
Q

What does a hub do?

A

When it receives traffic, it sends it out to all other nodes

28
Q

What does a learning switch do?

A

It maintains a table that associates hosts with output ports.