09-20-2011 12:21 AM - edited 03-04-2019 01:39 PM
hi,
I have cisco 2811 router and two ISP copper line.
How can confire it as BGP router. Pls help on this.
09-20-2011 12:47 AM
Hi,
if you only have 1 ISP and a single router then I don't see the benefit of using BGP.
Could you tell us a little bit more about your infrastructure and what you want to achieve.
Regards.
Alain.
09-20-2011 01:05 AM
hi alain,
we have two ISPs..... router is connected to core switch, and there it distributes internet traffic to other edge switches
09-20-2011 02:09 AM
Hi,
Then if you want to use BGP you'll have to ask the IANA for a Provider-independent IP address and an AS number.
Is it your case already?
Regards.
Alain
09-20-2011 02:32 AM
Hi Vishal,
Please find the steps below.
1) Configure your router in a private AS (64512 - 65535).
2) Advertise your public/private pools to the both ISPs.
(I am saying private pools if MPLS+BGP cloud and you have a VRF set in your ISP cloud is there)
3)Now Your ISP will remove the originating AS in case of public pool advertisment or not in case of MPLS cloud and VRF configuration...
Please rate if helps.
Ameya
09-20-2011 02:58 AM
hi,
its done already.i dont know how to configure it...help me on this one
09-20-2011 03:05 AM
Do you need exact BGP configuraion commands???
Ameya
09-20-2011 03:15 AM
yes
09-20-2011 03:32 AM
PLease find config below.
(Config is for one client end router and 2 ISP routers)
router bgp
no synchronization
bgp router-id
bgp log-neighbor-changes
redistribute connected
redistribute static
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
no auto-summary
please rate helpful posts.
Ameya
09-20-2011 03:41 AM
Hi Ameya,
There seems there is a typo in there:
neighbor
It should bee applied inbound if it is a route-map for outbound selection.
It should be also interesting to give the route-maps configs to the OP.
Are you using AS_PATH prepending to influence inbound selection ?
Maybe he should discuss with the ISPs to see if they accept this way of doing.
Regards.
Alain.
09-20-2011 04:27 AM
Hi Cadet,
I just gave a rough example how the config is done as we had insufficient data.
Also we are using Local Pref for selecting exit interface and As-path for inbounf traffic.
I did make a typo :-)
Wrong config:
neighbor
neighbor
Correct config:
neighbor
neighbor
Ameya
09-20-2011 06:08 AM
I agree with Cadet. If you have two links to one ISP, you could just set 2 default routes and give one a higher
AD, incase one goes down, it will use the other. But then again, I don't know the way your network is setup.
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