[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

BGP not peering over Lo0

Posted on 2013-06-01
6
Medium Priority
?
500 Views
Last Modified: 2013-06-02
I have 4 routers, two in the middle, R3 and R4, which are just transport, R1 and R4 are the endpoints. I want them to form a  bgp relationship then use the GRE tunnel to actually move traffic. The configuration I have is tested and working from a colleague. The problem is that in my home lab I cannot form a BGP neighborship between the two endpoints over the loopback interfaces. I am rather new to BGP, and have only used loopbacks a few times. I can ping the loopbacks on each end from the other end sourced from the local loopback. I have attached the 4 router configs, which are short. Thank you.
0
Comment
Question by:psychokraft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 2

Author Comment

by:psychokraft
ID: 39213757
0
 
LVL 17

Assisted Solution

by:pergr
pergr earned 1000 total points
ID: 39214452
Since you use ebgp. (different as numbers) you have to add also the 'multihop' command.
0
 
LVL 11

Accepted Solution

by:
naderz earned 1000 total points
ID: 39214505
pergr is correct. You need the multihop command on the peer statement since the two neighbors are not directly connected.

What you also need is either an IGP routing protocol or static routes that direct the traffic for BGP neighbor relationship.

On R1 you need a static route for L0 of R4 pointing to the the R2 interface connecting to R1. Your present default routes point to the tunnel interface on the other side. Before the tunnel comes up and before the BGP neighbors can establish, the two end routers' BGP processes need to be able to find each other.

e.g., On R1:

router bgp 1
 neighbor 1.0.0.2 multi-hop 3
ip route 1.0.0.2 255.255.255.255 2.0.0.2


You will need similar change for R4
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 2

Author Comment

by:psychokraft
ID: 39214949
Thank you both for your help. I will be accepting both as an answer. Narderz, I plan to use the tunnel to handle the bgp route after it is established. Should I have the bgp running before I configure the tunnel?
0
 
LVL 11

Expert Comment

by:naderz
ID: 39215301
You are welcome and, yes, you need the BGP for populating the route table for the tunnel to work.
0
 
LVL 11

Expert Comment

by:naderz
ID: 39215386
Actually, all you needed should have been the multihop command. I was reading the message on my mobile and missed the whole point of you wanting to establish BGP through the tunnel. Once the tunnel is up and you have the multihop command, you should be good to go. I realized that once at home and reading the whole message!

I believe the points should go to pergr :)
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question