12.06.2013 Views

Esercizi Routing.pdf - the Netgroup at Politecnico di Torino

Esercizi Routing.pdf - the Netgroup at Politecnico di Torino

Esercizi Routing.pdf - the Netgroup at Politecnico di Torino

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.2. Distance Vector e Triggered Upd<strong>at</strong>es<br />

Nel momento in cui R2 rileva il guasto, il meccanismo delle triggered upd<strong>at</strong>es prevede che si <strong>at</strong>tenda<br />

un tempo casuale (per evitare intasamenti nella rete e accumulare altre possibili rilevazioni <strong>di</strong> guasto).<br />

Dopo questa <strong>at</strong>tesa, il router invia sui suoi link (e quin<strong>di</strong> anche verso R4) un pacchetto <strong>di</strong> triggered<br />

upd<strong>at</strong>e, contenente le informazioni sulle sole route che sono cambi<strong>at</strong>e in seguito alla variazione <strong>di</strong><br />

connettività; in questo caso quin<strong>di</strong>, in questo pacchetto verranno annunci<strong>at</strong>e le reti 192.168.2.0/24<br />

e 192.168.1.0/30 a costo infinito. Di conseguenza, R4, dopo aver ricevuto il triggered upd<strong>at</strong>e da<br />

R2, rileverà a sua volta una variazione delle route nella routing table (poichè una rete è <strong>di</strong>vent<strong>at</strong>a<br />

irraggiungibile), e quin<strong>di</strong> genererà anche lui un triggered upd<strong>at</strong>e, contenente le stesse informazioni <strong>di</strong><br />

quello precedente.<br />

Inoltre, utilizzando l’algoritmo <strong>di</strong> split horizon con l’opzione Poisonous Reverse abilit<strong>at</strong>a, due possibili<br />

<strong>di</strong>stance vector scambi<strong>at</strong>i tra R2 e R4 dopo il guasto sono:<br />

DV(R2) verso R4<br />

Rete annunci<strong>at</strong>a Costo<br />

192.168.1.4/30 infinito<br />

192.168.1.8/30 1<br />

192.168.3.0/24 infinito<br />

192.168.4.0/24 2<br />

22<br />

DV(R4) verso R2<br />

Rete annunci<strong>at</strong>a Costo<br />

192.168.1.4/30 infinito<br />

192.168.1.8/30 infinito<br />

192.168.3.0/24 1<br />

192.168.4.0/24 infinito

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!