On Wed, Nov 22, 2006 at 04:10:27PM +0100, Ludovic Collomb wrote:
> Hi,
>
> I use OpenBSD (3.8) / OpenBDGP and it works fine whith 3 ISP.
>
You should update to 4.0. ospfctl in 4.0 has options to show you incomming
and outgoing tables for each neighbor. This makes it easier to figure out
what is going on.
> I want to set outbound communutie to influence incoming traffic on 1 peer.
>
> Here is the end of my bgpd.conf :
>
> ---------------------------------
> [...]
> neighbor aaa.bbb.ccc.ddd {
> remote-as efg
> descr My-ISP
> local-address aaa.bbb.ccc.dde
> holdtime 30
> holdtime min 3
> announce self
> set localpref 200
> # I try to set community efg:xy42 ...
> set community efg:xy42
This here will tag all incomming prefixes of the neighbor with efg:xy42
which is the opposide of what you like to do.
> tcp md5sig password xxxxxxxxxx
> }
>
> # filter out prefixes longer than 24 or shorter than 8 bits
> deny from any
> allow from any prefixlen 8 - 24
>
> # do not accept a default route
> deny from any prefix 0.0.0.0/0
>
> # filter bogus networks
> deny from any prefix 10.0.0.0/8 prefixlen >= 8
> deny from any prefix 172.16.0.0/12 prefixlen >= 12
> deny from any prefix 192.168.0.0/16 prefixlen >= 16
> deny from any prefix 169.254.0.0/16 prefixlen >= 16
> deny from any prefix 192.0.2.0/24 prefixlen >= 24
> deny from any prefix 224.0.0.0/4 prefixlen >= 4
> deny from any prefix 240.0.0.0/4 prefixlen >= 4
>
> # and try to apply the filter attribute ...
> match to aaa.bbb.ccc.ddd set community efg:xy42
>
This one here should work unless I miss something obvious.
I remeber that some bugs where fixed in the community handling but setting
a single community should work.
> ---------------------------------
>
> But My-ISP doesn't receive community efg:xy42 .
>
> Where is the mistake ?
>
> I was not able to find doc or samples on BGP communities with OpenBGPD.
> Is there somebody have the same problem ?
>
Last time I tried they still worked. But 3.8 is way to long ago to remeber
...
--
:wq Claudio