SlideShare a Scribd company logo
1 of 6
Recursive infinite Loop
Even from the time immemorial, the chicken and egg question has been a hard nut to crack.
As interesting and puzzling as it is, it constantly finds its way to all facet of life. Today we
are going to see its occurrence in the world of routing cisco BGP technology especially when
we are constrained from using floating route and are required to neighbor using the loopback
interface of the routers.
From the figure below,
Our attention is on router 1 and 8 as we will be using both as EBGP neighbors, and in
adhering to the rule of KISS(Keep It Simply Stupid),we will be making use of AS 18 and 81
respectively.
Our constraint:
 Pair using only loopback interfaces
 Don’t use any static route
 Advertise the loopbacks into BGP
With this in mind, we know from our CCNP/CCIE classes that this neighbor relationship is
going to be EBGP.
Here is the configuration figure 1.
We can easily glean from the above(Figure 2) config that the EBGP state is idle.
Now going back to the fundamentals, BGP needs transport on port 179 to form neighbor.so
lets verify that transport is okay, ie router 1 can reach router 8 loopback and vice-versa.
From the ping above(Figure 3) it is obvious that transport is broken though we can ping the
directly connected links but not loopbacks, but we need the neighbor to form on
loopbacks,that is loopback must be reachable from both routers.
Solution 1:
 Create a static route to loopbacks #not allowed by the constraint
 Run routing protocols # OSPF,EIGRP,RIP,ODR I will chose EIGRP
EIGRP configuration # here I will use the AFI/Named format
Figure 4.
Figure 5 below
From above we can see that EIGRP neighbor is formed,hence lets verify if our eBGP
neighbor is established by running show ip bgp summary as below Figure 6.
Here our eBGP session between R8 and R1 is established.So far we are solid and haven’t
gone against any rule.Now lets advertise the loopbacks to BGP figure 7 below
Now lets see the routing table as below figure 8
From the table above (figure 8),hope we can envisage a disaster here in the BGP routes?As
the prefix 8.8.8.8/32 is now learned as a BGP route as opposed to EIGRP in figure 6 above.
Here we see the eBGP neighbor go down and immediately come up(flap).this behavior
continues ie the neighbor makes and breaks.This is phenomenon is known as recursive
infinite loop.
Now I will let you think of it and come up it a solution, though there are multiple solutions to
it.

More Related Content

Viewers also liked

Victoria mintz -adlerian therapy--module 6
Victoria mintz -adlerian therapy--module 6Victoria mintz -adlerian therapy--module 6
Victoria mintz -adlerian therapy--module 6ofmintz
 
DG Group The 5 Rules of Successful 21st Century Marketing
DG Group   The 5 Rules of Successful 21st Century MarketingDG Group   The 5 Rules of Successful 21st Century Marketing
DG Group The 5 Rules of Successful 21st Century MarketingFranco De Bonis
 
Caso sephora final
Caso sephora finalCaso sephora final
Caso sephora finaljulian1204
 
Adlerian theory of personality
Adlerian theory of personalityAdlerian theory of personality
Adlerian theory of personalityMejirushi Kanji
 
Virtual Machine Migration & Hypervisors
Virtual Machine Migration & HypervisorsVirtual Machine Migration & Hypervisors
Virtual Machine Migration & HypervisorsArun Shukla
 
Selling internationally with digital marketing Slideshow
Selling internationally with digital marketing SlideshowSelling internationally with digital marketing Slideshow
Selling internationally with digital marketing SlideshowEvolution-e
 

Viewers also liked (11)

Victoria mintz -adlerian therapy--module 6
Victoria mintz -adlerian therapy--module 6Victoria mintz -adlerian therapy--module 6
Victoria mintz -adlerian therapy--module 6
 
El plan de la banca de inversión en la internacionalización
El plan de la banca de inversión en la internacionalizaciónEl plan de la banca de inversión en la internacionalización
El plan de la banca de inversión en la internacionalización
 
DG Group The 5 Rules of Successful 21st Century Marketing
DG Group   The 5 Rules of Successful 21st Century MarketingDG Group   The 5 Rules of Successful 21st Century Marketing
DG Group The 5 Rules of Successful 21st Century Marketing
 
El Pasivo - Contabilidad I
El Pasivo - Contabilidad IEl Pasivo - Contabilidad I
El Pasivo - Contabilidad I
 
Julio libros
Julio librosJulio libros
Julio libros
 
Caso sephora final
Caso sephora finalCaso sephora final
Caso sephora final
 
Adlerian theory of personality
Adlerian theory of personalityAdlerian theory of personality
Adlerian theory of personality
 
Virtual Machine Migration & Hypervisors
Virtual Machine Migration & HypervisorsVirtual Machine Migration & Hypervisors
Virtual Machine Migration & Hypervisors
 
Evaluación y acreditacion para Colegiado
Evaluación y acreditacion para ColegiadoEvaluación y acreditacion para Colegiado
Evaluación y acreditacion para Colegiado
 
Selling internationally with digital marketing Slideshow
Selling internationally with digital marketing SlideshowSelling internationally with digital marketing Slideshow
Selling internationally with digital marketing Slideshow
 
Anuies
AnuiesAnuies
Anuies
 

Similar to THE CHICKEN AND EGG PUZZLE IN ROUTING BGP

Bgp For Presentation
Bgp For PresentationBgp For Presentation
Bgp For PresentationAlp isik
 
