[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quagga-dev
Subject:    [quagga-dev 5119] Re: BGP: loopback as neighbor update-source seems
From:       "Eduardo Petry" <epetry () gmail ! com>
Date:       2007-10-26 12:32:40
Message-ID: 4d553120710260532r2865e5fcl105b7e9fb19b00cf () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 10/21/07, Paul Jakma <Paul.Jakma@sun.com> wrote:
>
> On Fri, 19 Oct 2007, Eduardo Petry wrote:
>
> > I've entered the configuration below in 2 Switches. They are running
> > bgpd e zebra daemon in background (Quagga version 0.98.6). They
> > doesn't advertise the routes to both equipments; that's the problem.
>
> > neighbor 1.1.1.2 update-source lo:0
>
> Better, specify an IP address: It's then obvious which address you'll
> get, and it'll work whether zebra is running or not.


Hello,
I changed the configuration (take a look in "neighbor <ip> update-source
<...>" command),
but it doesn't work yet.
I'll appreciate some help. Thank you !

AAA#
!
ip route 111.111.111.111/28 33.33.33.33  << a static route to be
announced by Switch AAA. >>
!
ip routing
!
router bgp 1
 network 1.1.1.0/24
 redistribute connected
 redistribute static
 neighbor 22.22.22.22 remote-as 2
 neighbor 22.22.22.22 update-source 11.11.11.11
!
interface vlan 1
 ip address 1.1.1.1/24
 set-member untagged ethernet all
!
interface loopback 0
 ip address 11.11.11.11/29
<< as I mentioned in my last e-mail, the kernel adds this IP address
to lo interface (lo:0),
  keeping 127.0.0.1 as "main" lo IP address.
  It's analog to the Switch BBB >>
!
------------------------------------------
BBB#
!
ip route 44.55.66.77/24 22.33.44.55  << a static route to be announced
by Switch BBB. >>
!
ip routing
!
router bgp 2
 network 1.1.1.0/24
 redistribute connected
 redistribute static
 neighbor 11.11.11.11 remote-as 1
 neighbor 11.11.11.11 update-source 22.22.22.22
!
interface vlan 1
 ip address 1.1.1.2/24
 set-member untagged ethernet all
!
interface loopback 0
 ip address 22.22.22.22/29
!

[Attachment #5 (text/html)]

On 10/21/07, <b class="gmail_sendername">Paul Jakma</b> &lt;<a \
href="mailto:Paul.Jakma@sun.com">Paul.Jakma@sun.com</a>&gt; wrote:<div><span \
class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px \
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On Fri, 19 \
Oct 2007, Eduardo Petry wrote:<br><br>&gt; I&#39;ve entered the configuration below \
in 2 Switches. They are running<br>&gt; bgpd e zebra daemon in background (Quagga \
version 0.98.6). They<br>&gt; doesn&#39;t advertise the routes to both equipments; \
that&#39;s the problem. <br><br>&gt; neighbor <a href="http://1.1.1.2">1.1.1.2</a> \
update-source lo:0<br><br>Better, specify an IP address: It&#39;s then obvious which \
address you&#39;ll<br>get, and it&#39;ll work whether zebra is running or not. \
</blockquote><div><br>Hello,<br>I changed the configuration (take a look in \
&quot;neighbor &lt;ip&gt; update-source &lt;...&gt;&quot; command),<br>but it \
doesn&#39;t work yet. <br>I&#39;ll appreciate some help. Thank you ! <br><pre \
id="comment_text_6">AAA#<br>!<br>ip route <a \
href="http://111.111.111.111/28">111.111.111.111/28</a> <a \
href="http://33.33.33.33">33.33.33.33</a>  &lt;&lt; a static route to be announced by \
                Switch AAA. &gt;&gt;<br>
!<br>ip routing<br>!<br>router bgp 1<br>&nbsp;network <a \
href="http://1.1.1.0/24">1.1.1.0/24</a><br>&nbsp;redistribute connected<br> \
redistribute static<br> neighbor <a href="http://22.22.22.22">22.22.22.22</a> \
remote-as 2<br> neighbor  <a href="http://22.22.22.22">22.22.22.22</a> update-source \
<a href="http://11.11.11.11">11.11.11.11</a><br>!<br>interface vlan 1<br> ip address \
<a href="http://1.1.1.1/24">1.1.1.1/24</a><br> set-member untagged ethernet all \
<br>!<br>interface loopback 0<br> ip address <a \
href="http://11.11.11.11/29">11.11.11.11/29</a>  <br>&lt;&lt; as I mentioned in my \
last e-mail, the kernel adds this IP address to lo interface (lo:0),<br>  keeping <a \
href="http://127.0.0.1"> 127.0.0.1</a> as &quot;main&quot; lo IP address.<br>  \
It&#39;s analog to the Switch BBB &gt;&gt;<br>! \
<br>------------------------------------------<br>BBB#<br>!<br>ip route <a \
href="http://44.55.66.77/24">44.55.66.77/24</a> <a \
href="http://22.33.44.55">22.33.44.55</a>  &lt;&lt; a static route to be announced by \
Switch BBB. &gt;&gt; <br>!<br>ip routing<br>!<br>router bgp 2<br> network <a \
href="http://1.1.1.0/24">1.1.1.0/24</a><br> redistribute \
connected<br>&nbsp;redistribute static<br>&nbsp;neighbor <a \
href="http://11.11.11.11">11.11.11.11</a> remote-as 1<br> neighbor  <a \
href="http://11.11.11.11">11.11.11.11</a> update-source <a \
href="http://22.22.22.22">22.22.22.22</a><br>!<br>interface vlan 1<br> ip address <a \
href="http://1.1.1.2/24">1.1.1.2/24</a><br> set-member untagged ethernet all \
<br>!<br>interface loopback 0<br> ip address <a \
href="http://22.22.22.22/29">22.22.22.22/29</a><br>!</pre>&nbsp;</div></div>



_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic