[prev in list] [next in list] [prev in thread] [next in thread]
List: quagga-users
Subject: [quagga-users 12146] Re: redistribution of BGP Internal routes is
From: vinnakota chaitanya <chaitanyaa_v () yahoo ! com>
Date: 2011-03-10 12:06:36
Message-ID: 244602.67309.qm () web35604 ! mail ! mud ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi Tyler,
Thanks for the
reply.
Now , I've few questions
>> From R2, run "show ip bgp
neighbors <R1 IP>
advertised-routes". You can
>> only advertise and receive
routes from
adjacent neighbors, not any other
>> router in the
network.
Did you mean that
whatever routes R1 learned from R3 i.e N/W X , R4 i.e N/W Y are not
advertised to R2. What command has to be given to advertise them.
>>I don't know which routers
you ran the
>>commands on, nor which IPs
correspond to which routers.
>> bgpd#
show ip bgp neighbors 12.12.12.2
advertised-routes
I issued this command on R1 which is part of both AS1 and AS2. The
error is
displayed for AS2 neighbor i.e 12.12.12.2. R1 is properly
displaying the neighbors that are part of AS1 i.e R3 [9.9.9.2] ,
R4[11.11.11.2] .
>>
From R2, run "show ip bgp neighbors <R1 IP>
advertised-routes".
bgpd# show ip
bgp neighbors 12.12.12.1
advertised-routes
In router R2
it is properly displaying it's neighbor as 12.12.12.1 with AS 7676.
The
same command when issued in R1 it is throwing "No Such Neighbor" error.
The
below is the topology with IP addresses:
R1[AS2]12.12.12.1
____________12.12.12.2R2[AS2]--------Internal Mac X [4.4.4.10]
|
| [AS1] 9.9.9.1
| 9.9.9.2
|________R3[ AS1]---------------------Internal Mac Y[3.3.3.10]
|
| [AS1] 11.11.11.1
| 11.11.11.2
|_________R4[AS1]--------------------------- Internal Mac X[2.2.2.10]
The
routers R2,R3,R4 also advertised their internal networks and R1
received the same.
From R1 the internal networks of R2 , R3, R4 can be reached i.e "from R1 I'm able to reach to
2.2.2.10,3.3.3.10 and 4.4.4.10"
But .....
A. From R3 , R4
I'm unable to reach to 4.4.4.10
B. From R2 I'm unable to reach
2.2.2.10,3.3.3.10
What needs to be done to achieve A , B ?
Thanks
Chaitanya
---
On Thu, 3/10/11, Tyler J. Wagner <tyler@tolaris.com>
wrote:
From: Tyler J. Wagner
<tyler@tolaris.com>
Subject: Re: [quagga-users 12143] Re:
redistribution of BGP Internal routes is not happening across two
different AS'es
To: "vinnakota chaitanya"
<chaitanyaa_v@yahoo.com>
Date: Thursday, March 10, 2011, 4:43
PM
Hi Ninnakota,
You've
left out some details, so I don't know which routers you ran
the
commands on, nor which IPs correspond to which routers.
From
R2, run "show ip bgp neighbors <R1 IP> advertised-routes". You
can
only advertise and receive routes from adjacent neighbors, not
any other
router in the network.
Use advertised-routes and
received-routes to see what's being announced
between nodes, and
debug from there.
Tyler
On Thu, 2011-03-10 at 00:09 -0800,
vinnakota chaitanya wrote:
>
> Hi Tyler,
> I'm not
doing any filtering at any routers.
>
> >>"show ip
bgp neighbors A.B.C.D advertised-routes"?
> When I issued this
command in R1. It properly displayed for AS1
> neighbors i.e for
R3 and R4 , but the same command reported error for
> AS2 neighbor
R2 as
> "No Such Neighbor". I think once this issue is
addressed the internal
> machines[X,Y,Z] can be accessed
>
>
> R1[AS2]12.12.12.1
________________ 12.12.12.2R2[AS2]--------Internal
> |
>
| [AS1]
> |_________R3[
AS1]---------------------Internal Machine Y
> |
> |
[AS1]
> |_________R4[AS1]---------------------------
Internal Machine X
>
> The below is my bgpd.conf:
9.9.9.2---->R3 , 11.11.11.2--->R4,
> 12.12.12.2--->R2
>
9.9.9.1 , 11.11.11.1 ----> R1
> bgp multiple-instance
> !
>
router bgp 7675
> bgp router-id 9.9.9.1
> network
11.11.11.0/24
> network 9.9.9.0/24
> neighbor 9.9.9.2
remote-as 7675
> neighbor 11.11.11.2 remote-as 7675
>
timers bgp 180 180
> redistribute connected
> redistribute
static
>
> router bgp 7676
> bgp router-id
12.12.12.1
> network 12.12.12.0/24
> neighbor 12.12.12.2
remote-as 7676
> timers bgp 180 180
> redistribute static
>
redistribute connected
> access-list all permit any
> log
stdout
>
> The command
> bgpd# show ip bgp
neighbors 12.12.12.2 advertised-routes
> displayed
> "No
Such Neighbor"
>
> --- On Thu, 3/10/11, Tyler J. Wagner
<tyler@tolaris.com> wrote:
>
>
From: Tyler J. Wagner <tyler@tolaris.com>
>
Subject: Re: [quagga-users 12143] Re: redistribution of BGP
>
Internal routes
is not happening across two different AS'es
> To:
"vinnakota chaitanya" <chaitanyaa_v@yahoo.com>
>
Date: Thursday, March 10, 2011, 12:10 PM
>
>
On Wed, 2011-03-09 at 21:00 -0800, vinnakota chaitanya wrote:
>
> The internal n/w's X,Y,Z do not use any dynamic routing
>
protocols.
> > The remaining routers
R1,R2,R3,R4 all use BGP .
> > I also tested by using
the command "redistribute static" in
> R1 but
>
>
still R1 is not advertising X,Y,Z routes.
>
>
How do X,Y,Z get these routes? Static routes in quagga or
>
outside quagga
> using "route" or "ip route"? The last
thing to try is:
>
> router bgp 1
>
redistribute static
>
> Finally, are
you doing any filtering at either router? are you
>
checking
> what BGP is sending with "show ip bgp
neighbors A.B.C.D
> advertised-routes"?
>
>
Regards,
> Tyler
>
>
--
> "Cheops' Law: Nothing ever gets built on schedule
or within
> budget."
> -- Lazarus Long,
"Time Enough for Love", by Robert A.
> Heinlein
>
>
>
--
"Few understand the
threat of non-consensual trepanation."
-- Jamie Zawinski
[Attachment #5 (text/html)]
<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;">Hi Tyler,<br><br>Thanks for the reply.<br>Now , I've few questions<br \
style="color: rgb(192, 0, 0);"><span style="color: rgb(192, 0, 0);">>> From R2, \
run "show ip bgp neighbors <R1 IP>
advertised-routes". You can</span><br style="color: rgb(192, 0, 0);"><span \
style="color: rgb(192, 0, 0);">>> only advertise and receive routes from
adjacent neighbors, not any other</span><br style="color: rgb(192, 0, 0);"><span \
style="color: rgb(192, 0, 0);">>> router in the network.</span><br \
style="color: rgb(0, 255, 255);"> Did you mean that whatever routes R1 \
learned from R3 i.e N/W X , R4 i.e N/W Y are not advertised to R2. What \
command has to be given to advertise them.<br><span style="color: rgb(192, 0, \
0);"><br>>>I don't know which routers you ran the</span><br style="color: \
rgb(192, 0, 0);"><span style="color: rgb(192, 0, 0);">>>commands on, nor which \
IPs correspond to which routers.</span><br style="color: rgb(192, 0, 0);">
<span style="color: rgb(192, 0, 0); font-weight: bold;">>> bgpd#
show ip bgp neighbors 12.12.12.2
advertised-routes </span><br><span style="color: rgb(192, 0, \
0);"></span><br> I issued this command on R1 which is part of both \
AS1 and AS2. The error is <br>displayed for AS2 neighbor i.e 12.12.12.2. R1 is \
properly displaying the neighbors that are part of AS1 i.e R3 [9.9.9.2] ,
R4[11.11.11.2] . <br><br><span style="color: rgb(192, 0, 0);">>>
From R2, run "show ip bgp neighbors <R1 IP>
advertised-routes".</span><br><br><span style="color: rgb(0, 0, 0); font-weight: \
bold;">bgpd# show ip bgp neighbors 12.12.12.1
advertised-routes </span><br style="color: rgb(0, 0, 0);">In router R2
it is properly displaying it's neighbor as 12.12.12.1 with AS 7676.<br>The
same command when issued in R1 it is throwing "No Such Neighbor" \
error.<br><br><br>The below is the topology with <span style="border-bottom: 2px \
dotted rgb(54, 99, 136); cursor: pointer;" class="yshortcuts" id="lw_1299758689_0">IP \
addresses</span>:<br> R1[AS2]12.12.12.1 \
____________12.12.12.2R2[AS2]--------Internal Mac X [4.4.4.10]<br> \
|<br> | [AS1] 9.9.9.1 <br> \
| 9.9.9.2 \
<br> |________R3[ AS1]---------------------Internal Mac \
Y[3.3.3.10]<br>
|<br> | [AS1] \
11.11.11.1<br> \
| 11.11.11.2 \
<br>
> _________R4[AS1]--------------------------- Internal Mac X[2.2.2.10]<br><br>The
routers R2,R3,R4 also advertised their internal networks and R1
received the same.<br>
From R1 the internal networks of R2 , R3, R4 can be reached i.e <span \
style="font-weight: bold;">"from R1 I'm able to reach to 2.2.2.10,3.3.3.10 and \
4.4.4.10"</span><br>But .....<br>A. From R3 , R4 I'm unable to reach to \
4.4.4.10<br>B. From R2 I'm unable to reach 2.2.2.10,3.3.3.10<br><br>What needs to be \
done to achieve A , B ?<br><br><br>Thanks<br>Chaitanya<br> <br>--- On <b>Thu, \
3/10/11, Tyler J. Wagner <i><<span style="border-bottom: 2px dotted rgb(54, 99, \
136); cursor: pointer; background: none repeat scroll 0% 0% transparent;" \
class="yshortcuts" id="lw_1299758689_1">tyler@tolaris.com</span>></i></b> \
wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: \
5px; padding-left: 5px;"><br>From: Tyler J. Wagner \
<tyler@tolaris.com><br>Subject: Re: [quagga-users 12143] Re: redistribution of \
BGP Internal routes is not happening across two different AS'es<br>To: "vinnakota \
chaitanya" <chaitanyaa_v@yahoo.com><br>Date: Thursday, March 10, 2011, 4:43
PM<br><br><div class="yiv1623604560plainMail">Hi Ninnakota,<br><br>You've
left out some details, so I don't know which routers you ran
the<br>commands on, nor which IPs correspond to which routers.<br><br>From
R2, run "show ip bgp neighbors <R1 IP> advertised-routes". You
can<br>only advertise and receive routes from adjacent neighbors, not
any other<br>router in the network.<br><br>Use advertised-routes and
received-routes to see what's being announced<br>between nodes, and
debug from there.<br><br>Tyler<br><br>On Thu, 2011-03-10 at 00:09 -0800,
vinnakota chaitanya wrote:<br>> <br>> Hi Tyler,<br>> I'm not
doing any filtering at any routers.<br>> <br>> >>"show ip
bgp neighbors A.B.C.D advertised-routes"?<br>> When I issued this
command in R1. It properly displayed for AS1<br>> neighbors i.e for
R3 and R4 , but the same command reported error for<br>> AS2 neighbor
R2 as <br>> "No Such Neighbor". I think once this issue is
addressed the internal<br>> machines[X,Y,Z] can be accessed<br>> <br>>
<br>> R1[AS2]12.12.12.1
________________ 12.12.12.2R2[AS2]--------Internal <br>> \
|<br>> | [AS1]<br>> \
|_________R3[ AS1]---------------------Internal Machine Y<br>> \
|<br>> | [AS1]<br>> \
|_________R4[AS1]--------------------------- Internal Machine X<br>> <br>> The \
below is my bgpd.conf: 9.9.9.2---->R3 , 11.11.11.2--->R4,<br>> \
12.12.12.2--->R2<br>> 9.9.9.1 , 11.11.11.1 ----> R1<br>> bgp \
multiple-instance<br>> !<br>> router bgp 7675<br>> bgp router-id \
9.9.9.1<br>> network 11.11.11.0/24<br>> network \
9.9.9.0/24<br>> neighbor 9.9.9.2 remote-as 7675<br>> neighbor \
11.11.11.2 remote-as 7675<br>> timers bgp 180 180<br>> \
redistribute connected<br>> redistribute static<br>> <br>> router bgp \
7676<br>> bgp router-id 12.12.12.1<br>> network \
12.12.12.0/24<br>> neighbor 12.12.12.2 remote-as 7676<br>> timers \
bgp 180 180<br>> redistribute static<br>> redistribute \
connected<br>> access-list all permit any<br>> log stdout<br>> \
<br>> The command <br>> bgpd# show ip bgp neighbors 12.12.12.2 \
advertised-routes <br>> displayed<br>> "No Such Neighbor"<br>> <br>> --- \
On Thu, 3/10/11, Tyler J. Wagner <<a rel="nofollow">tyler@tolaris.com</a>> \
wrote:<br>> <br>> \
From: Tyler J. Wagner <<a \
rel="nofollow">tyler@tolaris.com</a>><br>> \
Subject: Re: [quagga-users 12143] Re: redistribution of \
BGP<br>> Internal routes
is not happening across two different AS'es<br>> \
To: "vinnakota chaitanya" <<a \
rel="nofollow">chaitanyaa_v@yahoo.com</a>><br>> \
Date: Thursday, March 10, 2011, 12:10 PM<br>> \
<br>> On Wed, \
2011-03-09 at 21:00 -0800, vinnakota chaitanya wrote:<br>> \
> The internal n/w's X,Y,Z do not use any dynamic \
routing<br>> protocols.<br>> \
> The remaining routers R1,R2,R3,R4 all use BGP \
.<br>> > I also tested by using the \
command "redistribute static" in<br>> R1 \
but<br>> >
still R1 is not advertising X,Y,Z routes.<br>> \
<br>> How do X,Y,Z get \
these routes? <span style="border-bottom: 2px dotted rgb(54, 99, 136); cursor: \
pointer;" class="yshortcuts" id="lw_1299758689_2">Static routes</span> in quagga \
or<br>> outside quagga<br>> \
using "route" or "ip route"? The last thing to try \
is:<br>> <br>> \
router bgp 1<br>> \
redistribute static <br>> \
<br>> Finally, are you \
doing any filtering at either router? are you<br>> \
checking<br>> what BGP is \
sending with "show ip bgp neighbors A.B.C.D<br>> \
advertised-routes"?<br>> \
<br>>
Regards,<br>> \
Tyler<br>> <br>> \
-- <br>> \
"Cheops' Law: Nothing ever gets built on schedule or \
within<br>> budget."<br>> \
-- Lazarus Long, "Time Enough for Love", by Robert \
A.<br>> Heinlein<br>> \
<br>> <br>> \
<br><br>-- <br>"Few understand the threat of non-consensual \
trepanation."<br> -- Jamie \
Zawinski<br><br></div></blockquote></td></tr></table><br>
_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic