SDN Flashcards

1
Q

What does SDN stand for?

A

Software-defined Networking

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

What are some disadvantages of traditional routing?

A
  • Difficult to make changes
  • Constant communication between routers
  • Fairly static (long convergence time)
  • Dependent on hardware (vendors)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does SDN tackle routing?

A

Decouple control plane from data plane.

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

Define the two SDN elements (and behaviour)

A

Controller
– Has global network view
– Centralized decision making
– Programmable
Switches
– Dumb
– Forwarding rules configured by controller

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

What are the advantages of SDN?

A

They’re programable so allow to be flexible and for finegrained traffic management. They contain a centralized view of the network so it is easier to compute paths, add security or fault tolerance.

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

What are the disadvantages of SDN?

A

Centralized: Single point of failure.
Scalability: Processing power bottleneck.
Intitial delay: Installing flows on all switches only as they occur will delay the first message.

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

How does data forwarding work in the SDN Data Plane?

A

Rus dictate the data (forwarding) behaviour: Rule = Match + Action

Example:
* Match: destination IP = 12.3.4.5
* Action: forward packet on port 6

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

Who generates data plane rules in SDN?

A

the controller

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

Where are forwarding rules stored in SDN?

A

Switchs store forwarding rules in a flow table.

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

Explain the **Proactive ** Mode of Operation for SDN.

A

controller
installs rules on
switches before
packets arrive.

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

Explain the **Reactive ** Mode of Operation for SDN.

A

controller
installs rules on
switches as soon as
packets arrive.

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

What does a switch do in order to install rules from a controller?

A

It forwards the packet to the controller.

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

What is the SDN Control plane Northbound API?

A

Interact with network
applications

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

What is the SDN Control plane Southbound API?

A

Interact with switches

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

What is the SDN Control plane Westbound API?

A

Interact with other controllers

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

What is the SDN Control plane Eastbound API?

A

Interact with legacy infrastructure

17
Q

What does ARP stand for?

A

Adress Resolution protocol

18
Q

Explain the events on a SDN-controller in case of an ARP request by h1 to h2. (asume only 1 switch connecting them)

A

First h1 will broadcast the ARP Request, in order to find out the adress of h2. The controller will recieve this ARP request (PacketIn), and simple return a flood signal (PacketOut). Upon receival, h2 will send an** ARP reply. Hence, the controller will get the ARP reply from s1, then it will install a flow (FlowMod) that messages from h2 on port 2 to h1 *(Match) must be outpouted to port 1(Action)*. The controller returns the ARP reply to s1 (PacketOut) which gets send to port 1, according to the rule.

19
Q

After ARP request has been completed, explain the events to the controller when h1 pings h2.

A

First h1 will send the ICMP Request to h2. Hence, the controller will get this request from s1, then it will install a flow (FlowMod) that messages from h1 on port 1 to h2 (Match) must be outpouted to port 2(Action). The controller returns the ICMP request to s1 (PacketOut) which gets send to h2, according to the rule. Then, h2 responds with the ICM Reply. Because a rule for this transmission has already been installed on s1, no events occur with the controller.

20
Q

How can loops in non-SDN networks prevent the ARP reply from arriving. Also explain why ARP Request do not have this problem?

A

When switches (s1) receive any message from a host (h1) recieved on port x1, they assume messages towards h1 must be forwarded to x1 in the future. the ARP request is a broadcast, meaning all switches/hosts get this message (hence it does not fail to reach the desired destination). However, if your network is cyclic, when h2 sends the ARP Reply it cannot reach h1 anymore, because switch s1 has received the last h1 transmission (the cyclic ARP request) on port x2. So it wants to return the message to h1 via port x2, but it is not allowed to return messages on the same port it received them. When this is the case, a switch will drop that message, and the ARP reply is lost.