Está en la página 1de 8

TECNOLOGAS DE REDES DE BANDA ANCHA Y CALIDAD DE SERVICIO Mdulo II

LABORATORIO II
MPLS VPN BSICO
a) ESCENARIO.
El proveedor de servicios "StoryTellers" se encuentra preocupado por el bajo rendimiento, antes de que
le permita ver su nodo central MPLS en produccin. Empleando VPN MPLS es posible enviar rutas del
cliente sobre la red del proveedor. OSPF ser configurado en el dominio del proveedor del servicio
(Enrutadores SP1, SP2 y SP3), el cliente emplear EIGRP.
b) OBJETIVOS.
Todas las direcciones IP fueron pre configuradas en base a la siguiente topologa:

1. Configurar las direcciones IP como se especifican en la topologa.

2. Configurar una interfaz Loopback0 en cada enrutador:


HQ: 1.1.1.1 /25
SP1: 2.2.2.2 /25
SP2: 3.3.3.3 /25
SP3: 4.4.4.4 /25
BRANCH: 5.5.5.5 /25
3. Configurar el OSPF rea 0 del lado del proveedor (Enrutadores SP1, SP2 y SP3).
4. Anuncie la interfaces Loopback tambin en OSPF.
5. Asegure que se tenga la accesibilidad completa en el dominio OSPF.
6. Configure MPLS sobre todas las interfaces fsicas en el dominio del proveedor del servicio, no
configure MPLS en las interfaces fsicas sealadas para el cliente.
7. Obligue a MPLS a que emplee la interfaz de Loopback como router-id.
8. Configure VRF cliente en el SP1 y SP3 como sigue:
RD 100:1
Route-target both 1:100
9. En el enrutador SP1 y SP3 aada las interfaces pointing towars del cliente para el VRP creado.
10. Asegurese que pueda enviar paquetes ping desde dentro deVRF, intente esto en el SP1:
Ping vrf customer 192.168.45.4
11. Configure EIGRP AS 100 en el enrutador HQ y Branch. Publique tambin los Loopbacks.
12. Deshabilite EIGRP auto-summary.
13. Configure EIGRP en el enrutador SP1 y SP3 para el correcto VRF customer.
14. Asegure que est establecida la relacin de vecino EIGRP entre el enrutador HQ y SP1, y entre
SP3 y Branch.
15. Vea si tiene aprendidas las rutas empleando show ip route vrf customer.
16. Configure BGP AS1 entre el enrutador SP1 y SP3, asegrese de la actualizacin son generadas
desde la interface Loopback.
17. Configure la familia correcta de direcciones BGP y asegrese que las comunidades sean enviadas
entre vecinos.
18. Redistribuya EIGRP en BGP, use la correcta address family para VRF customer.
19. Redistribuya la informacin de retorno desde BGP en EIGRP, use la siguientes mtricas:
Bandwidth: 64kbps
Delay: 1000
Reliability: 255
Load: 1
MTU: 1500
20. Asegrese de tener una completa conectividad entre el enrutador HQ y Branch. Debera ver
otras rutas EIGRP que tengan el mismo transporte ofrecido por el proveedor de servicio MPLS.
21. Opcional: Remplace el EIGRP del cliente con OSPF / RIP o BRP y alcance el mismo resultado.
IOS:
c3640-jk9o3s-mz.124-16.bin

c) Desarrollo.
1. Configurar el OSPF rea 0 del lado del proveedor (Enrutadores SP1, SP2 y SP3).
En SP1
SP1# config terminal
SP1(config)# int f0/0
SP1(config-if)#do show ip int brief
SP1(config-if)# router ospf 1
SP1(config-router)#network 192.168.23.0 0.0.0.255 area 0
SP1(config-router)# network 2.2.2.0 0.0.0.255 area 0
SP1(config-router)# passive-interface fastEthernet 1/0
En SP2
SP2(config)# do show int brief
SP2(config)# router ospf 1
SP2(config-router)# network 192.168.23.0 0.0.255 area 0
SP2(config-router)# network 192.168.34.0 0.0.0.255 area 0
SP2(config-router)#^Z
SP2# show ip ospf nei /*Debera presentarse los routers vecinos
SP2# show ip int brief
En SP3
SP3(config)# do show int brief
SP3(config)# router ospf 1
SP3(config-router)# network 192.168.34.0 0.0.255 area 0
SP3(config-router)# network 4.4.4.0 0.0.0.255 area 0
SP3(config-router)# passive-interface f0/0
SP3(config-router)#^Z
Antes de pasar al siguiente punto debe verificar el buen funcionamiento de OSPF
SP1# ping 4.4.4.4 source loopback 0
SP1# ping 3.3.3.3 source loopback 0
2. Configure MPLS sobre todas las interfaces fsicas en el dominio del proveedor del servicio, no
configure MPLS en las interfaces fsicas sealadas para el cliente.
En SP1
SP1(config)#do show ip int brief
SP1(config)# int f0/0
SP1(config-if)# mpls ip
En SP2
SP1(config)#do show ip int brief

