#import "template/module.typ": * #show: default.with( title: "SDN - Lab 2", authors: (( name: "Yi-Ting Shih (111550013)", affiliation: "National Yang Ming Chaio Tung University", email: "ytshih@cs.nycu.edu.tw", ),), ) = Part 1: Answer Questions 1. How many distinct OpenFlow headers with type "OFPT_FLOW_MOD" and command "OFPFC_ADD" are there among all the packets? There are 6 distinct OpenFlow headers. 2. Following question 1, what are the match fields, and what are the corresponding actions? #table(columns: 3, [Match fields], [actions], [Timeout values], [ETH_TYPE=LLDP], [output port=controller], [0], [ETH_TYPE=ARP], [output port=controller], [0], [ETH_TYPE=BDDP], [output port=controller], [0], [ETH_TYPE=IPv4], [output port=controller], [0], [IN_PORT=1, ETH_DST=0a:01:ca:16:e6:f2, ETH_SRC=16:e8:32:bf:62:44], [output port=2], [0], [IN_PORT=2, ETH_DST=16:e8:32:bf:62:44, ETH_SRC=0a:01:ca:16:e6:f2], [output port=1], [0], ) 3. What are the Idle Timeout values for all flow rules on s1 in the GUI? 10 = Part 2: Install Flow Rules > arping #image("part2-1.png", width: 350pt) > ping #image("part2-2.png", width: 350pt) = Part 3: Trace ReactiveForwarding [C] - Control Plane [D] - Data Plane - [D] h1 send ARP request with broadcast. - [C] s1 sends the ARP request with packet-in to ONOS controller. - [C] Controller choose to flood the ARP request and send packet-out. - [D] s1 floods the ARP request. - [D] h2 replies h1 with ARP reply. - [C] s1 sends the ARP request with packet-in to ONOS controller. - [C] Controller choose to send the ARP reply to h1 and send packet-out. - [D] s1 sends the ARP reply to h1. - [D] h1 sends ICMP echo request to h2. - [C] s1 sends ICMP echo request with packet-in to ONOS controller. - [C] Controller install rules for ICMP traffic. - [D] s1 forwards the ICMP packet to h2.