Propagating my IPs via BGP

Ondrej Filip feela at network.cz
Sun Dec 12 21:01:13 CET 2004


On Wed, 22 Sep 2004, Michal Kurka wrote:

> Hi.
>    I'm assuming that this list is in English only (no czech).

That's fine, we understand, that Czech is not language number 1. :-)

>    I use Bird for BGP-routing. I need to propagate to my ISP a new
> IP-segment (e.g. 100.101.102.0/24) newly assigned by RIPE. My config-file
> contains:
>
> ------------------------------------------------------------------
> log "/var/log/bird.log" all;
>
> protocol kernel {
>  persist;
>  scan time 20;
>  learn off;
>  export all;
> }
>
> protocol device {
>  scan time 10;
> }
>
> protocol bgp {
>  local as $MY_AS;
>  neighbor $ISP_PEER as $ISP_AS;
>  export all;
> }

Hmm, it should work. Try to use:

filter bgp_out {
         if (net = 100.101.102.0/24 ) && (source = RTS_DEVICE) then accept;
         else reject;
}

protocol bgp {
 	local as $MY_AS;
 	neighbor $ISP_PEER as $ISP_AS;
 	export filter bgp_out;
}

Does this work for you?

 			Ondrej


> ------------------------------------------------------------------
>
> I assigned IP 100.101.102.1/24 to an eth-device (direction to LAN) and I
> expected that Bird make scan a device and take an IP to BGP. But my ISP
> says that nothing received. Where have I a mistake?
>
> Thanks for answer.
>



More information about the Bird-users mailing list