Checking if bgp_next_hop matches bgp neighbor

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


Hi,

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?

Thanks,
Peter

# 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: http://www.ecix.de/
# Phone: +49 30 81495450
# Fax:   +49 30 81495459




More information about the Bird-users mailing list