Antwort: High-availability BGP with BIRD

Thomas Johnson tom at claimlynx.com
Thu Aug 22 14:22:12 CEST 2013


Daniel, thanks for the confirmation that I'm not completely crazy.

I probably should have mentioned it my initial message, but didn't in the
interest of clarity. We will be connecting two uplinks to these routers,
and the intention is to receive a full BGP table from each. Additionally,
we are peering with a local exchange. The routers have 4GB RAM each, which
we assumed would be more than sufficient. Is this accurate? How about with
IPv6 on top?

Thanks!

TJ
On Aug 22, 2013 4:05 AM, "Daniel Gomez" <Daniel.Gomez at synaix.de> wrote:

>
>
>
>
> Hi Thomas,
>
> That is not a bad idea. It is possible to make High Availability on the LAN
> interfaces and to have two different eBGP Sessions on the WAN interfaces.
>
> Since you are "peering" with just one ISP router do not accept Full BGP
> Table from it. It will consume a hughe amount of RAM memory that your
> system can use for forwarding puposes.
>
> Do not forget to do iBGP between your routers, it will save you from
> routing loops.
>
> In relation to the /29, it depends on your provider. If you pay for it I do
> not think it is a problem ;).
>
> Greetings,
>
> Daniel
>
>
>
> Von:    Thomas Johnson <tom at claimlynx.com>
> An:     bird-users at trubka.network.cz
> Datum:  22.08.2013 03:08
> Betreff:        High-availability BGP with BIRD
> Gesendet von:   owner-bird-users at atrey.karlin.mff.cuni.cz
>
>
>
> Please let me know if bird-users is not the appropriate place for this
> post; admittedly it is more of a "best practices" question...
>
> I am in the process of trying to develop a plan for deploying BGP in a
> high-availability configuration, using a pair of FreeBSD hosts running
> BIRD. A number of questions have come up, leaving me unsure how to
> proceed. The fact that this is my first experience with BGP doesn't
> help matters. The following diagram outlines how I envision the
> [physical] configuration.
>
>                   +----------+
>            +------+ router-a +-------+
>     xxxxxxxx      +----------+       |
>    xx      xx                     +--+-----+       +------------+
>   xx  LAN   x                     + switch +-------| ISP router |
>   x        xx                     +--+-----+       +------------+
>   xx   xxxxx      +----------+       |
>    xxxxx   +------+ router-b +-------+
>                   +----------+
>
> I dumped this in a pastebin, in case my mail client mauls
> it..http://pastebin.com/rDTDMA7j
>
> In this scenario, router-a and router-b are running FreeBSD, with CARP
> to provide a virtual IP for failover. The two routers act in a
> failover manner, with router-b taking over the virtual IP upon failure
> of router-a. The goal is to maintain the fast failover (seconds) that
> I get from CARP in non-BGP configurations. I am wondering if the
> following method is a common/feasible/best solution.
>
> Under normal conditions.
> * BOTH router-a and router-b establish BGP sessions to the ISP. This
> way, each router has a copy of the BGP routing table in memory, ready
> to go.
> * router-a advertises my prefixes to the ISP router.
> * all regular traffic is handled by router-a.
>
> If router-a fails.
> * Programmatically update the router-b BIRD config to begin
> advertising prefixes.
> * router-b already has the BGP table in memory, so routing can resume
> immediately.
>
> Is there a better way to achieve this? Will my ISP laugh at me when I
> ask them to assign me a /29, and allow me to run two BGP sessions?
>
> Thank you!
> TJ
>
> --
> This e-mail and any files transmitted with it are confidential and are
> intended solely for the use of the individual or entity to whom they are
> addressed. If you are not the intended recipient or the individual
> responsible for delivering the e-mail to the intended recipient, please be
> advised that you have received this e-mail in error and that any use,
> dissemination, forwarding, printing, or copying of this e-mail is strictly
> prohibited.
>
> If you have received this communication in error, please return it to the
> sender immediately and delete the original message and any copy of it from
> your computer system. If you have any questions concerning this message,
> please contact the sender or call ClaimLynx at (952) 593-5969.
>
>
>
>

-- 
This e-mail and any files transmitted with it are confidential and are 
intended solely for the use of the individual or entity to whom they are 
addressed. If you are not the intended recipient or the individual 
responsible for delivering the e-mail to the intended recipient, please be 
advised that you have received this e-mail in error and that any use, 
dissemination, forwarding, printing, or copying of this e-mail is strictly 
prohibited.

If you have received this communication in error, please return it to the 
sender immediately and delete the original message and any copy of it from 
your computer system. If you have any questions concerning this message, 
please contact the sender or call ClaimLynx at (952) 593-5969.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20130822/436f090f/attachment-0001.html>


More information about the Bird-users mailing list