From: Richard Dumoulin (richard.dumoulin@vanco.es)
Date: Tue Jun 01 2004 - 06:55:41 GMT-3
Yasser,
I don't think it has anything to do with confederations. It's just the bgp
process advertising the summary route but I may be wrong. Let's wait for
your test when you have time,
--Richard
-----Original Message-----
From: Yasser Aly [mailto:blackyeyes00@hotmail.com]
Sent: martes, 01 de junio de 2004 11:50
To: Richard Dumoulin
Subject: RE: summary route
Hi Richard,
I don't have access to my devices now. Possibly at night I can re-run the
test and post my config.
However, for your test scenario I noticed one thing that might be the reason
of this.
In your scenario you are using confedration peers. I am not aware of any
reason that can make output differ because it is inside a confedration but
this appears to me the only difference between my test and yours. I used
normal AS numbers not private ones and was not running confedrations.
If you have access to your devices now you can check with my scenario.
Anyway, I will simulate it again at night and post my config.
Cheers,
Yasser
>From: Richard Dumoulin <richard.dumoulin@vanco.es>
>To: Yasser Aly <blackyeyes00@hotmail.com>,
ahmed.mustafa@sbcglobal.net
>CC: ccielab@groupstudy.com
>Subject: RE: summary route
>Date: Tue, 1 Jun 2004 08:59:00 +0100
>
>Yasser, can you post your test ? Here is mine:
>
>First I have this:
>
>r2#sh run | b bgp
>router bgp 65501
> no synchronization
> bgp router-id 2.2.2.2
> bgp log-neighbor-changes
> bgp confederation identifier 12345
> bgp confederation peers 65505
> neighbor 172.16.30.1 remote-as 65501
> neighbor 172.16.30.18 remote-as 65505
> no auto-summary
>
>
>r2#sh ip bgp
>BGP table version is 34, local router ID is 2.2.2.2 >Status codes: s
suppressed, d damped, h history, * valid, > best, i - >internal,
> r RIB-failure, S Stale
>Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>r>i10.1.1.0/24 172.16.30.1 0 100 0 i
>r>i10.1.3.0/24 172.16.30.3 0 100 0 i
>*>i10.1.6.0/24 172.16.30.34 0 100 0 67 i
>*> 10.10.10.0/24 10.1.5.2 0 200 0 (65505)
10 i
>r>i10.40.4.0/24 172.16.30.22 0 100 0 (65504)
i
>r> 10.50.5.0/24 172.16.30.18 0 100 0 (65505)
i
>*>i10.70.7.0/24 172.16.30.34 0 100 0 67 i
>
>
>And I am going to summarize 10.0.0.0/8 into bgp:
>
>But first I advertise the classful and see if it appears in the bgp fib:
> >r2(config)#router bgp 65501 >r2(config-router)#netw
>r2(config-router)#network 10.0.0.0 >r2(config-router)#^Z > >
>But there is no way the network enters the table because the network
does
>not exist in the local table:
>
>r2#sh ip bgp
>BGP table version is 34, local router ID is 2.2.2.2 >Status codes: s
suppressed, d damped, h history, * valid, > best, i - >internal,
> r RIB-failure, S Stale
>Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>r>i10.1.1.0/24 172.16.30.1 0 100 0 i
>r>i10.1.3.0/24 172.16.30.3 0 100 0 i
>*>i10.1.6.0/24 172.16.30.34 0 100 0 67 i
>*> 10.10.10.0/24 10.1.5.2 0 200 0 (65505)
10 i
>r>i10.40.4.0/24 172.16.30.22 0 100 0 (65504)
i
>r> 10.50.5.0/24 172.16.30.18 0 100 0 (65505)
i
>*>i10.70.7.0/24 172.16.30.34 0 100 0 67 i
>
>
>So I enter auto-summary in the bgp process:
>
>r2#conf t
>Enter configuration commands, one per line. End with CNTL/Z.
>r2(config)#router bgp 65501 >r2(config-router)#auto
>r2(config-router)#auto-summary
>r2(config-router)#^Z
>r2#
>r2#
>*Mar 1 18:11:33.762: %SYS-5-CONFIG_I: Configured from console by
consoles
>r2#sh deb
>IP routing:
> BGP debugging is on
>
>
>r2#
>*Mar 1 18:12:31.529: BGP: Applying map to find origin for 10.0.0.0/24
>r2#sh ip bgp >BGP table version is 35, local router ID is 2.2.2.2
>Status codes: s suppressed, d damped, h history, * valid, > best, i -
>internal,
> r RIB-failure, S Stale
>Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>*> 10.0.0.0 0.0.0.0 0 32768 i
>r>i10.1.1.0/24 172.16.30.1 0 100 0 i
>r>i10.1.3.0/24 172.16.30.3 0 100 0 i
>*>i10.1.6.0/24 172.16.30.34 0 100 0 67 i
>*> 10.10.10.0/24 10.1.5.2 0 200 0 (65505)
10 i
>r>i10.40.4.0/24 172.16.30.22 0 100 0 (65504)
i
>r> 10.50.5.0/24 172.16.30.18 0 100 0 (65505)
i
>*>i10.70.7.0/24 172.16.30.34 0 100 0 67 i
>
>
>I even ran "debug ip bgp" so we can see what happens. I think
that I have
>confirmed the BGP faq
>http://www.cisco.com/en/US/tech/tk365/tk80/technologies_q_and_a_item0918
6a00
>800949e8.shtml#five
>
>Yasser could you please post your test ?
>
>Regards
>
>--Richard
>
>
>
>
>
>
>
>-----Original Message-----
>From: Yasser Aly [mailto:blackyeyes00@hotmail.com]
>Sent: martes, 01 de junio de 2004 0:37
>To: Richard Dumoulin; ahmed.mustafa@sbcglobal.net
>Cc: ccielab@groupstudy.com
>Subject: RE: summary route
>
>
>
>Richard,
>
> Just tested it before sending my mail to the list. auto-summary only
works
>with redistributed routes.
>
>Hope to hear others comments about this to confirm. >Yasser >
>&gt;From: Richard Dumoulin &lt;richard.dumoulin@vanco.es&gt;
>&gt;To: Yasser Aly &lt;blackyeyes00@hotmail.com&gt;,
>ahmed.mustafa@sbcglobal.net
>&gt;CC: ccielab@groupstudy.com
>&gt;Subject: RE: summary route
>&gt;Date: Mon, 31 May 2004 23:15:53 +0100
>&gt;
>&gt;Yasser, here I have to disagree. Did you read the BGP faq and
did you
>test
>&gt;it ? I did and auto-summary contrary to what the majority of
people
>think
>&gt;not only works with redistribution,
>&gt;
>&gt;--Richard
>&gt;
>&gt;-----Original Message-----
>&gt;From: Yasser Aly [mailto:blackyeyes00@hotmail.com]
>&gt;Sent: martes, 01 de junio de 2004 0:11
>&gt;To: Richard Dumoulin; ahmed.mustafa@sbcglobal.net
>&gt;Cc: ccielab@groupstudy.com
>&gt;Subject: RE: summary route
>&gt;
>&gt;
>&gt;Hello,
>&gt;
>&gt;Possibility #2 will not work.
>&gt;
>&gt;Auto-summary inside BGP acts only on redistributed routes not on
routes
>&gt;entered in the BGP via the network command. You will need to
>redistribute >&gt;the route into BGP and turn on auto-summary.
This will summarize
it to
>its
>&gt;classful boundary.
>&gt;
>&gt;Regards,
>&gt;Yasser
>&gt;===================
>&gt;But I already explained !
>&gt;
>&gt;Let's say R2 is connected to R1 and they run an igp like RIP. On
R2,
>&gt;configure &quot;ip summary-address rip 156.1.0.0
255.255.0.0&quot;. So
>now R1 has the
>&gt;network in his routing table right ? You just injected the
summary
>through
>&gt;the igp. Now just redistribute RIP into BGP with filters if you
wish and
>
>you
>&gt;will be advertising the network.
>&gt;
>&gt;
>&gt;2) Another possibility as explained is : >&gt;
>&gt;router bgp 1234 >&gt;auto-summary >&gt;network
156.1.0.0 >&gt; >&gt; >&gt;And that's it. But it might
not be the solution as per the
requirements
>&gt; &gt;--Richard &gt; &gt; &gt;
&gt;-----Original Message-----
>&gt;From: Ahmed Mustafa [mailto:ahmed.mustafa@sbcglobal.net]
>&gt;Sent: lunes, 31 de mayo de 2004 7:01
>&gt;To: Richard Dumoulin
>&gt;Subject: Re: summary route
>&gt;
>&gt;
>&gt;Richard,
>&gt;
>&gt;I have confused you with my question. I completely understand
the BGP
>rules
>&gt;for advertising networks. What i was asking is let say that
&gt; &gt;I
>have R1 connected to backbone via BGP. on R1 I have subnets of
>network >&gt;156.1.0.0 per se >&gt; >&gt;156.1.1.0
>&gt;156.1.2.0 >&gt;156.1.3.0 >&gt;156.1.4.0 and so on.
>&gt; >&gt;I know just want to advertise the summary route to
B1. The
network
>between
>&gt;BB and R1 is on 204.12.1.0/24.
>&gt;
>&gt;Is there any other solution besides using aggregate to advertise
a
>network
>&gt;156.1.0.0/16 to BB.
>&gt;
>&gt;Regards,
>&gt;
>&gt;Ahmed
>&gt;
>&gt;----- Original Message -----
>&gt;From: Richard Dumoulin
&lt;mailto:richard.dumoulin@vanco.es&gt;
>&gt;To: Ahmed Mustafa
&lt;mailto:ahmed.mustafa@sbcglobal.net&gt;
>&gt;Cc: ccielab@groupstudy.com
&lt;mailto:ccielab@groupstudy.com&gt;
>&gt;Sent: Sunday, May 30, 2004 8:38 PM
>&gt;Subject: RE: summary route
>&gt;
>&gt;Ahmed, auto-summary is not only used when redistributing igp
into bgp.
>&gt;Suppose you have the subnet 156.1.2.0/24 in your local routing
table. If
>
>you
>&gt;enable auto-summary and configure network 156.1.0.0 under BGP,
you will
>&gt;advertise this route as a classful network. &gt;
&gt;Attaching a
>prefix-list is only policing traffic. This is not a way to
&gt;advertise a
>network. There 4 ways to advertise: &gt; &gt;redistribute
&gt;network
>&gt;aggregate &gt;bgp inject-map &gt; &gt;So you
solution should come from
>one of these four ways, &gt; &gt;HTH, &gt; &gt;
&gt;--Richard &gt; &gt; &gt; >&gt;-----Original
Message-----
>&gt;From: Ahmed Mustafa [mailto:ahmed.mustafa@sbcglobal.net]
>&gt;Sent: lunes, 31 de mayo de 2004 4:58
>&gt;To: Richard Dumoulin
>&gt;Subject: Re: summary route
>&gt;
>&gt;
>&gt;Richard,
>&gt;
>&gt;I am confused. Under BGP process, the auto-summary keyword is
only used
>
>if
>&gt;I redistribute the route. CCIE labs don't allow to create a
static
>route,
>&gt;so that option is no permittable.
>&gt;
>&gt;2nd option to use aggregate address with the summary-only
keyword. That
>
>is
>&gt;also restricted by the task I am currently doing >&gt;
>&gt;3rd option, I thought I could use prefix-list of 156.1.0.0/16
and attach
>
>it
>&gt;with the neighbor command under the BGP process, but you are
saying it
>won't
>&gt;work.
>&gt;
>&gt;Is it because that I have to have a same route 156.1.0.0/16 in
my
>routing
>&gt;table, and then prefix-list can allow only this route to be
>advertiseable to >&gt;the backbone, and then implicit deny will
deny all the subnets
of
>156.1.0.0
>&gt;network.
>&gt;
>&gt;Now the question is how to do that.
>&gt;
>&gt;May be I could just advertise the network 156.1.0.0 under bgp
process,
>that
>&gt;will create a 156.1.0.0 route in a BGP table though, not routing
table.
>&gt; &gt;I am lost. &gt; &gt;Any clue. &gt;
&gt;Ahmed &gt;
>&gt;----- Original Message -----
>&gt;From: Richard Dumoulin
&lt;mailto:richard.dumoulin@vanco.es&gt;
>&gt;To: Ahmed Mustafa
&lt;mailto:ahmed.mustafa@sbcglobal.net&gt; ;
>&gt;ccielab@groupstudy.com
&lt;mailto:ccielab@groupstudy.com&gt;
>&gt;Sent: Sunday, May 30, 2004 7:04 PM
>&gt;Subject: RE: summary route
>&gt;
>&gt;
>&gt;I don't see how you would end up advertising the route. With the
>prefix-list >&gt;you are just allowing it. I can see three
options: --Aggregate
command
>&gt;--&quot;auto-summary&quot; + &quot;network
156.1.0.0&quot; under the bgp
>
>process. --you
>&gt;summarise in igp and redistribute it into bgp , >&gt;
>&gt;As the first two options use bgp summary features I would do the
last
>one,
>&gt;
>&gt;HTH,
>&gt;
>&gt;--Richard
>&gt;
>&gt;-----Original Message-----
>&gt;From: Ahmed Mustafa [mailto:ahmed.mustafa@sbcglobal.net
>&gt;&lt;mailto:ahmed.mustafa@sbcglobal.net&gt; ]
>&gt;Sent: lunes, 31 de mayo de 2004 3:44
>&gt;To: ccielab@groupstudy.com
>&gt;Subject: summary route
>&gt;
>&gt;
>&gt;If I want to announce a summary route of my internal network
towards the
>&gt;Backbone router, and not allowed to use the route-summary in
BGP. &gt;
>&gt; &gt;Will the following solution work: &gt; &gt;
&gt;ip prefix-list TOBB
>permit 156.1.0.0/16 -------------------&gt; >Assuming my
>&gt;internal network is comprise of 156.1.0.0/16 network, and
scattered
>&gt;throughout the netowork with /24 bit mask. &gt; &gt;
&gt; &gt;router bgp
>100 &gt;neighbor 1.1.1.1 remote-as 230 &gt;neighbor 1.1.1.1
prefix-list TOBB
>out &gt; &gt; &gt;I didn't use the command
aggregate-address. I am assuming
>by saying not
>use
>&gt;route-summary means I can't use aggregation. >&gt;
>&gt; >&gt;The implicit deny at the end should block all the
longer routes.
&gt;
>&gt;Please advise &gt;
>&gt;________________________________________________________________
_
>&gt;MSN Premium helps eliminate e-mail viruses. Get 2 months FREE*
>&gt;http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&a
mp;xAPID=1994&am
>p;DI=1034&amp;SU=htt
>&gt;p://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines
> >_________________________________________________________________
>MSN Premium with Virus Guard and Firewall* from McAfee(r) Security : 2
>months
>FREE*
>http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&am
p;DI=1034&SU=htt
>p://hotmail.com/enca&HL=Market_MSNIS_Taglines
This archive was generated by hypermail 2.1.4 : Sat Jul 03 2004 - 19:40:30 GMT-3