Re: BGP w/loopbacks no statics

From: Brian Hescock (bhescock@xxxxxxxxx)
Date: Sun Aug 12 2001 - 19:00:29 GMT-3


   
Here's what you get when you don't have a specifc static route for the
loopback nor an igp route:

2w5d: BGP: 1.1.1.1 multihop open delayed 14191ms (no route)

and the neighbors stay in active state. However, I added a static route
for 1.1.1.0 and the peers came up and stayed up even
though I removed the static route afterwards. I repeated this a couple of
times, the peers won't come up without a specific route as I had
believed. I tried this with a default route and policy routing and
neither worked, you must have a specific route.

Please let me know if any of you try it in the lab and find otherwise. Be
sure to clear your routes and check your routing table on both routers to
make sure you don't have any specific routes for the loopback on the other
side before you begin the test.

Brian

On Sun, 12 Aug 2001, Brian Hescock wrote:

> But using policy routing would be no different than using a default route,
> you don't have a specific route for the loopback on the other router so I
> would doubt it would work. I'm fairly confident BGP needs a specific
> route (but could be wrong, not something one normally does... ;-) I have
> a couple routers set up in the lab and will try it and let everyone know.
>
> Brian
>
> On Sun, 12 Aug 2001, Dan Pontrelli wrote:
>
> > You can use a policy.
> > Example:
> >
> > AS1
> > AS2
> > 1.1.1.1-loop0-R1-S0-172.168.0.1------------------172.168.0.2-S0-R2-loop0-2.
2
> > .2.2
> >
> >
> >
> > R1 config:
> >
> > ip local policy route-map relay_to_R2_S0
> >
> >
> > interface Serial0
> > ip policy route-map relay_to_R2_S0
> >
> >
> > router bgp 1
> > neighbor 2.2.2.2 remote-as 2
> > neighbor 2.2.2.2 update-source loopback 0
> > neighbor 2.2.2.2 ebgp-multihop 2
> >
> >
> >
> > access-list 6 permit 2.2.2.2
> >
> > route-map relay_to_R2_S0 permit 10
> > match ip address 6
> > set ip next-hop 172.168.0.2
> >
> >
> >
> > R2 config:
> >
> > ip local policy route-map relay_to_R1_S0
> >
> >
> > interface Serial0
> > ip policy route-map relay_to_R1_S0
> >
> >
> > router bgp 2
> > neighbor 1.1.1.1 remote-as 1
> > neighbor 1.1.1.1 update-source loopback 0
> > neighbor 1.1.1.1 ebgp-multihop 2
> >
> >
> >
> > access-list 6 permit 1.1.1.1
> >
> > route-map relay_to_R1_S0 permit 10
> > match ip address 6
> > set ip next-hop 172.168.0.1
> >
> >
> >
> > Dan Pontrelli
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Shane Miles" <smiles@ftdata.com>
> > To: <ccielab@groupstudy.com>
> > Sent: Sunday, August 12, 2001 1:59 PM
> > Subject: BGP w/loopbacks no statics
> >
> >
> > > If I want to use loopback addresses in the BGP neighbor commands on
> > > two routers in different ASs and there is no IGP between them how can I
> > tell
> > > the routers how to get to the loopbacks without using static routes?
> > > --
> > > Shane P. Miles
> > > **Please read:http://www.groupstudy.com/list/posting.html
> > **Please read:http://www.groupstudy.com/list/posting.html
> **Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:49 GMT-3