cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
248
Views
0
Helpful
3
Replies

in mbgp cust routes can't ping without mpls enable

Arif Wazir
Level 1
Level 1

 

IMPAGE OF VRF LAB.jpg

i can't ping the l1:10.1.1.1 from source 20.1.1.1 router R4 router and mbgp is configure between R1 and R2 router without mpls enable. rip of vrf is redistribute in mbgp and mbgp is redistribute in rip

 

R1 router configuration

ip vrf A

 rd 1:1

 route-target export 100:100

 route-target import 100:100

interface Ethernet1/1

 ip vrf forwarding A

 ip address 13.1.1.1 255.255.255.0

 duplex half

end

router rip

 version 2

 !

 address-family ipv4 vrf A

  redistribute bgp 100 metric 1

  network 13.0.0.0

  no auto-summary

  version 2

 exit-address-family

redistribute bgp 100 metric 1

router bgp 100

 bgp log-neighbor-changes

 redistribute rip

 neighbor 12.1.1.2 remote-as 100

 neighbor 12.1.1.2 next-hop-self

 !

 address-family vpnv4

  neighbor 12.1.1.2 activate

  neighbor 12.1.1.2 send-community extended

 exit-address-family

 !

 address-family ipv4 vrf A

  redistribute rip metric 1

 exit-address-family

R2 router configuration details

ip vrf A

 rd 1:1

 route-target export 100:100

 route-target import 100:100

interface Ethernet1/1

 ip vrf forwarding A

 ip address 14.1.1.1 255.255.255.0

 duplex half

end

router rip

 version 2

 !

 address-family ipv4 vrf A

  redistribute bgp 100 metric 1

  network 14.0.0.0

  no auto-summary

  version 2

 exit-address-family

 redistribute rip

  redistribute rip metric 1

redistribute bgp 100 metric 1

router bgp 100

 bgp log-neighbor-changes

 redistribute rip

 neighbor 12.1.1.1 remote-as 100

 neighbor 12.1.1.1 next-hop-self

 !

 address-family vpnv4

  neighbor 12.1.1.1 activate

  neighbor 12.1.1.1 send-community extended

 exit-address-family

 !

 address-family ipv4 vrf A

  redistribute rip metric 1

 exit-address-family

R3 configuration details

interface Ethernet1/1

 ip address 13.1.1.2 255.255.255.0

 duplex half

end

interface Loopback1

 ip address 10.1.1.1 255.255.255.0

end

router rip

 version 2

 network 10.0.0.0

 network 13.0.0.0

 no auto-summary

R4 configuration details

interface Ethernet1/1

 ip address 14.1.1.2 255.255.255.0

 duplex half

end

interface Loopback1

 ip address 20.1.1.1 255.255.255.0

end

router rip

 version 2

 network 20.0.0.0

 network 14.0.0.0

 no auto-summary

 

3 Replies 3

Indeed you need mpls' with label of mpls how the routers know this traffic for which VRF.

Routers use mpls label to forward traffic to correct vrf.

MHM

did not we use the rt import and export value for vrf identification within multiple vrf configuration

 

There are two planes 

Control plane of mpls this use rt import/export to inject prefix from vpnv4 into specific vrf

There are data plane which use label in packet to correct forward packet to specific vrf.

Rt is not include data packet but mpls label include.

With mpls 

Prefix appear in show ip route vrf 

Can forward traffic 

Without mpls 

Prefix appear in show ip route vrf 

You can not forward traffic 

MHM