[Internet-e-architetture-di-rete] esercizio routing statico

Mauro Angiolillo m.angiolillo at comuneap.gov.it
Mon Apr 25 18:23:26 CEST 2016


Salve prof,
   provo a sottoporre la mia soluzione per la componente ipv4, sperando di non aver commesso
errori di battitura (e ancor più di concetto).

Ho provveduto in primo luogo a suddividere gli spazi di indirizzamento in funzione delle necessità
di allocazione delle varie subnet ma cercando di mantenere la maggiore aggregazione tra i building
in modo da semplificare le tabelle di routing. Il risultato è che:

Building A : 192.168.0.0/16
Building B : 172.16.0.0/13
Buinding C : 172.24.0.0/13

Di seguito la numerazione di ciascuna interfaccia e le tabelle di routing di ciascun router in
riferimento al diagramma allegato:

Configurazioni router
=====================

==============================================================
Building A [ 192.168.0.0/16 ]
==============================================================

Router RA0
----------
interface a  : 192.168.10.254/24
interface b  : 10.1.0.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
192.168.10.0    0.0.0.0         255.255.255.0   a
192.168.0.0	10.1.0.1	255.255.0.0	b
172.16.0.0	10.1.0.1	255.248.0.0	b		


Router RA1
----------
interface a  : 192.168.11.254/24
interface b  : 10.1.1.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
192.168.11.0    0.0.0.0         255.255.255.0   a
192.168.0.0	10.1.1.1	255.255.0.0	b
172.16.0.0	10.1.1.1	255.248.0.0	b		

Router RA2
----------
interface a  : 192.168.12.254/24
interface b  : 10.1.2.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
192.168.12.0    0.0.0.0         255.255.255.0   a
192.168.0.0	10.1.2.1	255.255.0.0	b
172.16.0.0	10.1.2.1	255.248.0.0	b

Router RA
---------
interface a  : 192.168.20.254/24
interface w  : 10.1.0.1/30
interface x  : 10.1.1.1/30
interface y  : 10.1.2.1/30
interface z1 : 10.11.0.1/30
interface z2 : 10.12.0.1/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
192.168.20.0    0.0.0.0         255.255.255.0   a
192.168.10.0	10.1.0.2	255.255.255.0	w
192.168.11.0	10.1.1.2	255.255.255.0	x
192.168.12.0	10.1.2.2	255.255.255.0	y
172.16.0.0	10.11.0.2	255.248.0.0	z1  (da Building A -> Building B)

==============================================================
Building B [ 172.16.0.0/13 ]
==============================================================

Router RB0
----------
interface a  : 172.16.0.254/16
interface b  : 10.2.0.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
172.16.0.0      0.0.0.0         255.255.0.0     a
172.16.0.0	10.2.0.1	255.248.0.0	b
192.168.0.0	10.2.0.1	255.255.0.0	b

Router RB1
----------
interface a  : 172.17.0.254/16
interface b  : 10.2.1.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
172.17.0.0      0.0.0.0         255.255.0.0     a
172.16.0.0	10.2.1.1	255.248.0.0	b
192.168.0.0	10.2.1.1	255.255.0.0	b		

Router RB2
----------
interface a  : 172.18.0.254/16
interface b  : 10.2.2.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
172.18.0.0      0.0.0.0         255.255.0.0     a
172.16.0.0	10.2.2.1	255.248.0.0	b
192.168.0.0	10.2.2.1	255.255.0.0	b		

Router RB
---------
interface a  : 172.20.0.254/16
interface w  : 10.2.0.1/30
interface x  : 10.2.1.1/30
interface y  : 10.2.2.1/30
interface z1 : 10.11.0.2/30
interface z2 : 10.13.0.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
172.20.0.0      0.0.0.0         255.255.0.0     a
172.16.0.0	10.2.0.2	255.255.0.0	w
172.17.0.0	10.2.1.2	255.255.0.0	x
172.18.0.0	10.2.2.2	255.255.0.0	y
192.168.0.0	10.11.0.1	255.255.0.0	z1	(da Building B --> Building A)

==============================================================
Building C [ 172.24.0.0/13 ]
==============================================================

Router RC0
----------
interface a  : 172.24.0.254/16
interface b  : 10.3.0.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
172.24.0.0      0.0.0.0         255.255.0.0     a
172.24.0.0	10.3.0.1	255.248.0.0	b

Router RC1
----------
interface a  : 172.25.0.254/16
interface b  : 10.3.1.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
172.25.0.0      0.0.0.0         255.255.0.0     a
172.24.0.0	10.3.1.1	255.248.0.0	b

Router RC2
----------
interface a  : 172.26.0.254/16
interface b  : 10.3.2.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
172.26.0.0      0.0.0.0         255.255.0.0     a
172.24.0.0	10.3.2.1	255.248.0.0	b

Router RC
---------
interface a  : 172.30.0.0/16
interface w  : 10.3.0.1/30
interface x  : 10.3.1.1/30
interface y  : 10.3.2.1/30
interface z1 : 10.13.0.1/30
interface z2 : 10.12.0.2/30

Tabella di routing
------------------
Destination     Gateway         Genmask         Iface
172.30.0.0      0.0.0.0         255.255.0.0     a
172.24.0.0	10.3.0.2	255.255.0.0	w
172.25.0.0	10.3.1.2	255.255.0.0	x
172.26.0.0	10.3.2.2	255.255.0.0	y


A breve provvederò ad inviare la soluzione dell'esercizio in ipv6.

Mauro

-- 
Dott. Ing. Mauro Angiolillo
Linux Registered User #343216
GnuPG-Key fingerprint = 90A3 3F92 6008 7383 A569  E952 CF97 383B 63F6 F425

				      -*-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex_reti_routing_statico.jpg
Type: image/jpeg
Size: 341697 bytes
Desc: not available
URL: <http://list.informagiovani.comunesbt.it/pipermail/internet-e-architetture-di-rete/attachments/20160425/011cc983/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://list.informagiovani.comunesbt.it/pipermail/internet-e-architetture-di-rete/attachments/20160425/011cc983/attachment.bin>


More information about the Internet-e-architetture-di-rete mailing list