cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
743
Views
0
Helpful
2
Replies

Redistribution from Global to VRF

lakshman.yvv
Level 1
Level 1

Hi,
I am trying to do a Redistribution from Global routing table to VRF routing table. 

I can see redistributed routes on my edge routers, however i can not ping. 

Configurations are attached to this message. 

Any suggestions will be highly appreciated.

Thanks! 

 

2 Replies 2

sergiudaniluk
Level 1
Level 1

Hello,

You have to add this to your config on the router where you make the redistribution:

 

ip vrf I

    rd 1000:11

    route-target import 1000:11

    route-target export 1000:11

 

Best regards,

Sergiu

Hi Sergiu,

Thanks for reply i tried but didnt work. However i can see redistributed routes learned by edge routers. 

Here is my router config.

R2#show run
Building configuration...

Current configuration : 2083 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
ip vrf I
 rd 1000:11
 route-target export 1000:11
 route-target import 1000:11
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
interface FastEthernet0/0
 ip address 172.16.8.10 255.255.255.248
 duplex auto
 speed auto
!
interface Serial0/0
 no ip address
 shutdown
 clock rate 2000000
!
interface FastEthernet0/1
 ip vrf forwarding I
 ip address 192.168.77.9 255.255.255.248
 duplex auto
 speed auto
!
interface Serial0/1
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/2
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/3
 no ip address
 shutdown
 clock rate 2000000
!
interface FastEthernet1/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
router rip
 version 2
 redistribute connected
 redistribute static metric 2
 redistribute bgp 999 metric 2
 network 172.16.0.0
!
router bgp 999
 no synchronization
 bgp router-id 1.1.1.1
 bgp log-neighbor-changes
 no auto-summary
 !
 address-family ipv4 vrf I
 redistribute connected
 redistribute static metric 2
 redistribute rip metric 2
 neighbor 192.168.77.10 remote-as 888
 neighbor 192.168.77.10 activate
 neighbor 213.132.232.123 remote-as 888
 neighbor 213.132.232.123 activate
 no synchronization
 exit-address-family
!
ip route 192.168.77.0 255.255.255.248 FastEthernet0/1 192.168.77.10
ip route 213.132.232.123 255.255.255.255 FastEthernet0/1 192.168.77.10
ip route vrf I 10.1.1.0 255.255.255.248 FastEthernet0/0 172.16.8.9 global
ip route vrf I 172.16.8.0 255.255.255.248 FastEthernet0/0 172.16.8.9 global
!
!
no ip http server
no ip http secure-server
!
no cdp log mismatch duplex
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line aux 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line vty 0 4
 login
!
!
end

Review Cisco Networking for a $25 gift card