You are on page 1of 6

1.

- MPLS
2.- Cliente
3.- VPLS

Conf. MPLS
PE10 - Lado izquierdo
----------------------------------------
int lo0
ip add 186.0.0.1 255.255.255.255 - la Lo0 que aparece ahi
!
int gi2/0
no shut
ip add 10.232.0.1 255.255.255.252
!
router ospf 123 - para ospf
router-id 186.0.0.1
netw 186.0.0.1 0.0.0.0 area 0
netw 10.232.0.0 0.0.0.3 area 0
!
int gi2/0
ip ospf netw point-to-point

-NUCLEO1------------------------------------------------

int lo0
ip add 183.0.0.1 255.255.255.255
!
int gi2/0
no shut
ip add 10.232.0.2 255.255.255.252 - mascara 30
!
int g1/0
no shut
ip add 10.232.1.1 255.255.255.252
!
router ospf 123
router-id 183.0.0.1
netw 183.0.0.1 0.0.0.0 area 0
netw 10.232.0.0 0.0.0.3 area 0
netw 10.232.1.0 0.0.0.3 area 0
!
int gi2/0
ip ospf netw point-to-point
!
int gi1/0
ip ospf netw point-to-point

-NUCLEO2------------------------------------------------

int lo0
ip add 151.0.0.1 255.255.255.255
!
int gi2/0
no shut
ip add 10.232.1.2 255.255.255.252 - mascara 30
!
int g3/0
no shut
ip add 10.232.2.1 255.255.255.252
!
router ospf 123
router-id 151.0.0.1
netw 151.0.0.1 0.0.0.0 area 0
netw 10.232.1.0 0.0.0.3 area 0
netw 10.232.2.0 0.0.0.3 area 0
!
int gi2/0
ip ospf netw point-to-point
!
int gi3/0
ip ospf netw point-to-point

-PE5------------------------------------------------

int lo0
ip add 173.0.0.1 255.255.255.255
!
int gi3/0
no shut
ip add 10.232.2.2 255.255.255.252
!
router ospf 123
router-id 173.0.0.1
netw 173.0.0.1 0.0.0.0 area 0
netw 10.232.2.0 0.0.0.3 area 0
!
int gi3/0
ip ospf netw point-to-point

CONFIGURAR MPLS EN PE10 - LADO IZQ


LOS DOS PRIMEROS COMANDOS SE PEGAN EN TODOS - SOLO CAMBIAN LAS INTERFACES
mpls label protocol ldp
mpls ldp router-id lo0 force
int gi2/0
mpls ip
!
int gi1/0
mpls ip

-----------------------------
CONF. BGP Y VPN BGP
ROUTER BORDES

PE10
router bgp 123
bgp router-id 186.0.0.1
neigh 173.0.0.1 remote 123
neig 173.0.0.1 update-source lo0
!
address-family vpnv4
neigh 173.0.0.1 activate
neigh 173.0.0.1 send-comm both
PE5
router bgp 123
bgp router-id 173.0.0.1
neigh 186.0.0.1 remote 123
neig 186.0.0.1 update-source lo0
!
address-family vpnv4
neigh 186.0.0.1 activate
neigh 186.0.0.1 send-comm both

show ip bgp neigh l inc BGP


show ip bgp neigh l inc VPN

--------------------------------------------
CONFIGURAR CLIENTE
SWITCH 1 - VLAN 10 ACCESS
PORT 2 - VLAN 20 ACCESS
PORT 8 - VLAN 1 TYPE DOT1Q ADD

---------------------------------------------------
CONF CLIENTE

INACAP-SSUR

int g1/0
no shut
ip add 10.232.0.1 255.255.255.252
!
int lo0
ip add 10.255.255.1 255.255.255.255
!
int lo1
ip add 192.168.1.1 255.255.255.0
!
int lo2
ip add 172.16.1.1 255.255.255.0
!
router eigrp 52
eigrp router-id 10.255.255.1
netw 10.255.255.1 0.0.0.0
netw 10.232.0.0 0.0.0.3
netw 192.168.1.0 0.0.0.255
netw 172.16.1.0 0.0.0.255
no auto-summary

INACAP- CENTRO

int g1/0
no shut
ip add 10.232.0.2 255.255.255.252
!
int lo0
ip add 10.255.255.4 255.255.255.255
!
int lo1
ip add 192.168.100.1 255.255.255.0
!
int lo2
ip add 172.16.100.1 255.255.255.0
!
router eigrp 52
eigrp router-id 10.255.255.4
netw 10.255.255.4 0.0.0.0
netw 10.232.0.0 0.0.0.3
netw 192.168.100.0 0.0.0.255
netw 172.16.100.0 0.0.0.255
no auto-summary

------------------------------------------------------------
FALABELLA

int g1/0
no shut
ip add 10.232.0.1 255.255.255.252
!
int lo0
ip add 10.255.255.2 255.255.255.255
!
int lo1
ip add 192.168.1.1 255.255.255.0
!
int lo2
ip add 172.16.1.1 255.255.255.0
!
router ospf 10
router-id 10.255.255.2
netw 10.255.255.2 0.0.0.0 area 0
netw 10.232.0.0 0.0.0.3 area 0
netw 192.168.1.0 0.0.0.255 area 0
netw 172.16.1.0 0.0.0.255 area 0

FALABELLA-ADM

int g1/0
no shut
ip add 10.232.0.2 255.255.255.252
!
int lo0
ip add 10.255.255.5 255.255.255.255
!
int lo1
ip add 192.168.100.1 255.255.255.0
!
int lo2
ip add 172.16.100.1 255.255.255.0
!
router ospf 10
router-id 10.255.255.5
netw 10.255.255.5 0.0.0.0 area 0
netw 10.232.0.0 0.0.0.3 area 0
netw 192.168.100.0 0.0.0.255 area 0
netw 172.16.100.0 0.0.0.255 area 0
--------------------------------------------------------------
FARMACIAS
int g1/0
no shut
ip add 10.232.0.1 255.255.255.252
!
int lo0
ip add 10.255.255.3 255.255.255.255
!
int lo1
ip add 192.168.1.1 255.255.255.0
!
int lo2
ip add 172.16.1.1 255.255.255.0

IP ROUTE 10.255.255.6 255.255.255.255 10.232.0.2


IP ROUTE 192.168.100.0 255.255.255.255 10.232.0.2
IP ROUTE 172.16.100.0 255.255.255.255 10.232.0.2

FARMACIAS-DC
int g1/0
no shut
ip add 10.232.0.2 255.255.255.252
!
int lo0
ip add 10.255.255.6 255.255.255.255
!
int lo1
ip add 192.168.100.1 255.255.255.0
!
int lo2
ip add 172.16.100.1 255.255.255.0

IP ROUTE 10.255.255.3 255.255.255.255 10.232.0.1


IP ROUTE 192.168.1.0 255.255.255.255 10.232.0.1
IP ROUTE 172.16.1.0 255.255.255.255 10.232.0.1

-----------------------------------------------------------------------------------
CONFI VPLS
INT QUE VA A LOS CLIENTES

PE10

int g1/0
no shut
!
int g1/0.10
enc dot 10
desc ***TUNNEL_VPLS_INACAP-CENTRO***
xconn 173.0.0.1 10 enc mpls
!
int g1/0.20
enc dot 20
desc ***TUNNEL_VPLS_FALABELLA-ADM***
xconn 173.0.0.1 20 enc mpls
!
int g1/0.30
enc dot 30
desc ***TUNNEL_VPLS_FARMACIAS-DC***
xconn 173.0.0.1 30 enc mpls

PE5

int g1/0
no shut
!
int g1/0.10
enc dot 10
desc ***TUNNEL_VPLS_INACAP-SSUR***
xconn 186.0.0.1 10 enc mpls
!
int g1/0.20
enc dot 20
desc ***TUNNEL_VPLS_FALABELLA***
xconn 186.0.0.1 20 enc mpls
!
int g1/0.30
enc dot 30
desc ***TUNNEL_VPLS_FARMACIAS***
xconn 186.0.0.1 30 enc mpls

SHOW XCONN ALL

ping 192.168.100.1 sour lo0

You might also like