BGP anouncing with two peers.

Damjan gdamjan at mail.net.mk
Tue Nov 20 15:04:40 CET 2001


Hello all,
I want to setup BIRD to anounce BGP routes for my AS. 
We have two backbone providers so I'll need to make two BGP
connections. I only need to anounce routes and don't want to
import them. I also want on the second BGP conection to prepend
our AS several times, so this route should be less prefered.

I have worked out a draft bird configuratioan, but some things
are unclear to me.

## bird.conf ##
protocol bgp one {
        local as 65333; # our AS (let say it is)
        neighbor peer.one.ip as [theiras];  # peer one and their AS
        multihop 20 via my.next.hop.ip;   # not directly connected  
        import none;
        export ;      # this part is not clear to me
                      # I want to export my whole a.b.c.d/19
                      # network. What do I put here.

        source address x.y.z.w; # The IP address of my router
}

protocol bgp one {
        local as 65333; # our AS (let say it is)
        neighbor peer.two.ip as [theiras];  # peer two and their AS
        multihop 20 via my.next.hop.ip;   # not directly connected  
        import none;
        export ;      # Same thing as above, but prepend our AS
                      # several times, so this route is less
                      # prefered

        source address x.y.z.w; # The IP address of my router
}



-- 
Damjan Georgievski		|           Дамјан Георгиевски
Skopje, Macedonia		|           Скопје, Македонија



More information about the Bird-users mailing list