Analog of "network" command

Eric Leblond eleblond at init-sys.com
Wed Jul 16 11:49:43 CEST 2003


On Fri, 2003-07-11 at 03:21, Yury Bokhoncovich wrote:
> Hello!
> router bgp 65534
> neighbor 192.168.33.33 remote-as 65533 
> network 192.168.2.0 mask 255.255.254.0
> ===================
> This effectively announces 192.168.2.0/23 for my peer 65533 (and possibly 
> for others).

Use static protocol :


protocol static {
        route 192.168.2.0/24 via ONEIPICANREACH;
}

then you can do :

protocol bgp {
        local as 20;
        neighbor 192.131.131.31 as 17;
        export where source=RTS_STATIC;
}

And you just export the route you defined in STATIC

BR,
-- 
Eric Leblond <eleblond at init-sys.com>
Alphalink




More information about the Bird-users mailing list