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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
NetA NetB<br />
1 1<br />
R1<br />
R1_F NetF<br />
4<br />
R2_B<br />
R2_F<br />
R2<br />
R1_A<br />
R1_L<br />
3<br />
NetL<br />
R5_L<br />
R5_E<br />
1<br />
R1_M<br />
R5<br />
R5_I<br />
2<br />
NetM<br />
NetI<br />
3<br />
R4<br />
1<br />
NetE NetD<br />
R2_G<br />
2<br />
2<br />
NetG<br />
R3<br />
NetH<br />
R3_G R3_C<br />
La routing table risultante è riport<strong>at</strong>a nella seguente tabella (la seconda e la terza colonna sono<br />
riferite rispettivamente ai router R1 ed R5):<br />
Destinazione Next hop (R1) Cost (R1) Next hop (R5) Cost (R5)<br />
NetA R1 A 1 R1 L 4<br />
NetB R2 F 5 R1 L,R4 I 8<br />
NetC R4 M 5 R4 I 6<br />
NetD R4 M 3 R4 I 4<br />
NetE R5 l 4 R5 E 1<br />
NetF R1 F 4 R1 L 7<br />
NetG R2 F,R4 M 6 R4 I 7<br />
NetH R4 M 4 R4 I 5<br />
NetI R4 M 5 R5 I 3<br />
NetL R1 L 3 R5 L 3<br />
NetM R1 M 2 R1 L,R4 I 5<br />
Si noti come per raggiungere la rete NetF da R5 il percorso più conveniente passi <strong>at</strong>traverso il next<br />
hop R1. Tuttavia, la rete NetF non viene utilizz<strong>at</strong>a per raggiungere la rete NetB: in questo caso il<br />
percorso più conveniente passa <strong>at</strong>traverso il next hop R4. Per quanto riguarda la rete NetM, invece,<br />
esistono due percorso equivalenti a partire da R5, che può pertanto scegliere in<strong>di</strong>fferentemente o R1 o<br />
R4 come next hop.<br />
40<br />
R4_I<br />
R4_M<br />
R4_D<br />
R4_H<br />
R3_H<br />
1<br />
NetC