You are on page 1of 8

DISENO DE REDES (PRACTICA CLASES)

PASO 1

Configuracin de protocolo OSPF AS=65512 en R1, R2, R3, R4 y R5. + Loopback como Router-ID.

#router ospf 65512


#router-id 1.1.1.1
#network 0.0.0.0 wirldcard 0.0.0.0 area 0

Nota: En el comando Router-id se usa como numero ID la loopback.


PASO 2

Configuracin de MPLS en R1, R2, R3, R4 y R5 en cada una de sus interfaces.

Nota: En R1 solo se configura MPLS en la interface g0/0 y en R5 solo en la interface g1/0.

#ip cef

#mpls label protocol ldp

#mpls ldp Router-id loopback 0

#int gi0/0

#mpls ip

Nota: En el comando mpls ldp Router-id loopback 0, el loopback es el que se haya usado, en
este caso la loopback 0.

Nota: En el comando int gi0/0, va la interface que se quiere o esta configurando.


PASO 3:

Configuracin de protocolo BGP en R1 y R5.

EN R1
R1(config)# router bgp 65512

R1(config)# neighbor 5.5.5.5 remote-as 65512

R1(config)# neighbor 5.5.5.5 update-source loopback 0

EN R5
R5(config)# router bgp 65512

R5(config)# neighbor 1.1.1.1 remote-as 65512

R5(config)# neighbor 1.1.1.1 update-source loopback 0

#show mpls forwarding-table


PASO 4

Creacin de la VRF en R1 en la interface gi1/0 (la interface que va hacia el cliente 1) y en R5


interface gi0/0 (la interface que va hacia el cliente 2).

EN R1

#ip vrf DAT1155

#rd 65512:1155

#route-target export 65512:1155

#route-target import 65512:1155

#interface gi1/0

#ip vrf forwarding DAT1155

EN R5

#ip vrf DAT1155

#rd 65512:1155

#route-target export 65512:1155

#route-target import 65512:1155

#interface gi0/0

#ip vrf forwarding DAT1155


PASO 5

Configuracin de RIP versin 2 en RC1 (Router Cliente 1) y EIGRP 1 en RC2 (Router Cliente 2).

RIP versin 2

#router rip

#version 2

#no auto-summary

#network 192.168.3.0

#network 192.168.1.0

#end

EIGRP

#router eigrp 1

#no auto-summary

#network 192.168.4.0 0.0.0.255

#network 192.168.2.0 0.0.0.255

#end
PASO 6

Configuracin de VRF Router en RC1 y en RC5.

EN RC1

#router rip

#version 2

#address-family ipv4 vrf DAT1155

#network 192.168.3.0

#no auto-summary

#end

EN RC2

#router eigrp 65512

#no auto-summary

# address-family ipv4 vrf DAT1155

#network 192.168.4.0 0.0.0.255

#autonomous-system 1

#end
PASO 7

Configuracin de Redistribucin de rutas.

Redistribuimos BGP dentro del protocolo RIP.

#router rip

#version 2

#address-family ipv4 vrf

#redistribute bgp 65512 metric 1

#exit

Redistribuimos RIP dentro del protocolo BGP.

#router bgp 65512

#address-family vpnv4

#neighbor 5.5.5.5 activate

#neighbor 5.5.5.5 send-community both

#address-family ipv4 vrf

#redistribute rip

#end

Redistribuimos BGP dentro del protocolo EIGRP.

#router eigrp 65512

#address-family ipv4

#redistribute bgp 65512 metric 10000 100 255 1 1500

#exit

Redistribuimos EIGRP dentro del protocolo BGP.

#router bgp 65512

#address-family vpnv4

#neighbor 1.1.1.1 activate

#neighbor 1.1.1.1 send-community both

#address-family ipv4 vrf

#redistribute eigrp 1

#end
EJECUTAR EL COMANDO no mpls ip propagate-ttl en R1 y R5, para que se vean como routers
vecinos RC1 y RC2 y al hacer un TRACER no se vean las rutas internas de AS 65512.

#no mpls ip propagate-ttl

You might also like