Document information
- University
- Politecnico di Milano
- Degree programme
- Computer Engineering
- Subject
- Software Defined Networking
- Material language
- Italian
- Classification
- Exam · Full exam
- Content
- Exam paper only
- Original format
- Text
- Searchable text
Study material for Software Defined Networking, shared by the Studwiz community and reviewed by moderators.
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.
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.
Software Defined Networking – 22 luglio 2019 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,..., IP n. 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 s2 h5 s1 s3 h2 s4 h4 h6 1 2 3 1 4 1 2 3 1 2 34 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 regole in Figura 1. L’host h3 porta 1234 apre una connessione TCP verso h5 porta 80. (a) Scrivere tutti i pacchetti uscenti da tutte le interfacce di s2. Soluzione: s2→3,1: MAC3→MAC5; IPv4; IP1→IP5; TTL:200; TCP; 1234→80; (b) Dire quanti pacchetti arrivano in h5 e che valore ha il campo TTL. Soluzione: Uno con TTL=200. L’host h2 porta 3322 invia un datagramma UDP verso h5 porta 123. (c) Scrivere tutti i pacchetti uscenti da tutte le interfacce di s1. Soluzione: packet_in(MAC2→MAC5; IPv4; IP2→IP5; TTL:200; UDP; 3322→123) Il controllore risponde installando due regole, la prima delle quali è eseguita immediatamente . MAC2→MAC5; IPv4; IP2→IP5; TTL:200; UDP; 3322→1147 (d) Dire quanti pacchetti arrivano in h5 e con che TTL. Soluzione: Uno con TTL=200. (e) L’host h5 risponde. Scrivere tutti i pacchetti uscenti da tutte le interfacce di s1. Soluzione: In s3 il pacchetto viene inviato al controllore, che non risponde. Pertanto…
First page of the document.