03-11-2015 06:22 AM
hi everybody
i have a problem with bellow scenario , there is two AS which i want to implement Inter-AS option A , R3 and R4 can see routing table of vrf A on R7 router and R8 using MP-BGP , between R3 , R4 run ospf and redistribute ospf to BGP and BGP to ospf but R7 can not reach to R8 ,
when i remove ospf between R3 and R4 and using static route it is work, I think this is something wrong using OSPF between AS 100 and AS 200
R3:
router ospf 1 vrf A
redistribute bgp 100 subnets
network 10.10.34.0 0.0.0.255 area 1
router bgp 100
neighbor 1.1.1.1 remote-as 100
neighbor 1.1.1.1 update-source Loopback0
neighbor 1.1.1.1 next-hop-self
no auto-summary
address-family vpnv4
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 send-community extended
neighbor 1.1.1.1 next-hop-self
exit-address-family
!
address-family ipv4 vrf A
no synchronization
redistribute connected
redistribute static
redistribute ospf 1 vrf A
exit-address-family
///////////////////////////////////////////////////////////////////////////////////////////
R4
router ospf 1 vrf A
redistribute bgp 200 subnets
network 10.10.34.0 0.0.0.255 area 1
!
router ospf 20
log-adjacency-changes
network 4.4.4.4 0.0.0.0 area 0
network 10.10.45.0 0.0.0.255 area 0
!
router bgp 200
neighbor 5.5.5.5 remote-as 200
neighbor 5.5.5.5 update-source Loopback0
no auto-summary
!
address-family vpnv4
neighbor 5.5.5.5 activate
neighbor 5.5.5.5 send-community both
neighbor 5.5.5.5 next-hop-self
exit-address-family
!
address-family ipv4 vrf A
no synchronization
redistribute connected
redistribute ospf 1 vrf A
exit-address-family
03-11-2015 03:36 PM
Hi
under vrf ospf process, enable "capability vrf-lite". Each PE will receive the LSA from other PE with DN bit set and won't consider for path calculation with the mentioned command.
03-14-2015 10:17 AM
thanks Dear Nagendra
i use capability vrf-lite command under ospf process on each PE between AS , but it dosent work yet ,
any idea appreciated
R3:
router ospf 1 vrf A
router-id 33.33.33.33
capability vrf-lite
redistribute bgp 100 subnets
network 10.10.34.0 0.0.0.255 area 1
R4:
router ospf 1 vrf A
capability vrf-lite
redistribute bgp 200 subnets
network 10.10.34.0 0.0.0.255 area 1
03-15-2015 06:36 PM
Hi,
Can you share the show ip route vrf <> and show ip ospf 1 database from both R3 and R4?.
-Nagendra
03-16-2015 10:19 PM
Dear Nagendra
each router has a loopback address same as its number , R8: 8.8.8.8
between each routers ip address assigned based on the router number
for example between R3 and R4 : 10.10.34.3 and 10.10.34.4
please find attachment,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide