cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1171
Views
0
Helpful
4
Replies

problem with Inter-AS Option-A using OSPF

bahtam rezaei
Level 1
Level 1

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

4 Replies 4

Nagendra Kumar Nainar
Cisco Employee
Cisco Employee

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.

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

 

 

 

Hi,

Can you share the show ip route vrf <> and show ip ospf 1 database from both R3 and R4?.

 

-Nagendra

 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,