Malformed AS_PATH workaround

Ondrej Zajicek santiago at crfreenet.org
Thu Mar 3 00:27:21 CET 2011


On Wed, Mar 02, 2011 at 10:31:44PM +0200, Alexander Shikoff wrote:
> Hello,
> 
> one of participants of our IXP trying to build BGP session with Route-server
> running bird v. 1.2.4. The problem is that customer uses BGP on 
> Alcatel-Lucent OS-6850. It seems that this switch requires first-as
> matching peer-as and no way to change its behavior.
> 
> We're using next configuration for peers:
> protocol bgp PEER {
>         passive;
>         local as MyASN;
>         neighbor x.x.x.x as PeerASN;
>         rs client;
>         import where bgp_in([
> 		...
>         ]);
>         export where bgp_out(PeerASN);
> }
> 
> Is there a way to keep "rs client" functionality, but add MyASN
> to as-path? If I create separate export filter with prepends, will it work?

You could probably just add bgp_path.prepend(MyASN) to the export filter
- that should work.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20110303/401344d9/attachment-0001.asc>


More information about the Bird-users mailing list