SP2(config)# int f0/0


SP2(config-if)# mpls ip
SP2(config-if)# int f1/0
SP2(config-if)# mpls ip
En SP3
SP3(config)#do show ip int brief
SP3(config)# int f1/0
SP3(config-if)# mpls ip
SP3(config-if)# ^Z
En SP2
SP2#show mpls interfaces /* las interfaces deben utilizar ldp
SP2#show mpls forwarding table /* muestra las tablas de direccionamiento mpls
En SP1
SP1(config-if)# do show ip int l0 /* se aprecia una mascara /24 en l0
SP1(config-if)# int l0
SP1(config-if)# ip ospf network point-to-point
Ejecutar en todos los routers.
En SP2
SP2# show mpls forwarding-table /* debera apreciarse las redes actualizadas a /24
3. Obligue a MPLS a que emplee la interfaz de Loopback como router-id.
En SP1
SP1(config)#mpls ldp router-id loopback 0
En SP2
SP2(config)#mpls ldp router-id loopback 0
En SP3
SP3(config)#mpls ldp router-id loopback 0
4. Configure VRF CUSTOMER en el SP1 y SP3 como sigue:
RD 100:1
Route-target both 1:100
En SP1
SP1(config)# ip vrf CUSTOMER
SP1(config-vrf)# rd 100:1

SP1(config-vrf)# route-target 1:100


SP1(config-vrf)# route-target both 1:100
SP1(config-vrf)# exit
SP1(config)# int f0/0
SP1(config-if)# no ip vrf forwarding CUSTOMER
SP1(config-if)# ip address 192.168.23.2 255.255.255.0
SP1(config-if)# int f1/0
SP1(config-if)# no ip vrf forwarding CUSTOMER
SP1(config-if)# ip address 192.168.12.2 255.255.255.0
SP1(config-if)# do show run /* verificar que este declarado ip vrf CUSTOMER
En SP3
SP3(config)# ip vrf CUSTOMER
SP3(config-vrf)# rd 100:1
SP3(config-vrf)# route-target export 1:100
SP3(config-vrf)# route-target import 1:100
SP3(config-vrf)# ^Z
SP3# show ip int
SP3(config)# int f0/0
SP3(config-if)# ip vrf forwarding CUSTOMER
SP3(config-if)# ip address 192.168.45.4 255.255.255.0
SP3(config-if)#^Z
En SP1
SP1# show ip int brief
SP1# ping 192.168.12.2 /* No debera ser exitoso
SP1# pint vrf CUSTOMER 192.168.12.2 /* Debera ser exitoso
En SP3
SP3# pint vrf CUSTOMER 192.168.45.5 /* Debera ser exitoso
5. Configure EIGRP AS 100 en el enrutador HQ y Branch. Publique tambin los Loopbacks.
En HQ
HQ(config)# router eigrp 100
HQ(config-router)# network 192.168.12.0
HQ(config-router)# no auto-summary
En BRANCH
BRANCH(config)# router eigrp 100

BRANCH (config-router)# network 192.168.45.0


