redes y sistemas avanzados de telecomunicaciones ii

13
[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013 REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II INFORME DE LABORATORIO TRABAJO COLABORATIVO 2 208004_5 CURSO ANDREA ESCOBAR CAMILO RAUL VILLOTA PANTOJA ESTUDIANTES PABLO GUERRA DIRECTOR DE CURSO PROGRAMA DE INGENIERIA DE TELECOMUNICACIONES UNIVERSIDAD ABIERTA Y A DISTANCIA UNAD

Upload: pedro-perez

Post on 26-Jan-2016

222 views

Category:

Documents


0 download

DESCRIPTION

La evolución de los servicios en telecomunicaciones ha logrado que tecnologías funcionales durante épocas continúen adaptándose a las necesidades actuales en donde la velocidad y calidad del servicio priman frecuentemente.La tecnología MPLS aparece como una adaptación mejorada de tecnologías como ATM, Frame Relay e incluso X.25, donde sus aplicaciones actuales como Ingeniería de tráfico (flujos de tráfico independientes para cada usuario), servicios de VPN, y aplicaciones que requieren calidad de servicio.

TRANSCRIPT

Page 1: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

INFORME DE LABORATORIO TRABAJO COLABORATIVO 2

208004_5 CURSO

ANDREA ESCOBAR CAMILO RAUL VILLOTA PANTOJA

ESTUDIANTES

PABLO GUERRA DIRECTOR DE CURSO

PROGRAMA DE INGENIERIA DE TELECOMUNICACIONES UNIVERSIDAD ABIERTA Y A DISTANCIA

UNAD

Page 2: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

INTRODUCCIÓN

La evolución de los servicios en telecomunicaciones ha logrado que tecnologías

funcionales durante épocas continúen adaptándose a las necesidades actuales en donde

la velocidad y calidad del servicio priman frecuentemente.

La tecnología MPLS aparece como una adaptación mejorada de tecnologías como ATM,

Frame Relay e incluso X.25, donde sus aplicaciones actuales como Ingeniería de tráfico

(flujos de tráfico independientes para cada usuario), servicios de VPN, y aplicaciones que

requieren calidad de servicio.

Las ventajas que podemos encontrar en esta tecnología incluyen, ahorro de costos

comparado a ATM o Frame Relay, Soporte de QoS, recuperación de desastres con enlaces

redundantes.

El presente informe de laboratorio resume e identifica cada uno de los requisitos para

configurar MPLS sobre un esquema simulado por medio del software emulador GNS3 y

bajo plataforma Cisco.

Page 3: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

OBJETIVOS

El objetivo principal de este trabajo es documentar la funcionalidad de MPLS sobre una red Cisco,

propiciando al estudiante las habilidades necesarias para la configuración de equipos con los

respectivos protocolos.

Específicos

Configurar dispositivos de enrutamiento con el protocolo OSPF

Configurar los enrutadores con el protocolo MPLS.

Configurar las características para QoS.

Page 4: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

RESUMEN

Fig1. Esquema de red GNS3

Fig2. Diagrama topológico

Page 5: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

TABLA DE CONFIGURACIONES

Configuración para IP y MPLS

MPLS4

MPLS4 # config terminal

MPLS4 (config) # ip cef

MPLS4 (config) # mpls label protocol ldp

MPLS4 (config) # mpls ip

Cuando se ha configurado el protocolo que usara el router para realizar la conmutación de

etiquetas (CEF) y su distribución LDP, se procede a realizar la configuración OSPF para poder hacer

el routing interno.

MPLS4 (config) # router ospf 1

MPLS4 (config-router) # mpls traffic-eng router-id loopback0

MPLS4 (config-router) # mpls traffic-eng area 0

MPLS4 (config-router) # network 192.168.1.1 0.0.0.0 area 0

MPLS4 (config-router) # network 192.168.3.0 0.0.0.255 area 0

MPLS4 (config-router) # exit

Page 6: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

MPLSCore

MPLSCore # config terminal

MPLSCore (config) # ip cef

MPLSCore (config) # mpls label protocol ldp

MPLSCore (config) # mpls ip

MPLSCore (config) # router ospf 1

MPLSCore (config-router) # mpls traffic-eng router-id loopback0

MPLSCore (config-router) # mpls traffic-eng area 0

MPLSCore (config-router) # network 192.168.1.2 0.0.0.0 area 0

MPLSCore (config-router) # network 192.168.4.0 0.0.0.255 area 0

MPLSCore (config-router) # exit

MPLS100

MPLS100# config terminal

MPLS100 (config) # ip cef

MPLS100 (config) # mpls label protocol ldp

MPLS100 (config) # mpls ip

MPLS100 (config) # router ospf 1

MPLS100 (config-router) # mpls traffic-eng router-id loopback0

MPLS100 (config-router) # mpls traffic-eng area 0

MPLS100 (config-router) # network 192.168.1.3 0.0.0.0 area 0

MPLS100 (config-router) # network 192.168.4.0 0.0.0.255 area 0

MPLS100 (config-router) # exit

Configuración de las interfaces de los routers

MPLS4

MPLS4 (config) # interface loopback0

MPLS4 (config-if) # ip address 192.168.1.1 255.255.255.255

MPLS4 (config-if) # exit

MPLS4 (config) # interface f0/0

MPLS4 (config-if) # ip address 192.168.2.2 255.255.255.0

MPLS4 (config-if) # no shutdown

MPLS4 (config-if) # exit

MPLS4 (config) # interface f0/1

MPLS4 (config-if) # mpls ip

MPLS4 (config-if) # ip address 192.168.3.2 255.255.255.0

MPLS4 (config-if) # no shutdown

MPLS4 (config-if) # exit

MPLS4 (config) # ip route 192.168.5.0 255.255.255.0 192.168.3.3

Page 7: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

MPLSCore

MPLSCore (config) # interface loopback0

MPLSCore (config-if) # ip address 192.168.1.2 255.255.255.255

MPLSCore (config-if) # exit

MPLSCore (config) # interface GigabitEthernet0/0

MPLSCore (config-if) # mpls ip

MPLSCore (config-if) # ip address 192.168.3.3 255.255.255.0

MPLSCore (config-if) # no shutdown

MPLSCore (config-if) # exit

MPLSCore (config) # interface GigabitEthernet0/1

MPLSCore (config-if) # mpls ip

MPLSCore (config-if) # ip address 192.168.4.3 255.255.255.0

MPLSCore (config-if) # no shutdown

MPLSCore (config-if) # exit

MPLSCore (config) # ip route 192.168.5.0 255.255.255.0 192.168.4.0

MPLSCore (config) # ip route 192.168.2.0 255.255.255.0 192.168.3.0

MPLS100

MPLS100 (config) # interface loopback0

MPLS100 (config-if) # ip address 192.168.1.3 255.255.255.255

MPLS100 (config-if) # exit

MPLS100 (config) # interface f0/0

MPLS100 (config-if) # mpls ip

MPLS100 (config-if) # ip address 192.168.4.2 255.255.255.0

MPLS100 (config-if) # no shutdown

MPLS100 (config-if) # exit

MPLS100 (config) # interface f0/1

MPLS100 (config-if) # ip address 192.168.5.2 255.255.255.0

MPLS100 (config-if) # no shutdown

MPLS100 (config-if) # exit

MPLS100 (config) # ip route 192.168.2.0 255.255.255.0 192.168.3.0

Verificando configuración en los tres routers

MPLS4# show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

ia - IS-IS inter area, * - candidate default, U - per-user static route

o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

Page 8: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

O 192.168.4.0/24 [110/11] via 192.168.3.3, 00:02:19, FastEthernet0/1

S 192.168.5.0/24 [1/0] via 192.168.3.3

S 192.168.7.0/24 [1/0] via 192.168.2.101

192.168.0.0/32 is subnetted, 3 subnets

C 192.168.0.1 is directly connected, Loopback0

O 192.168.0.2 [110/11] via 192.168.3.3, 00:02:19, FastEthernet0/1

O 192.168.0.3 [110/12] via 192.168.3.3, 00:02:19, FastEthernet0/1

C 192.168.2.0/24 is directly connected, FastEthernet0/0

C 192.168.3.0/24 is directly connected, FastEthernet0/1

MPLSCore# show ip route

Gateway of last resort is not set

C 192.168.4.0/24 is directly connected, GigabitEthernet0/1

S 192.168.5.0/24 [1/0] via 192.168.4.2

S 192.168.7.0/24 [1/0] via 192.168.3.2

192.168.0.0/32 is subnetted, 3 subnets

O 192.168.0.1 [110/11] via 192.168.3.2, 00:07:08, GigabitEthernet0/0

C 192.168.0.2 is directly connected, Loopback0

O 192.168.0.3 [110/2] via 192.168.4.2, 00:07:08, GigabitEthernet0/1

S 192.168.2.0/24 [1/0] via 192.168.3.2

C 192.168.3.0/24 is directly connected, GigabitEthernet0/0

MPLS100# show ip route

C 192.168.4.0/24 is directly connected, FastEthernet0/0

C 192.168.5.0/24 is directly connected, FastEthernet0/1

S 192.168.7.0/24 [1/0] via 192.168.4.3

192.168.0.0/32 is subnetted, 3 subnets

O 192.168.0.1 [110/12] via 192.168.4.3, 00:08:51, FastEthernet0/0

O 192.168.0.2 [110/2] via 192.168.4.3, 00:08:51, FastEthernet0/0

C 192.168.0.3 is directly connected, Loopback0

S 192.168.2.0/24 [1/0] via 192.168.4.3

O 192.168.3.0/24 [110/11] via 192.168.4.3, 00:08:51, FastEthernet0/0

Page 9: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

PRUEBAS DE CONECTIVIDAD

Configuración de Backup

EL Objetivo del router de Backup es que solo funcione cuando el router central (MPLSCore) no

pueda hacerlo, ya sea por un problema en el propio router o en alguno de sus enlaces.

MPLSB1

MPLSCore (config) # interface loopback0

MPLSCore (config-if) # ip address 192.168.1.4 255.255.255.255

MPLSCore (config-if) # exit

MPLSCore (config) # interface GigabitEthernet0/0

MPLSCore (config-if) # mpls ip

MPLSCore (config-if) # ip address 192.168.4.3 255.255.255.0

MPLSCore (config-if) # no shutdown

MPLSCore (config-if) # exit

MPLSCore (config) # interface GigabitEthernet0/1

Page 10: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

MPLSCore (config-if) # mpls ip

MPLSCore (config-if) # ip address 192.168.3.4 255.255.255.0

MPLSCore (config-if) # no shutdown

MPLSCore (config-if) # exit

MPLSCore (config) # ip route 192.168.5.0 255.255.255.0 192.168.4.0

MPLSCore (config) # ip route 192.168.2.0 255.255.255.0 192.168.3.0

MPLSCore (config) # ip route 192.168.7.0 255.255.255.0 192.168.3.0

Se utiliza el protocolo OSPF para la realización del Backup, este protocolo será el encargado de

construir la tabla de rutas.

MPLS4

MPLS4 (config-router) # network 192.168.2.0 0.0.0.255 area 0

MPLS4 (config-if) # ip route 192.168.2.100 255.255.255.0 192.168.2.101

MPLS100

MPLS100 (config-router) # network 192.168.5.0 0.0.0.255 area 0

MPLS4# show ip route

O 192.168.4.0/24 [110/2] via 192.168.3.4, 00:00:03, FastEthernet0/1

[110/2] via 192.168.3.3, 00:00:03, FastEthernet0/1

O 192.168.5.0/24 [110/3] via 192.168.3.4, 00:00:03, FastEthernet0/1

[110/3] via 192.168.3.3, 00:00:03, FastEthernet0/1

192.168.0.0/32 is subnetted, 4 subnets

C 192.168.0.1 is directly connected, Loopback0

O 192.168.0.2 [110/2] via 192.168.3.3, 00:00:03, FastEthernet0/1

O 192.168.0.3 [110/3] via 192.168.3.4, 00:00:03, FastEthernet0/1

[110/3] via 192.168.3.3, 00:00:04, FastEthernet0/1

O 192.168.0.4 [110/2] via 192.168.3.4, 00:00:04, FastEthernet0/1

192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks

S 192.168.2.100/32 [1/0] via 192.168.2.101

C 192.168.2.0/24 is directly connected, FastEthernet0/0

C 192.168.3.0/24 is directly connected, FastEthernet0/1

Page 11: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

Configuración de QoS

Definir clases de tráfico: se utiliza en comando class-map seguido de match-any o mach-all,

MPLS4 (config) # class-map match-all Ethernet

MPLS4 (config-cmap) # match dscp CS1

MPLS4 (config) # class-map match-all Wifi

MPLS4 (config-cmap) # match dscp CS2

MPLS4 (config-cmap) # end

MPLS4 (config) # class-map match-all videoEthernet

MPLS4 (config-cmap) # match mpls experimental 1

MPLS4 (config-cmap) # end

MPLS4 (config) # class-map match-all videoWifi

MPLS4 (config-cmap) # match mpls experimental 2

MPLS4 (config-cmap) # end

Definir politicas QoS: se utiliza el comando policy-map seguido del nombre de la política.

MPLS4 (config) # policy-map marcarEXP1

MPLS4 (config-pmap) # class Ethernet

MPLS4 (config-pmap) # set mpls experimental 1

MPLS4 (config-pmap) # end

MPLS4 (config) # policy-map shapeEthernet

MPLS4 (config-pmap) # class videoEthernet

MPLS4 (config-pmap) # shape peak 500000

MPLS4 (config-pmap) # end

Asignar políticas a las interfaces: se utiliza el comando service-policy.

MPLS4 (config)# interface f0/0

MPLS4 (config-if)# service-policy input marcarEXP1

MPLS4 (config-if)# exit

MPLS4 (config)# interface f0/1

MPLS4 (config-if)# service-policy output shapeEthernet

Page 12: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

Conclusiones

Esta segunda práctica de laboratorio nos ha permitido conocer más profundamente la tecnología MPLS sobre enrutadores y su funcionamiento en un ambiente simulado por la plataforma GNS3. Es importante resaltar que este tipo de emulación requiere un hardware potente para poder ejecutar al tiempo varios enrutadores Cisco con funcionalidades de enrutamiento, MPLS y QoS es por esto que no todos los integrantes del curso logramos emularlo completamente, sin embargo se logra exitosamente aplicar conocimientos sobre MPLS, OSPF y QoS.

Page 13: REDES Y SISTEMAS AVANZADOS DE TELECOMUNICACIONES II

[TRABAJO COLABORATIVO 2 INFORME DE LABORATORIO 2] 20 de Noviembre de 2013

BIBLIOGRAFIA CONFIGURATION EXAMPLES AND TECHNOTES http://www.cisco.com/en/US/tech/tk436/tk428/tech_configuration_examples_list.html

CONFIGURING BASIC MPLS USING OSPF http://www.cisco.com/en/US/tech/tk436/tk428/technologies_configuration_example09186a0080093f23.shtml

CONFIGURING MPLS QOS http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.2SX/configuration/guide/mplsqos.pdf