05-13-2013 09:32 AM - edited 03-04-2019 07:52 PM
Hi,
I am using iBGP as a routing protocol in a Hub-and-Spoke topology.
I configured "bgp redistribute-internal" on the hub router so that all routes learned by SpokeA are forwarded to SpokeB. However, it simply doesn't work. No routes are advertised.
I see the route learned from SpokeA on the Hubg router:
Hub#sh ip bgp
BGP table version is 5, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i3.3.3.3/32 10.10.10.3 0 100 0 i
But this route is not distributed to SpokeB.
Am I using the correct feature for this approach, or should I only use route reflectors?
Thanks
Here's the Hub BGP config (Lab environment):
router bgp 65002
no synchronization
bgp router-id 1.1.1.1
bgp log-neighbor-changes
bgp redistribute-internal
bgp scan-time 10
timers bgp 7 21
neighbor MPLS peer-group
neighbor MPLS remote-as 65002
neighbor MPLS update-source FastEthernet0/0
neighbor MPLS next-hop-self
neighbor MPLS soft-reconfiguration inbound
neighbor MPLS2 peer-group
neighbor MPLS2 remote-as 65002
neighbor MPLS2 update-source FastEthernet0/1
neighbor MPLS2 next-hop-self
neighbor MPLS2 soft-reconfiguration inbound
neighbor 10.10.10.3 peer-group MPLS
neighbor 20.20.20.2 peer-group MPLS2
distance bgp 20 90 90
no auto-summary
Solved! Go to Solution.
05-13-2013 09:48 AM
Hello,
I think you are mistaken. The command "bgp redistribute-internal" allow sthe redistribution of iBGP routes into an interior gateway protocol such as IS-IS or OSPF non in to other iBGP peer. By default, iBGP does not propagate to other
internal peers prefixes learned from other iBGP peers.
You need a BGP router reflector. Configure the HUB router:
router bgp 65002
neighbor 10.10.10.3 route-reflector-client
neighbor 20.20.20.2 route-reflector-client
Regards.
05-13-2013 09:48 AM
Hello,
I think you are mistaken. The command "bgp redistribute-internal" allow sthe redistribution of iBGP routes into an interior gateway protocol such as IS-IS or OSPF non in to other iBGP peer. By default, iBGP does not propagate to other
internal peers prefixes learned from other iBGP peers.
You need a BGP router reflector. Configure the HUB router:
router bgp 65002
neighbor 10.10.10.3 route-reflector-client
neighbor 20.20.20.2 route-reflector-client
Regards.
05-13-2013 11:23 PM
Thanks, I was already assuming that.
To avoid many config lines I will configure the following:
router bgp 65002
no synchronization
bgp router-id 1.1.1.1
bgp log-neighbor-changes
bgp scan-time 10
timers bgp 7 21
bgp listen range 10.10.10.0/24 peer-group MPLS
bgp listen range 20.20.20.0/24 peer-group MPLS2
bgp listen limit 100
neighbor MPLS peer-group
neighbor MPLS remote-as 65002
neighbor MPLS update-source FastEthernet0/0
neighbor MPLS next-hop-self
neighbor MPLS soft-reconfiguration inbound
neighbor MPLS route-reflector-client
neighbor MPLS2 peer-group
neighbor MPLS2 remote-as 65002
neighbor MPLS2 update-source FastEthernet0/1
neighbor MPLS2 next-hop-self
neighbor MPLS2 soft-reconfiguration inbound
neighbor MPLS2 route-reflector-client
distance bgp 20 90 90
no auto-summary
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