Investigating OpenFlow negotiations. Lecture 6

Слайд 2

Слайд 3

Слайд 4

Слайд 5

Слайд 6

Слайд 7

Слайд 8

Слайд 9

Слайд 10

Слайд 11

Слайд 12

Слайд 13

Слайд 14

Слайд 15

Слайд 16

Слайд 17

Слайд 18

Слайд 19

Слайд 20

Слайд 21

Слайд 22

Слайд 23

Слайд 24

Слайд 25

Слайд 26

Слайд 27

Слайд 28

Слайд 29

Слайд 30

Слайд 31

Слайд 32

Слайд 33

Слайд 34

Слайд 35

Слайд 36

Слайд 37

Слайд 38

Слайд 39

Слайд 40

Слайд 41

Слайд 42

Слайд 43

Слайд 44

Слайд 45

Слайд 46

Слайд 47

Слайд 48

Слайд 49

Слайд 50

Result: The controller is copying ARP messages so that it can discover hosts on the network.

Result: The controller is copying ARP messages so that it can

discover hosts on the network.
Слайд 51

Слайд 52

Слайд 53

Слайд 54

Слайд 55

Слайд 56

Слайд 57

Слайд 58

Слайд 59

Слайд 60

Слайд 61

Слайд 62

Слайд 63

Слайд 64

Слайд 65

Слайд 66

Слайд 67

Слайд 68

Слайд 69

Слайд 70

Слайд 71

Слайд 72

31. Program a new flow entry in Table 0 of the

31. Program a new flow entry in Table 0 of the

ProVision switch 1 (P1) that drops all ingress traffic on
port 2.
Will this rule work?
Add a flow entry with the following attributes and then click Add (see Figure).
• Table ID:0
• Priority: 100
• In Port: 2
• Instructions: Apply Action
• Action 1: No Action
• Save Flow = True
Слайд 73

Слайд 74

Слайд 75

Will this rule work? Add a flow entry with the following

Will this rule work?
Add a flow entry with the following attributes

and then click Add (see Figure).
• Table ID: 100
• Priority: 100
• Src Mac: aaaabbbbcccc
• Instructions: Apply Action
• Action 1: No Action
• Save Flow = True
Слайд 76

The same error code displays: • Type: OFPET_BAD_MATCH = 4 • Code: OFPBMC_BAD_TYPE = 0

The same error code displays:
• Type: OFPET_BAD_MATCH = 4
• Code: OFPBMC_BAD_TYPE

= 0
Слайд 77

Слайд 78

Слайд 79

Слайд 80

The switch still uses three tables by default: Tables: 0 (Read-only),

The switch still uses three tables by default: Tables: 0 (Read-only),

Table 100 (TCAM) and Table 200 (Software).
Слайд 81

Слайд 82

Слайд 83

The OpenFlow tables can be configured dynamically by SDN Applications.

The OpenFlow tables can be configured dynamically by SDN Applications.

Слайд 84

Слайд 85

Слайд 86

Слайд 87

Слайд 88

Tables in pipeline: • Table 0: Read-only • Table 100 (TCAM) • Table 200 (Software)

Tables in pipeline:
• Table 0: Read-only
• Table 100 (TCAM)
• Table 200

(Software)
Слайд 89

Слайд 90

Слайд 91

Слайд 92

Слайд 93

Слайд 94

ProVision number of buffers

ProVision number of buffers

Слайд 95

Comware number of buffers

Comware number of buffers

Слайд 96

Слайд 97

Слайд 98

Will this rule work? Add a flow entry with the following

Will this rule work?
Add a flow entry with the following attributes

and then click Add, as illustrated in Figure.
• Table ID: 200
• Priority: 100
• Src Mac: aaaabbbbcccc
• Instructions: Apply Actions
• Action 1: No Action
• Save Flow = True
Слайд 99

Слайд 100

• Table ID: 0 • Priority: 100 • Src Mac: bbbbccccdddd

• Table ID: 0
• Priority: 100
• Src Mac: bbbbccccdddd
• Instructions: Apply

Actions
• Action 1: No Action
• Save Flow = True
Слайд 101

Слайд 102

Слайд 103

Слайд 104

Слайд 105

Слайд 106

Result: This is an OFPFC_ADD message. The controller is adding a new flow to the switch.

Result: This is an OFPFC_ADD message. The controller is adding a

new flow to the switch.
Слайд 107

Result: This is also an OFPFC_ADD message

Result: This is also an OFPFC_ADD message

Слайд 108

Слайд 109

Слайд 110

Слайд 111

Слайд 112

Слайд 113

Слайд 114

Слайд 115

Слайд 116

In the Wireshark capture, the switch is informing the controller of

In the Wireshark capture, the switch is informing the controller of

the flow removal
(OFPT_FLOW_REMOVED) and the reason for the removal (OFPRR_DELETE (2)).
Слайд 117

Слайд 118

Слайд 119

Слайд 120

Слайд 121

Слайд 122

Слайд 123

In Flow Maker, add a flow entry with the following attributes

In Flow Maker, add a flow entry with the following attributes

to the Provision Switch (10.1.1.253)
and then click Add (see Figure):
• Table ID: 100
• Priority: 100
• In Port: 2
• Instructions: Goto Table
• Table: 150
• Save Flow: True
Слайд 124

Слайд 125

Add a flow entry to the ProVision switch (10.1.1.253) with the

Add a flow entry to the ProVision switch (10.1.1.253) with the

following attributes and then click Add (see Figure):
• Table ID: 100
• Priority: 0
• Instructions: Apply Actions
• Save Flow: True
Слайд 126

Слайд 127

Слайд 128

Слайд 129

Слайд 130

Слайд 131