BRANCH (config-router)# network 5.5.5.0
BRANCH (config-router)# no auto-summary
6. Configure EIGRP en el enrutador SP1 y SP3 para el correcto VRF customer.
En SP3
SP3# config t
SP3(config)# router eigrp 1
SP3(config-router)# address family ipv4 vrf CUSTOMER
SP3(config-router-af)# autonomous system 100
SP3(config-router-af)# network 192.168.45.0
SP3(config-router-af)# no auto-summary
SP3(config-router-af)#^Z
SP3# show ip eigrp 1 neighbors /*no debera verse ningn proceso
SP3# show ip eigrp vrf CUSTOMER neighbors /* deberan verse procesos
SP3# show ip route /* se ven las rutas OSPF del proveedor
SP3# show ip route vrf CUSTOMER /* se ven las rutas EIGRP del cliente
En SP1
SP1# conf t
SP1(config)# router eigrp 1
SP1(config-router)# address family ipv4 vrf CUSTOMER
SP1(config-router-af)# autonomous system 100
SP1(config-router-af)# network 192.168.12.0
SP1(config-router-af)# no auto-summary
SP1(config-router-af)# exit-address-family
SP1(config-router-af)#^Z
En HQ
HQ# config t
HQ(config)# router eigrp 100
HQ(config-router)# no auto-summary
HQ(config-router)# network 192.168.12.0
HQ(config-router)# network 1.1.1.0
HQ(config-router)#^Z
/* Verificar que la interface Fastehternet 0/0 este activa.
En SP1
SP1# show ip route vrf CUSTOMER /* Debe verse el protocolo EIGRP del cliente

7. Configure BGP AS1 entre el enrutador SP1 y SP3, asegrese de la actualizacin son generadas
desde la interface Loopback.
En SP1
SP1# config t
SP1(config)# router bgp 1
SP1(config-router)# neighbor 4.4.4.4 remote-as 1
SP1(config-router)# neighbor 4.4.4.4 update source loopback 0
En SP3
SP3# config t
SP3(config)# router bgp 1
SP3(config-router)# neighbor 2.2.2.2 remote-as 1
SP3(config-router)# neighbor 2.2.2.2 update source loopback 0
SP3(config-router)# ^Z
SP3# pint 2.2.2.2 /*debera ser satisfactorio
8. Configure la familia correcta de direcciones BGP y asegrese que las comunidades sean enviadas
entre vecinos.
En SP1
SP1# config t
SP1(config)# router bgp 1
SP1(config-router)# address-family vpn4
SP1(config-router-af)# neighbor 4.4.4.4 active
SP1(config-router-af)# neighbor 4.4.4.4 send-community both
En SP3
SP3# config t
SP3(config)# router bgp 1
SP3(config-router)# address-family vpn4
SP3(config-router-af)# neighbor 2.2.2.2 active
SP3(config-router-af)# neighbor 2.2.2.2 send-community extended
9. Redistribuya EIGRP en BGP, use la correcta address family para VRF customer.
En SP1
SP1# config t
SP1(config)# router eigrp 1
SP1(config-router)# address family ipv4 vrf CUSTOMER
SP1(config-router)# redistribute bgp 1
SP1(config-router)# redistribute bgp 1 metric 1500 4000 200 10 1500

SP1(config-router)# ^Z
SP1# config t
SP1(config)# router bgp 1
SP1(config-router)# address family ipv4 vrf CUSTOMER
SP1(config-router-af)# redistribute eigrp 100
En SP3
SP3# config t
SP3(config)# router eigrp 1
SP3(config-router)# address family ipv4 vrf CUSTOMER
SP3(config-router-af)#redistribute bgp 1 metric 1500 400 20 20 1500
SP3(config-router-af)# router bgp 1
SP3(config-router)# address family ipv4 vrf CUSTOMER
SP3(config-router-af)# redistribute eigrp 100
SP3(config-router-af)#^Z
SP3# show ip vfr CUSTOMER /* Deberan verse las coneciones BGP e EIGRP
10. Redistribuya la informacin de retorno desde BGP en EIGRP, use la siguientes mtricas:
Bandwidth: 64kbps
Delay: 1000
Reliability: 255
Load: 1
MTU: 1500
11. Asegrese de tener una completa conectividad entre el enrutador HQ y Branch. Debera ver
otras rutas EIGRP que tengan el mismo transporte ofrecido por el proveedor de servicio MPLS.
En BRANCH
BRANCH# show ip route /* Debera verse la conexin EIGRP
BRANCH# ping 1.1.1.1 source loopback 0

d) PRCTICA
Remplace el EIGRP del cliente con OSPF / RIP o BGP y alcance el mismo resultado.

También podría gustarte