← Back
ExamFull examExam paper onlyItalian

2018 3

Study material for Software Defined Networking, shared by the Studwiz community and reviewed by moderators.

Software Defined NetworkingFull exam

Document information

What's included in this study material

Study material for Software Defined Networking, shared by the Studwiz community and reviewed by moderators.

Import quality: text was extracted directly from the original document.

Extracted content from the document

Representative passages recognised in different parts of the material. The full extracted text remains available to search, while this compact preview makes the page easier to read.

Page 1

Software Defined Networking – 11 settembre 2018 Esercizio 1 Si consideri la rete in figura. I nodi h1,..., hn contengono tabelle ARP prepopolate per tutta la rete. Gli indirizzi MAC e IP dei nodi h1,..., hn sono MAC1,..., MAC n e IP1,..., IPn. Sui nodi h1,..., hn sono in esecuzione processi in ascolto su tutte le porte TCP e UDP di interesse. Il controllore Ryu è collegato ai nodi s1,..., sm ed è configurato come indicato nel Programma 1. Le interfacce tra gli switch e il controllore non sono indicate in figura. Se non altrimenti specificato, il TTL iniziale è 200. h1 h3 h5 s1 s2 s3 h2 h4 h6 1 2 3 1 2 3 1 4 2 3 Nelle risposte usare per ogni pacchetto il seguente formato: Nodo→ interfaccia: MAC sorgente→ MAC destinazione; ethertype; IP sorgente→ IP destinazione; TTL; protocollo; porta sorgente→ porta destinazione; Negli switch sono preinstallate le seguenti regole. Switch s1 Priority Match Action 0 * Output(CONTROLLER,128) 10 eth_type = ETH_TYPE_IP Output(CONTROLLER, ip_proto = IPPROTO_UDP OFPCML_NO_BUFFER) 5 eth_type = ETH_TYPE_IP PushMPLS() ipv4_dst = IP3 SetField(mpls_label=1003) Output(3) 5 eth_type = ETH_TYPE_MPLS PopMPLS() mpls_label = 1001 Output(1) Switch s2 Priority Match Action 0 * Output(CONTROLLER,128) 10 eth_type = ETH_TYPE_IP Output(CONTROLLER, ip_proto = IPPROTO_UDP OFPCML_NO_BUFFER) 5 eth_type = ETH_TYPE_IP PushMPLS() ipv4_dst = IP1 SetField(mpls_label=1001) Output(1) 5 eth_type = ETH_TYPE_MPLS PopMPLS() mpls_label = 1003 Output(2) Switch s3 Priority Match Action 0 * Output(CONTROLLER,128) 10 eth_type = ETH_TYPE_IP Output(CONTROLLER, ip_proto = IPPROTO_UDP OFPCML_NO_BUFFER) L’host h1 porta 1234 apre una connessione TCP verso h3 porta 80. (a) Scrivere tutti i pacchetti uscenti da tutte le interfacce di s1. (b) Scrivere tutti i pacchetti uscenti da tutte le…

Preview

First page of the document.

First page: 2018 3