Checking if bgp_next_hop matches bgp neighbor

Peter Lieven pli at
Thu Sep 2 16:10:41 CEST 2010


just wondering what the correct way is to filter if the advertised
bgp_next_hop matches the neighbor address in a filter.


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?


# Kind Regards/Mit freundlichen Gruessen
# PEERING GmbH - Devision ECIX
# Lindenallee 27, 14050 Berlin, Germany
# Geschaeftsfuehrer: Stefan Wahl, Peter Lieven
# Amtsgericht Charlottenburg, HRB 97752B, USt-Id-Nr: DE2746301838
# Web:
# Phone: +49 30 81495450
# Fax:   +49 30 81495459

More information about the Bird-users mailing list