Escenario:
Un Cliente en nuestra RED
MPLS al cual le prestamos el servicio de datos por
VPN con
UK(ultimo kilómetro) en Fibra Óptica (Metro Ethernet) y le suministramos un
backup en Cobre
Framrealy desde otro PE de la nube
MPLS.

Configurar
OSPF en los PE involucrados obtenemos adyacencia con el cliente.
ROUTER CLIENTE!
interface Loopback100
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/0
description Datos_
PPALip address 192.168.0.2 255.255.255.252
ip ospf cost 50speed 100
full-
duplex!
!
interface Serial1/0.16
point-
to-
pointdescription Datos_
BKip address 192.168.0.6 255.255.255.252
ip ospf cost 100frame-
relay interface-
dlci 16
!
!
router ospf 100
log-
adjacency-
changes area 10 stub no-summarynetwork 192.168.0.0 0.0.0.255
area 10
network 192.168.1.0 0.0.0.255
area 10
!
Neighbor ID
Pri State Dead Time
Address Interface192.168.100.22 0
FULL/ - 00:00:34 192.168.0.5
Serial1/0.16
192.168.100.11 1
FULL/
DR 00:00:35 192.168.0.1
FastEthernet0/0
ROUTER PE1_BOGinterface FastEthernet1/0.100
description datos
encapsulation dot1Q 100
ip vrf forwarding datos
ip address 192.168.0.1 255.255.255.252
ip ospf cost 50!
router ospf 100
vrf datos
log-
adjacency-
changes area 10 stub no-summarynetwork 192.168.0.0 0.0.0.3
area 10
!
address-
family ipv4
vrf datos
redistribute connected redistribute ospf 100 vrf datos metric 1 match internal external 1 external 2Neighbor ID
Pri State Dead Time
Address Interface192.168.1.1 1
FULL/
BDR 00:00:32 192.168.0.2
FastEthernet1/0.100
ROUTER PE2_BQA!
interface Serial0/0.216
point-
to-
pointdescription datos_
bkip vrf forwarding datos
ip address 192.168.0.5 255.255.255.252
ip ospf cost 100frame-
relay interface-
dlci 216
router ospf 100
vrf datos
log-
adjacency-
changes area 10 stub no-summarynetwork 192.168.0.4 0.0.0.3
area 10
address-
family ipv4
vrf datos
redistribute connected
redistribute ospf 100 vrf datos metric 1 match internal external 1 external 2no
synchronizationexit-
address-
familyNeighbor ID
Pri State Dead Time
Address Interface192.168.1.1 0
FULL/ - 00:00:37 192.168.0.6
Serial0/0.216
Con esta
informacion nos damos cuenta del primer problema el PE1-
BOG y el PE2-
BQA no tienen adyacencia.
revisando las tablas de
ruteo nos encontramos con otro problema.
PE1-BOG 192.168.0.0/30
is subnetted, 3
subnetsB 192.168.0.8 [200/0]
via 192.168.255.233, 01:26:23
C 192.168.0.0
is directly connected,
FastEthernet1/0.100
O 192.168.0.4 [110/150] via 192.168.0.2, 00:09:01, FastEthernet1/0.100 192.168.1.0/32
is subnetted, 1
subnetsO 192.168.1.1 [110/51] via 192.168.0.2, 00:09:01, FastEthernet1/0.100 192.168.100.0/32
is subnetted, 2
subnetsB 192.168.100.222 [200/0]
via 192.168.255.222, 00:13:47
C 192.168.100.211
is directly connected,
Loopback100
PE2-BQA 192.168.0.0/30
is subnetted, 3
subnetsB 192.168.0.8 [200/0]
via 192.168.255.233, 01:27:31
O 192.168.0.0 [110/150] via 192.168.0.6, 00:09:56, Serial0/0.216C 192.168.0.4
is directly connected,
Serial0/0.216
192.168.1.0/32
is subnetted, 1
subnetsO 192.168.1.1 [110/101] via 192.168.0.6, 00:09:56, Serial0/0.216 192.168.100.0/32
is subnetted, 2
subnetsC 192.168.100.222
is directly connected,
Loopback100
B 192.168.100.211 [200/0]
via 192.168.255.211, 00:14:39
Lo rojo nos muestra que ambos PE tienen rutas hacia la
lan del CLIENTE por medio de las
WAN y lo Naranja que los PE se descubren en
OSPF por medio del
router del cliente.

De esta forma si un paquete llegara al Cliente desde PE1-
BOG este se
enviaria directamente al cliente y el cliente
responderia enviando el paquete a PE1-
BOG, Pero si el paquete pasara por PE2-
BQA hacia el cliente el PE2-
BQA tambien lo
enviaria directo al Cliente, pero este lo
devolveria por PE1-
BOG.
Que pasa si el
PPAL se
shutdown , entra el
Backup?
Si , pero en los
PEs no hubo cambio solo en el cliente que su
gateway es ahora el PE2-
BAQ , ya que se
perdio conectividad por PE1-
BOGEsto nos
puede traer
inconvenientes en nuestro proceso
OSPF pudiendo quedar bloqueado, cuando s realiza el
calculo de la red.
Para evitar estos
invconvenientes se debe crear un
sham-
link para crear la
adyacenciaentre los dos PE
Para solucionar el problema se trabaja con
sham-link----------------------------------------------------------------
para ello formamos un
Link fantasma para unir
nuestra area creando
adyacencia entre los dos PE
ROUTER PE1_BOGinterface loopback 100
description sham-
linkip vrf forwarding datos
ip address 10.1.1.1 255.255.255.252
router ospf 100
vrf datos
log-
adjacency-
changesarea 10 sham-link 10.1.1.1 10.2.2.2 cost 10redistribute bgp 65000 subnets area 10 stub no-summarynetwork 192.168.0.0 0.0.0.3
area 10
!
Neighbor ID
Pri State Dead Time
Address Interface10.2.2.2 0
FULL/ - - 10.2.2.2
OSPF_
SL6
192.168.1.1 1
FULL/
DR 00:00:38 192.168.0.2
FastEthernet1/0.100
ROUTER PE2_BQA!
interface loopback 100
description sham-
link ip vrf forwarding datos
ip address 10.2.2.2 255.255.255.252
router ospf 100
vrf datos
log-
adjacency-
changesarea 10 sham-link 10.2.2.2 10.1.1.1 cost 10redistribute bgp 65000 subnets area 10 stub no-summarynetwork 192.168.0.4 0.0.0.3
area 10
Neighbor ID
Pri State Dead Time
Address Interface10.1.1.1 0
FULL/ - - 10.1.1.1
OSPF_
SL4
192.168.1.1 0
FULL/ - 00:00:38 192.168.0.6
Serial0/0.216