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?
The problem is that there is no any valid route towards the peer BGP neighbor ip address (e.g. from site_a towards 18.104.22.168).
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?
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.
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.
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 22.214.171.124 for site A and is 126.96.36.199 for site C?
You should configure BGP peering to them, I believe, using the
neighbor 188.8.131.52 remote-as 23736
command on site A
neighbor 184.108.40.206 remote-as 23736
command on site B.
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.)
At side B, i configure like you said but seem BGP not connect also.
See attched config.
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.
No, i can't ping the neighbor 220.127.116.11
Even i can't ping myself 18.104.22.168?? Should this concern anything?
I did turn on debug bgp
*Mar 1 18:48:41.427: BGP: 22.214.171.124 open active, local address 126.96.36.199
*Mar 1 18:49:43.427: BGP: 188.8.131.52 open failed: Connection timed out; remote host not responding
if you can't Ping the neighbor nor yourself, is your Serial interface up?
Without a basic connectivity you can't establish BGP peering!