[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);">&gt;&gt; From R2, \
run "show ip bgp  neighbors &lt;R1 IP&gt; 
advertised-routes". You can</span><br style="color: rgb(192, 0, 0);"><span \
style="color: rgb(192, 0, 0);">&gt;&gt; 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);">&gt;&gt; router in the  network.</span><br \
style="color: rgb(0, 255, 255);">&nbsp;Did you mean that  whatever routes R1 \
learned&nbsp; 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>&gt;&gt;I don't know which routers  you ran the</span><br style="color: \
rgb(192, 0, 0);"><span style="color: rgb(192, 0, 0);">&gt;&gt;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;">&gt;&gt; bgpd#&nbsp; 
show ip bgp neighbors 12.12.12.2 
advertised-routes </span><br><span style="color: rgb(192, 0, \
0);"></span><br>&nbsp;&nbsp;&nbsp;  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&nbsp; AS1 i.e R3 [9.9.9.2] , 
R4[11.11.11.2] . <br><br><span style="color: rgb(192, 0, 0);">&gt;&gt; 
From R2, run "show ip bgp neighbors &lt;R1 IP&gt; 
advertised-routes".</span><br><br><span style="color: rgb(0, 0, 0); font-weight: \
bold;">bgpd#&nbsp; 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>&nbsp;R1[AS2]12.12.12.1  \
____________12.12.12.2R2[AS2]--------Internal Mac X [4.4.4.10]<br>&nbsp; &nbsp; \
&nbsp; |<br>&nbsp;  &nbsp; &nbsp; | [AS1] 9.9.9.1 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9.9.9.2 &nbsp; \
<br>&nbsp;  &nbsp; &nbsp; |________R3[ AS1]---------------------Internal Mac \
Y[3.3.3.10]<br>&nbsp;  &nbsp;
 &nbsp; |<br>&nbsp; &nbsp; &nbsp; | [AS1]&nbsp; \
11.11.11.1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11.11.11.2 \
<br>&nbsp;  &nbsp; &nbsp; 
> _________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>&nbsp;<br>---  On <b>Thu, \
3/10/11, Tyler J. Wagner <i>&lt;<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>&gt;</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  \
&lt;tyler@tolaris.com&gt;<br>Subject: Re: [quagga-users 12143] Re:  redistribution of \
BGP Internal routes is not happening across two  different AS'es<br>To: "vinnakota \
chaitanya"  &lt;chaitanyaa_v@yahoo.com&gt;<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 &lt;R1 IP&gt; 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>&gt; <br>&gt; Hi Tyler,<br>&gt; I'm not 
doing any filtering at any&nbsp; routers.<br>&gt; <br>&gt; &gt;&gt;"show ip 
bgp neighbors A.B.C.D advertised-routes"?<br>&gt; When I issued this 
command in R1. It properly displayed for AS1<br>&gt; neighbors i.e for 
R3 and R4 , but the same command reported error for<br>&gt; AS2 neighbor
 R2 as <br>&gt;&nbsp; "No Such Neighbor". I think once this issue is 
addressed the internal<br>&gt; machines[X,Y,Z]&nbsp; can be accessed<br>&gt; <br>&gt;
 <br>&gt; R1[AS2]12.12.12.1
 ________________ 12.12.12.2R2[AS2]--------Internal&nbsp; <br>&gt;&nbsp; &nbsp; \
