cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536
Views
0
Helpful
12
Replies

BGP routing not working

Hi, 

This is my 1st time setup dynamic routing. So please help me out.

Attached is my diagram. Take a look.

We have a new WAN connection. 

I setup the new WAN connection on my test router as the current connection is in production and use static route between sites.

Also i attached the config of both router.

BGP is not up. Did my config was OK?

12 Replies 12

The problem is that there is no any valid route towards the peer BGP neighbor ip address (e.g. from site_a towards 58.139.168.170).

Thanks for the reply,

which one is it? does the config at Site A wrong?

does the bgp routing correct?

milan.kulik
Level 10
Level 10

Hi,

 

are you trying to establish a BGP session between your sites A and C?

Or from your BGP router on each site to a provider router (the provider is providing you an MPLS backbone, e.g.)?

 

In the first case, the

neighbor .... remote-as 23736

command is incorrect in both your configs, as both you routers are using AS number 65322.

And you would need some static route (and path through the backbone) to reach the other router.

 

In the later case the neigbour IP address is incorrect - it should be the provider router connected to the WAN subnet used on your router probably?

 

Best regards,

Milan

 

 

 


 

Hi Milan,

I'm trying to establish a BGP session between router A & router C.

What is the correct config for the router as ISP gave me the AS ID but I'm not sure how to config it.

Hi,

what kind of service are you getting from your provider?

If it's an MPLS VPN, then you need to establish a BGP peering to his routers on each site, not between your routers directly.

 

Best regards,

Milan

 

Hi Milan,

The ISP doesn't specify me that, they only ask me to configure BGP routing only. 

I google their website and the service is IPVPN and is using MPLS.

 

What information should i require from the ISP?

They gave me 

BGP AS ID 

PEER BGP AS ID

and set of IP address

Did they give you a peering neighbor IP address for each site?

Probably 58.139.93.113 for site A and is 58.139.168.169 for site C?

You should configure BGP peering to them, I believe, using the

neighbor 58.139.93.113 remote-as 23736

command on site A

and

neighbor 58.139.168.169  remote-as 23736

command on site B.

 

Best regards,

Milan


 

Hi,

There is a correction of the IP address assignment. Below is the correct IP address. 

Also i got confirmation that the correct BGP peer is like above (with the ISP neighbor not directly with the Site A & Site B router.)

But

At side B, i configure like you said but seem BGP not connect also.

See attched config.

 

Hi,

 

yes, this is my understanding how your connection should look like.

I suppose you are able to ping the BGP neighbor from your router on site B?

You should start asking your provider why the BGP session is failing then? Is his router configured to peer with your one?

You might also try some BGP debugging on your side.

 

Best regards,

Milan

 


 

Hi Milan,

No, i can't ping the neighbor 58.139.139.217

Even i can't ping myself 58.139.139.218?? Should this concern anything?

 

I did turn on debug bgp

*Mar  1 18:48:41.427: BGP: 58.139.139.217 open active, local address 58.139.139.218
*Mar  1 18:49:43.427: BGP: 58.139.139.217 open failed: Connection timed out; remote host not responding

 

 

 

Hi,

if you can't Ping the neighbor nor yourself, is your Serial interface up?

Without a basic connectivity you can't establish BGP peering!

 

Best regards,

Milan

 

both is UP, but why can't ping myself?? i have no idea why

encapsulation or loopback ??

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: