Clases PDF
Clases PDF
ip vrf cliente1
!
ip vrf cliente2
VRF
Virtual Routing Forwarding
interface Loopback0
ip vrf forwarding cliente1
ip address 1.1.1.3 255.255.255.255
!
interface Loopback1
ip vrf forwarding cliente2
ip address 1.1.1.4 255.255.255.255
!
interface FastEthernet0/0
ip vrf forwarding cliente1
ip address 192.168.0.1 255.255.255.252
interface FastEthernet1/0
ip vrf forwarding cliente2
ip address 192.168.0.5 255.255.255.252
interface FastEthernet2/0
ip vrf forwarding cliente1
ip address 192.168.0.9 255.255.255.252
interface FastEthernet3/0
ip vrf forwarding cliente2
ip address 192.168.0.13 255.255.255.252
VRF
Virtual Routing Forwarding
R2
router ospf 1
interface Loopback0
router-id 1.1.1.2
ip address 1.1.1.2 255.255.255.255
log-adjacency-changes
!
network 1.1.1.2 0.0.0.0 area 0
interface FastEthernet0/0
network 172.16.0.0 0.0.0.3 area 0
ip address 172.16.0.1 255.255.255.252
network 172.16.0.8 0.0.0.3 area 0
mpls ip
network 172.16.0.12 0.0.0.3 area 0
!
network 172.16.0.20 0.0.0.3 area 0
interface FastEthernet0/1
description R3
ip address 172.16.0.9 255.255.255.252
mpls ip
!
interface FastEthernet1/0
ip address 172.16.0.13 255.255.255.252
mpls ip
!
interface FastEthernet1/1
ip address 172.16.0.21 255.255.255.252
mpls ip
MPLS
R5
ip vrf cliente_1
rd 100:10
route-target export 100:10
route-target import 100:10
!
ip vrf cliente_2
rd 200:20
route-target export 200:20
route-target import 200:20
MPLS
R5
interface Loopback0
ip address 1.1.1.5 255.255.255.255
!
interface FastEthernet0/0
ip address 172.16.0.2 255.255.255.252
mpls ip
!
interface FastEthernet0/1
ip vrf forwarding cliente_1
ip address 192.168.0.1 255.255.255.252
!
interface FastEthernet1/0
ip vrf forwarding cliente_2
ip address 192.168.0.5 255.255.255.252
interface FastEthernet1/1
ip address 172.16.0.18 255.255.255.252
mpls ip
MPLS
R5
router ospf 1
router-id 1.1.1.5
log-adjacency-changes
network 1.1.1.5 0.0.0.0 area 0
network 172.16.0.0 0.0.0.3 area 0
MPLS
R5
R5
R5
R5#show bgp vpnv4 unicast all
BGP table version is 29, local router ID is 1.1.1.5
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete