RE: bgp default route--different question, same area

From: Murphy, Brennan (Brennan_Murphy@xxxxxxx)
Date: Thu Aug 09 2001 - 11:12:34 GMT-3


   
The config I pasted below is supposed to work by testing for the
presence of 200.100.50.0/24 and 100.50.25.0/24. If
present, originate a default route to 152.16.3.65.

If I shutdown the 200 and 100 networks, the default route
is withdrawn from the 152 network as advertised. But
if I then re-connect the 100 network, the default is
not automatically originated. I have to plug in the
200 net to get the default to go out again.
I noticed that the 200 net is first in the sequence
of the ISP-RTR-UP prefix list. Does this play a role?

The route map is supposed to detect whether either
network is present and if so, send out a default.
But it only seems to be concerned with the 200.

Can anyone scan the config below and tell me why this
is the case? ANother note: If i plug/unplug the 200
net, the route is advertised/withdrawn like clockwork,
automatically as expected. the 100 net does not work this
way.

 bgp log-neighbor-changes
 network 152.16.3.0 mask 255.255.255.0
 neighbor 100.50.25.2 remote-as 65525
 neighbor 152.16.3.65 remote-as 65500
 neighbor 152.16.3.65 next-hop-self
 neighbor 152.16.3.65 default-originate route-map NEXT-HOP
 neighbor 152.16.3.65 distribute-list 20 out
 neighbor 200.100.50.2 remote-as 65000
 no auto-summary
!
ip classless
no ip http server
!
!
ip prefix-list ISP-RTR-UP seq 5 permit 200.100.50.0/24
ip prefix-list ISP-RTR-UP seq 10 permit 100.50.25.0/24
access-list 20 permit 152.16.3.0 0.0.0.255
route-map NEXT-HOP permit 10
 match ip address prefix-list ISP-RTR-UP

-----Original Message-----
From: Hans [mailto:yyao@sympatico.ca]
Sent: Thursday, August 09, 2001 12:41 AM
To: ccielab@groupstudy.com
Subject: bgp default route

Hi all,

Here is a paragraph I copied from Cisco website regarding the usage of
neighbor default-originate command:

"This command does not require the presence of 0.0.0.0 in the local router.
When used with a route map, the default route 0.0.0.0 is injected if the
route map contains a match ip address clause and there is a route that
matches the IP access list exactly. The route map can contain other match
clauses also.
You can use standard or extended access lists with the neighbor
default-originate command."

Examples

In the following example, the local router injects route 0.0.0.0 to the
neighbor 160.89.2.3 unconditionally:

router bgp 109
 network 160.89.0.0
 neighbor 160.89.2.3 remote-as 200
 neighbor 160.89.2.3 default-originate

However, when I tried it on my router, nothing happened at all.

Any clues?

Hans
**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:47 GMT-3