Checking if bgp_next_hop matches bgp neighbor

Arnold Nipper arnold at nipper.de
Thu Sep 2 20:37:39 CEST 2010


On 02.09.2010 16:10 Peter Lieven wrote

> just wondering what the correct way is to filter if the advertised
> bgp_next_hop matches the neighbor address in a filter.
> 
> Would
> 
> if from != bgp_next_hop then reject;
> 
> do the trick, or do I have to define a function as inbound filter and
> pass the neighbor address as a parameter?
> 

Imho this check should do. Would make sense to add this to your list of
checks (martians, prefix length, source ...)



best regards,
Arnold
-- 
Arnold Nipper / nIPper consulting, Sandhausen, Germany
email: arnold at nipper.de       phone: +49 6224 9259 299
mobile: +49 172 2650958         fax: +49 6224 9259 333

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20100902/02a03cea/attachment-0001.asc>


More information about the Bird-users mailing list