Hi.

Something like:

template bgp bgp_local {
        local as my_as;
        import filter import_bgp;
        export filter export_bgp;
multihop;
        rr client;
        rr cluster id 1.0.0.1;
}

# R2 - also RR; import all routes from it
protocol bgp bgp_peer_r2 from bgp_local {
        description "R2";
        neighbor x.x.x.x as my_as;
        import all;
}

# C1 - client
protocol bgp bgp_peer_c1 from bgp_local {
        description "C1";
        neighbor x.x.x.y as my_as;
}

cluster id should be same on all RRs.

On 18.09.2017 15:11, Gelderman, Richard wrote:

Hi Andrew,

As I am new to Bird I can not find a good example how to create a RR cluster with two routers R1 + R2.

Do you have experience with a RR cluster with multiple routers? My biggest question is acquily how to config the

sessions between R1 + R2 as clustermembers without creating a loop.

Regards, Richard

*Van:*Andrew [mailto:[email protected]]
*Verzonden:* donderdag 7 september 2017 16:55
*Aan:* Gelderman, Richard <[email protected]>
*Onderwerp:* Re: Bird redundant routers with same AS on same location and prefix delegation to lower router

You may redistribute all routes between R1 and R2 using RR (both received from R3 and received from uplinks), and redistribute just default to R3 using separate table (with static default and routes peering to main table).

On 07.09.2017 17:38, Gelderman, Richard wrote:

    Hi Adrew,

    I thought about this option, I don’t want to pass a full BGP table
    towards R3.

    In other words R1 + R2 should be used for routing for all routes
    and R3 should only

    route net A and net B and must route through to reach other networks.

    Regards, Richard

    *Van:*Bird-users [mailto:[email protected]] *Namens
    *Andrew
    *Verzonden:* donderdag 7 september 2017 15:06
    *Aan:* [email protected] <mailto:[email protected]>
    *Onderwerp:* Re: Bird redundant routers with same AS on same
    location and prefix delegation to lower router

    Hi.

    You should configure R1 and R2 as route reflectors.


    On 07.09.2017 14:17, Gelderman, Richard wrote:

        I am trying to achieve a redundant routing setup with two
        routers with the same ASN who do prefix delegation to a lower
        router.

        The setup is the following:

               AS1000 ISP1    ISP2 AS2000

                       |           |

                       |           |

           AS10000    R1 ======== R2 AS10000

        prefix /22     \   iBGP   /  prefix /22

                        \        /

                         \      /

                          \    /

                           R3 AS65000

                           /  \

                          /    \

                     net A      net B

                 prefix /24     prefix /24

        Does anybody has experience with this kind of setup?

        Regards,

        Richard


Reply via email to