Está en la página 1de 8

Universidad de Oriente

Núcleo De Anzoátegui
Escuela De Ingeniería Y Ciencias Aplicadas
Departamento De Electricidad
Catedra: Telecomunicaciones
Bachiller: José Girot

DIRECCIONAMIENTO Y ENRUTAMIENTO

1. Direccionamiento

RED: 135.87.0.0/16

Esta es una red clase B. Aca tenemos 16 bits disponibles para hosts. A partir de
estos bits formaremos 3 subredes para los sitios Z, X y Y. Usaremos 2bits del
tercer octeto.

Sitio Y: 10000111.1010111.00000000.00000000 (135.87.0.0)


Sitio Z: 10000111.1010111.01000000.00000000 (135.87.64.0)
Sitio X: 10000111.1010111.10000000.00000000 (135.87.128.0)

Numero de hosts por subred: 214 − 2 = 16382

Mascara de subred: 255.255.192.0 (/18)

1.1. SITIO Y
El sitio Y requiere 4 subredes.

Sitio AY: 10000111.1010111.00000000.00000000 (135.87.0.0)


Sitio BY: 10000111.1010111.00010000.00000000 (135.87.16.0)
Sitio CY: 10000111.1010111.00100000.00000000 (135.87.32.0)
Sitio DY: 10000111.1010111.00110000.00000000 (135.87.48.0)

Numero de hosts por subred: 212 − 2 = 4094

Mascara de subred: 255.255.240.0 (/20)

1
1.2. SITIO Z

El sitio Z requiere 4 subredes.

Sitio AZ: 10000111.1010111.01000000.00000000 (135.87.64.0)


Sitio BZ: 10000111.1010111.01010000.00000000 (135.87.80.0)
Sitio CZ: 10000111.1010111.01100000.00000000 (135.87.96.0)
Sitio DZ: 10000111.1010111.01110000.00000000 (135.87.112.0)

Numero de hosts por subred: 212 − 2 = 4094

Mascara de subred: 255.255.240.0 (/20)

1.3. SITIO X

El sitio X requiere 4 subredes.

Sitio AX: 10000111.1010111.10000000.00000000 (135.87.128.0)


Sitio BX: 10000111.1010111.10010000.00000000 (135.87.144.0)
Sitio CX: 10000111.1010111.10100000.00000000 (135.87.160.0)
Sitio DX: 10000111.1010111.10110000.00000000 (135.87.176.0)

Numero de hosts por subred: 212 − 2 = 4094

Mascara de subred: 255.255.240.0 (/20)

SITIOS ORG DIR SUBRED MASC SUBRED 1era DIR ÚTIL HOSTS REQ HOSTS SUBRED
A 135.87.0.0 255.255.240.0 135.87.0.1 1600 4094
B 135.87.16.0 255.255.240.0 135.87.16.1 1800 4094
Y
C 135.87.32.0 255.255.240.0 135.87.32.1 3000 4094
D 135.87.48.0 255.255.240.0 135.87.48.1 1600 4094
A 135.87.64.0 255.255.240.0 135.87.64.1 3200 4094
B 135.87.80.0 255.255.240.0 135.87.80.1 1000 4094
Z
C 135.87.96.0 255.255.240.0 135.87.96.1 1600 4094
D 135.87.112.0 255.255.240.0 135.87.112.1 2000 4094
A 135.87.128.0 255.255.240.0 135.87.128.1 1500 4094
B 135.87.144.0 255.255.240.0 135.87.144.1 500 4094
X
C 135.87.160.0 255.255.240.0 135.87.160.1 800 4094
D 135.87.176.0 255.255.240.0 135.87.176.1 700 4094

Tabla 1: Direcciones IP

2
2. Enrutamiento
2.1. Vlans

Iniciamos con la creación de vlans en el sitio ”Z”.

1 Switch>enable
2 Switch#config t
3 Enter configuration commands, one per line. End with CNTL/Z.
4 Switch(config)#hostname SwitchZ
5 SwitchZ(config)#vlan 2
6 SwitchZ(config-vlan)#name OrgA
7 SwitchZ(config-vlan)#vlan 3
8 SwitchZ(config-vlan)#name OrgB
9 SwitchZ(config-vlan)#vlan 4
10 SwitchZ(config-vlan)#name OrgC
11 SwitchZ(config-vlan)#vlan 5
12 SwitchZ(config-vlan)#name OrgD
13 SwitchZ(config-vlan)#
14 SwitchZ#ex

Asignamos los puertos a cada Vlan

1 SwitchZ#config t
2 Enter configuration commands, one per line. End with CNTL/Z.
3 SwitchZ(config)#interface range fa0/2-3
4 SwitchZ(config-if-range)#switchport access vlan 2
5 SwitchZ(config-if-range)#ex
6 SwitchZ(config)#interface range fa0/4-5
7 SwitchZ(config-if-range)#switchport access vlan 3
8 SwitchZ(config-if-range)#ex
9 SwitchZ(config)#interface range fa0/6-7
10 SwitchZ(config-if-range)#switchport access vlan 4
11 SwitchZ(config-if-range)#ex
12 SwitchZ(config)#interface range fa0/8-9
13 SwitchZ(config-if-range)#switchport access vlan 5
14 SwitchZ(config-if-range)#ex

3
Para que el switch comparta información de sus VLANS, la interfaz que conecta
con el router debe estar en modo trunk

1 SwitchZ#config t
2 Enter configuration commands, one per line. End with CNTL/Z.
3 SwitchZ(config)#interface fa0/1
4 SwitchZ(config-if)#switchport mode trunk

Repetimos todo el proceso para los sitios ”X” y ”Y ”

2.2. Creación de subinterfaces

Iniciamos con la creación de subinterfaces en el sitio ”Z”.

1 Router>enable
2 Router#config t
3 Enter configuration commands, one per line. End with CNTL/Z.
4 Router(config)#hostname RouterZ
5 RouterZ(config)#interface f0/0.2
6 RouterZ(config-subif)#encap dot1q 2
7 RouterZ(config-subif)#ip add 135.87.64.1 255.255.240.0
8 RouterZ(config-subif)#ex
9 RouterZ(config)#interface f0/0.3
10 RouterZ(config-subif)#encap dot1q 3
11 RouterZ(config-subif)#ip add 135.87.80.1 255.255.240.0
12 RouterZ(config-subif)#ex
13 RouterZ(config)#interface f0/0.4
14 RouterZ(config-subif)#encap dot1q 4
15 RouterZ(config-subif)#ip add 135.87.96.1 255.255.240.0
16 RouterZ(config-subif)#ex
17 RouterZ(config)#interface f0/0.5
18 RouterZ(config-subif)#encap dot1q 5
19 RouterZ(config-subif)#ip add 135.87.112.1 255.255.240.0
20 RouterZ(config-subif)#ex
21 RouterZ(config)#interface f0/0
22 RouterZ(config-if)#no sh

Repetimos todo el proceso para los routers ”X” y ”Y ”

4
2.3. Enrutamiento estático

Iniciamos con la creación de las tablas de enrutamiento en el sitio ”Z”.

2.3.1. Sitio Z con sitio Y

1 RouterZ>enable
2 RouterZ#configure terminal
3 Enter configuration commands, one per line. End with CNTL/Z.
4 RouterZ(config)#ip route 135.87.0.0 255.255.240.0 10.0.6.54
5 RouterZ(config)#ip route 135.87.16.0 255.255.240.0 10.0.6.54
6 RouterZ(config)#ip route 135.87.32.0 255.255.240.0 10.0.6.54
7 RouterZ(config)#ip route 135.87.48.0 255.255.240.0 10.0.6.54

2.3.2. Sitio Z con sitio X

1 RouterZ(config)#ip route 135.87.128.0 255.255.240.0


10.0.6.22
2 RouterZ(config)#ip route 135.87.144.0 255.255.240.0
10.0.6.22
3 RouterZ(config)#ip route 135.87.160.0 255.255.240.0
10.0.6.22
4 RouterZ(config)#ip route 135.87.176.0 255.255.240.0
10.0.6.22

Repetimos todo el proceso para los routers de ”X” y ”Y ”

2.4. Access-List

Iniciamos con la creación de las ACL para filtar el trafico de las organizaciones del
sitio ”Z”.

1 RouterZ#config t
2 Enter configuration commands, one per line. End with CNTL/Z.
3 RouterZ(config)#acc 101 per ip 135.87.64.0 0.0.15.255
135.87.0.0 0.0.15.255
4 RouterZ(config)#acc 101 per ip 135.87.64.0 0.0.15.255
135.87.128.0 0.0.15.255
5 RouterZ(config)#acc 101 deny ip any any
6 RouterZ(config)#interface f0/0.2
7 RouterZ(config-subif)#ip acc 101 in

5
8 RouterZ(config-subif)#ex
9 RouterZ(config)#acc 102 per ip 135.87.80.0 0.0.15.255
135.87.16.0 0.0.15.255
10 RouterZ(config)#acc 102 per ip 135.87.80.0 0.0.15.255
135.87.144.0 0.0.15.255
11 RouterZ(config)#acc 102 deny ip any any
12 RouterZ(config)#interface f0/0.3
13 RouterZ(config-subif)#ip acc 102 in
14 RouterZ(config-subif)#ex
15 RouterZ(config)#acc 103 per ip 135.87.96.0 0.0.15.255
135.87.32.0 0.0.15.255
16 RouterZ(config)#acc 103 per ip 135.87.96.0 0.0.15.255
135.87.160.0 0.0.15.255
17 RouterZ(config)#acc 103 deny ip any any
18 RouterZ(config)#interface f0/0.4
19 RouterZ(config-subif)#ip acc 103 in
20 RouterZ(config-subif)#ex
21 RouterZ(config)#acc 104 per ip 135.87.112.0 0.0.15.255
135.87.48.0 0.0.15.255
22 RouterZ(config)#acc 104 per ip 135.87.112.0 0.0.15.255
135.87.176.0 0.0.15.255
23 RouterZ(config)#acc 104 deny ip any any
24 RouterZ(config)#interface f0/0.5
25 RouterZ(config-subif)#ip acc 104 in
26 RouterZ(config-subif)#ex

Repetimos todo el proceso para los routers de ”X” y ”Y ”

3. Topologia de Red

6
4. Packet Tracer. Resultados

4.1. Resultado Organización A

4.2. Resultado Organización B

7
4.3. Resultado Organización C

4.4. Resultado Organización D

También podría gustarte