&nbsp; |<br>&gt;&nbsp;  &nbsp; &nbsp; | [AS1]<br>&gt;&nbsp; &nbsp; &nbsp; \
|_________R3[  AS1]---------------------Internal Machine Y<br>&gt;&nbsp; &nbsp; \
&nbsp; |<br>&gt;&nbsp; &nbsp; &nbsp; |  [AS1]<br>&gt;&nbsp; &nbsp; &nbsp; \
|_________R4[AS1]---------------------------  Internal Machine X<br>&gt; <br>&gt; The \
below is my bgpd.conf:&nbsp;  9.9.9.2----&gt;R3 , 11.11.11.2---&gt;R4,<br>&gt; \
12.12.12.2---&gt;R2<br>&gt;  9.9.9.1 , 11.11.11.1 ----&gt; R1<br>&gt; bgp \
multiple-instance<br>&gt; !<br>&gt;  router bgp 7675<br>&gt;&nbsp; bgp router-id \
9.9.9.1<br>&gt;&nbsp; network  11.11.11.0/24<br>&gt;&nbsp; network \
9.9.9.0/24<br>&gt;&nbsp; neighbor 9.9.9.2  remote-as 7675<br>&gt;&nbsp; neighbor \
11.11.11.2 remote-as 7675<br>&gt;&nbsp;  timers bgp 180 180<br>&gt;&nbsp; \
redistribute connected<br>&gt;&nbsp; redistribute  static<br>&gt; <br>&gt; router bgp \
7676<br>&gt;&nbsp; bgp router-id  12.12.12.1<br>&gt;&nbsp; network \
12.12.12.0/24<br>&gt;&nbsp; neighbor 12.12.12.2  remote-as 7676<br>&gt;&nbsp; timers \
bgp 180 180<br>&gt;&nbsp; redistribute static<br>&gt;&nbsp;  redistribute \
connected<br>&gt;&nbsp; access-list all permit any<br>&gt; log  stdout<br>&gt; \
<br>&gt; The command <br>&gt; bgpd#&nbsp; show ip bgp  neighbors 12.12.12.2 \
advertised-routes <br>&gt; displayed<br>&gt; "No  Such Neighbor"<br>&gt; <br>&gt; --- \
On Thu, 3/10/11, Tyler J. Wagner  &lt;<a rel="nofollow">tyler@tolaris.com</a>&gt; \
wrote:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp;  &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;From: Tyler J. Wagner &lt;<a \
rel="nofollow">tyler@tolaris.com</a>&gt;<br>&gt;&nbsp;  &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;Subject: Re: [quagga-users 12143] Re: redistribution of \
BGP<br>&gt;&nbsp;  &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Internal routes
 is not happening across two different AS'es<br>&gt;&nbsp; &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;To:  "vinnakota chaitanya" &lt;<a \
rel="nofollow">chaitanyaa_v@yahoo.com</a>&gt;<br>&gt;&nbsp;  &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;Date: Thursday, March 10, 2011, 12:10 PM<br>&gt;&nbsp; &nbsp; \
&nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp;  &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;On Wed, \
2011-03-09 at 21:00 -0800, vinnakota chaitanya wrote:<br>&gt;&nbsp;  &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;&gt; The internal n/w's&nbsp; X,Y,Z do not use any dynamic \
routing<br>&gt;&nbsp;  &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;protocols.<br>&gt;&nbsp; \
&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; The remaining routers  R1,R2,R3,R4 all use BGP \
.<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&gt; I also tested by using  the \
command "redistribute static" in<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;R1 \
but<br>&gt;&nbsp; &nbsp; &nbsp;  &nbsp;&nbsp;&nbsp;&gt;
 still R1 is not advertising X,Y,Z routes.<br>&gt;&nbsp; &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp;  &nbsp;&nbsp;&nbsp;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>&gt;&nbsp; &nbsp; &nbsp;  &nbsp;&nbsp;&nbsp;outside quagga<br>&gt;&nbsp; &nbsp; \
&nbsp; &nbsp;&nbsp;&nbsp;using "route" or "ip route"? The last  thing to try \
is:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;router bgp 1<br>&gt;&nbsp; &nbsp;  &nbsp; \
&nbsp;&nbsp;&nbsp;redistribute static <br>&gt;&nbsp; &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Finally, are  you \
doing any filtering at either router? are you<br>&gt;&nbsp; &nbsp; &nbsp;  \
&nbsp;&nbsp;&nbsp;checking<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;what BGP is \
sending with "show ip bgp  neighbors A.B.C.D<br>&gt;&nbsp; &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;advertised-routes"?<br>&gt;&nbsp; &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;<br>&gt;&nbsp;

 &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Regards,<br>&gt;&nbsp; &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;Tyler<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; \
&nbsp; &nbsp;  &nbsp;&nbsp;&nbsp;-- <br>&gt;&nbsp; &nbsp; &nbsp; \
&nbsp;&nbsp;&nbsp;"Cheops' Law: Nothing ever gets built on schedule  or \
within<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;budget."<br>&gt;&nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; -- Lazarus Long,  "Time Enough for Love", by Robert \
A.<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Heinlein<br>&gt;&nbsp; &nbsp;  \
&nbsp; &nbsp;&nbsp;&nbsp;<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<br>&gt; \
<br><br>-- <br>"Few understand the  threat of non-consensual \
trepanation."<br>&nbsp;&nbsp;&nbsp;-- 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