Cisco ccnp 642-902 practice tests for quick preparation
Cisco ccnp 642-902 practice tests for quick preparationCisco ccnp 642-902 practice tests for quick preparation
Cisco ccnp 642-902 practice tests for quick preparationCisco-642-902
 
CCNP Route 642 902 BGP
CCNP Route 642 902 BGPCCNP Route 642 902 BGP
CCNP Route 642 902 BGPIT Tech
 
BGP (border gateway routing protocol)
BGP (border gateway routing protocol)BGP (border gateway routing protocol)
BGP (border gateway routing protocol)Netwax Lab
 
Bgp Basic Labs
Bgp Basic LabsBgp Basic Labs
Bgp Basic Labssami36
 
EIGRP ZERO TO HERO
EIGRP ZERO TO HEROEIGRP ZERO TO HERO
EIGRP ZERO TO HEROBhanviSonkar
 
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 2408 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24legasu zemene
 
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...IJORCS
 

Similar to THE CHICKEN AND EGG PUZZLE IN ROUTING BGP (20)

Bgp attribute-case study
Bgp attribute-case studyBgp attribute-case study
Bgp attribute-case study
 
Bgp For Presentation
Bgp For PresentationBgp For Presentation
Bgp For Presentation
 
Bgp Toc
Bgp TocBgp Toc
Bgp Toc
 
Cisco ccnp 642-902 practice tests for quick preparation
Cisco ccnp 642-902 practice tests for quick preparationCisco ccnp 642-902 practice tests for quick preparation
Cisco ccnp 642-902 practice tests for quick preparation
 
BGP Update Source
BGP Update Source BGP Update Source
BGP Update Source
 
Bgp in-large-networks
Bgp in-large-networksBgp in-large-networks
Bgp in-large-networks
 
CCNP Route 642 902 BGP
CCNP Route 642 902 BGPCCNP Route 642 902 BGP
CCNP Route 642 902 BGP
 
RR
RRRR
RR
 
BGP (border gateway routing protocol)
BGP (border gateway routing protocol)BGP (border gateway routing protocol)
BGP (border gateway routing protocol)
 
BGP
BGP BGP
BGP
 
B G P Part2
B G P  Part2B G P  Part2
B G P Part2
 
B G P Part2
B G P  Part2B G P  Part2
B G P Part2
 
Auto summarization in EIGRP
Auto summarization in EIGRPAuto summarization in EIGRP
Auto summarization in EIGRP
 
Bgp Basic Labs
Bgp Basic LabsBgp Basic Labs
Bgp Basic Labs
 
Bgp Basic Labs
Bgp Basic LabsBgp Basic Labs
Bgp Basic Labs
 
EIGRP ZERO TO HERO
EIGRP ZERO TO HEROEIGRP ZERO TO HERO
EIGRP ZERO TO HERO
 
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 2408 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
 
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
 
BGP Overview
BGP OverviewBGP Overview
BGP Overview
 
Inter as vpn option c
Inter as vpn option c Inter as vpn option c
Inter as vpn option c
 

THE CHICKEN AND EGG PUZZLE IN ROUTING BGP

  • 1. Recursive infinite Loop Even from the time immemorial, the chicken and egg question has been a hard nut to crack. As interesting and puzzling as it is, it constantly finds its way to all facet of life. Today we are going to see its occurrence in the world of routing cisco BGP technology especially when we are constrained from using floating route and are required to neighbor using the loopback interface of the routers. From the figure below, Our attention is on router 1 and 8 as we will be using both as EBGP neighbors, and in adhering to the rule of KISS(Keep It Simply Stupid),we will be making use of AS 18 and 81 respectively. Our constraint:  Pair using only loopback interfaces  Don’t use any static route  Advertise the loopbacks into BGP With this in mind, we know from our CCNP/CCIE classes that this neighbor relationship is going to be EBGP. Here is the configuration figure 1.
  • 2. We can easily glean from the above(Figure 2) config that the EBGP state is idle. Now going back to the fundamentals, BGP needs transport on port 179 to form neighbor.so lets verify that transport is okay, ie router 1 can reach router 8 loopback and vice-versa.
  • 3. From the ping above(Figure 3) it is obvious that transport is broken though we can ping the directly connected links but not loopbacks, but we need the neighbor to form on loopbacks,that is loopback must be reachable from both routers. Solution 1:  Create a static route to loopbacks #not allowed by the constraint  Run routing protocols # OSPF,EIGRP,RIP,ODR I will chose EIGRP EIGRP configuration # here I will use the AFI/Named format Figure 4.
  • 5. From above we can see that EIGRP neighbor is formed,hence lets verify if our eBGP neighbor is established by running show ip bgp summary as below Figure 6. Here our eBGP session between R8 and R1 is established.So far we are solid and haven’t gone against any rule.Now lets advertise the loopbacks to BGP figure 7 below Now lets see the routing table as below figure 8
  • 6. From the table above (figure 8),hope we can envisage a disaster here in the BGP routes?As the prefix 8.8.8.8/32 is now learned as a BGP route as opposed to EIGRP in figure 6 above. Here we see the eBGP neighbor go down and immediately come up(flap).this behavior continues ie the neighbor makes and breaks.This is phenomenon is known as recursive infinite loop. Now I will let you think of it and come up it a solution, though there are multiple solutions to it.