Search this Blog

Wednesday, December 4, 2013

Unable to find BGP routes , what part of configuration is causing this issue?


Have 9 routers in my project R1,R2,R3,R4,R5,R6,R7,R8,R9 WHERE R1,R7,R8,R9 are CE routers & rest are PE routers.

I want to redistribute RIP into BGP & below are config.of  CE(R1) & PE(R2) as I run show ip route in R1 then unable to find BGP routes please confirm What is issue in config


Now i have configured RIP in R1 & config are

interface Loopback0
ip address 203.1.0.1 255.255.255.255
!
interface Loopback1
ip address 203.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
ip address 150.1.0.0 255.255.255.254
duplex auto
speed auto
!
router rip
version 2
network 150.1.0.0
network 203.1.0.0
network 203.1.1.0

...............................................................



R2 config

interface Loopback0
ip address 192.168.1.1 255.255.255.255
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface GigabitEthernet0/0
ip address 192.168.1.6 255.255.255.254
media-type gbic
speed 1000
duplex full
negotiation auto
!
interface FastEthernet1/0
vrf forwarding vpnb
ip address 150.1.0.3 255.255.255.254
duplex half
!
interface FastEthernet2/0
vrf forwarding vpna
ip address 150.1.0.1 255.255.255.254
duplex full
!
interface FastEthernet3/0
no ip address
shutdown
duplex half
!
router ospf 1
log-adjacency-changes
network 192.0.0.0 0.255.255.255 area 0
mpls ldp sync
mpls ldp autoconfig
!
router rip
version 2
!
address-family ipv4 vrf vpna
  redistribute bgp 1 metric transparent
  network 150.1.0.0
  no auto-summary
exit-address-family
!
router bgp 1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 192.168.1.5 remote-as 1
neighbor 192.168.1.5 update-source Loopback0
!
address-family ipv4
  no synchronization
  neighbor 192.168.1.5 activate
  no auto-summary
exit-address-family
!
address-family vpnv4
  neighbor 192.168.1.5 activate
  neighbor 192.168.1.5 send-community extended
exit-address-family
!
address-family ipv4 vrf vpna
  no synchronization
  redistribute rip
exit-address-family
!
address-family ipv4 vrf vpnb
  no synchronization
  redistribute connected
  redistribute static
exit-address-family
!
no ip http server
no ip http secure-server
!
!
ip route vrf vpnb 203.1.0.2 255.255.255.255 150.1.0.2
ip route vrf vpnb 203.1.2.0 255.255.255.0 150.1.0.2
!
!
mpls ldp router-id Loopback0

First do a no auto summary on your CE router.In router rip ip address 150.1.0.0 255.255.255.254, this mask /31 must be used with caution, it may cause problems, It's not recommended to use anything smaller than a /30

The PE config looks ok, but to see rip routes or bgp routes or other pe or ce routers you need to have them imported probably the vrf router-target export and import and the rd
you must import what others PE exports and export what the others import in order to exchange routes

Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

 
/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */