Escolar Documentos
Profissional Documentos
Cultura Documentos
GBP-MPLS-VPNV4-OSPF
CONFIGURACIN OSPF
R4
router ospf 10
router-id 10.10.10.100
log-adjacency-changes
network 10.10.10.0 0.0.0.3 area 0
network 10.10.10.4 0.0.0.3 area 0
network 10.10.10.100 0.0.0.0 area 0
R3
router ospf 10
router-id 10.10.10.101
log-adjacency-changes
network 10.10.10.0 0.0.0.3 area 0
network 10.10.10.101 0.0.0.0 area 0
R5
router ospf 10
router-id 10.10.10.102
log-adjacency-changes
network 10.10.10.4 0.0.0.3 area 0
network 10.10.10.102 0.0.0.0 area 0
MPLS - OSPF
R3
mpls ip
IP cef
mpls label protocol ldp
interface Serial0/2
ip address 10.10.10.1 255.255.255.252
mpls label protocol ldp
mpls ip
exit
R4
mpls ip
IP cef
mpls label protocol ldp
interface Serial0/1
ip address 10.10.10.6 255.255.255.252
mpls label protocol ldp
mpls ip
exit
interface Serial0/0
ip address 10.10.10.2 255.255.255.252
mpls label protocol ldp
mpls ip
exit
R5
mpls ip
IP cef
mpls label protocol ldp
interface Serial0/0
ip address 10.10.10.5 255.255.255.252
mpls label protocol ldp
mpls ip
exit
R3
router bgp 1
no auto-summary
no synchronization
neighbor 10.10.10.102 remote-as 1
neighbor 10.10.10.102 update-source Loopback0
address-family vpnv4
neighbor 10.10.10.102 activate
neighbor 10.10.10.102 send-community extended
R5
router bgp 1
no synchronization
no auto-summary
neighbor 10.10.10.101 remote-as 1
neighbor 10.10.10.101 update-source Loopback0
address-family vpnv4
neighbor 10.10.10.101 activate
neighbor 10.10.10.101 send-community extended
Show ip bgp summary
Show ip bgp vpnv4 all summary
CONFIGURACIN VRF
R3
ip vrf SITIO_A
rd 1:100
route-target 1:100
exit
ip vrf SITIO_B
rd 1:200
route-target 1:200
exit
interface Serial0/0
ip vrf forwarding SITIO_A
ip address 172.16.1.1 255.255.255.252
exit
interface Serial0/1
ip vrf forwarding SITIO_B
ip address 192.168.1.1 255.255.255.252
exit
router bgp 1
address-family ipv4 vrf SITIO_B
neighbor 192.168.1.2 remote-as 65001
neighbor 192.168.1.2 activate
no synchronization
exit
R5
ip vrf SITIO_A
rd 1:100
route-target 1:100
exit
ip vrf SITIO_B
rd 1:200
route-target 1:200
exit
interface Serial0/1
ip vrf forwarding SITIO_A
ip address 172.16.2.1 255.255.255.252
exit
interface Serial0/2
ip vrf forwarding SITIO_B
ip address 192.168.2.1 255.255.255.252
exit
router bgp 1
address-family ipv4 vrf SITIO_B
neighbor 192.168.2.2 remote-as 65001
neighbor 192.168.2.2 activate
no synchronization
exit
CONFIGURACIN SITIOS
R1
router bgp 65001
no synchronization
no auto-summary
network 172.16.10.0 mask 255.255.255.0
network 172.16.11.0 mask 255.255.255.0
network 172.16.12.0 mask 255.255.255.0
neighbor 172.16.1.1 remote-as 1
exit
R6
router bgp 65002
no synchronization
no auto-summary
network 172.16.20.0 mask 255.255.255.0
network 172.16.21.0 mask 255.255.255.0
network 172.16.22.0 mask 255.255.255.0
neighbor 172.16.2.1 remote-as 1
exit
VERIFICAR EN LOS CE
show ip bgp
show ip bgp summary
VERIFICAS EN LOS PE
Show ip vpnv4 all
Show ip vpnv4 all summary
PRUEBAS
Ping Ip Detindo source ip Origen
R2
router bgp 65001
no synchronization
no auto-summary
network 192.168.10.0
network 192.168.11.0
network 192.168.12.0
neighbor 192.168.1.1 remote-as 1
R7
router bgp 65001
no synchronization
no auto-summary
network 192.168.20.0
network 192.168.21.0
network 192.168.22.0
neighbor 192.168.2.1 remote-as 1
VERIFICAR EN LOS CE
show ip bgp
show ip bgp summary
VERIFICAS EN LOS PE
Show ip vpnv4 all
Show ip vpnv4 all summary
PRUEBAS
Ping Ip Detindo source ip Origen