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 – 29 settembre 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,..., 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 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 h1 porta 1234 apre una connessione TCP verso h5 porta 5678. (a) Scrivere tutti i pacchetti uscenti da tutte le interfacce di s2. (b) Dire quanti pacchetti arrivano in h5 e che valore ha il campo TTL. L’host h2 porta 3322 apre una connessione TCP verso h3 porta 123. (c) Scrivere tutti i pacchetti uscenti da tutte le interfacce di s1. (d) Dire quanti pacchetti arrivano in h3 e con che TTL. (e) L’host h3 risponde. Scrivere tutti i pacchetti uscenti da tutte le interfacce di s1. Scrivere il contenuto della tabella openflow in s1. (f) Scrivere quanti pacchetti arrivano in h2 e che valore ha il campo TTL. L’host h5 porta 7777 invia un datagramma UDP verso l’host h6 porta 245. (g) Scrivere le regole che il controllore deve inserire in s3 per consentire questo scambio di pacchetti. Nessuno di questi pacchetti deve arrivare agli altri host. Figura 1: Regole iniziali Switch s1 Priority Match Action 0 *…
First page of the document.