Documentos de Académico
Documentos de Profesional
Documentos de Cultura
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:
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
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.