A ifname counterpart for the "from" attribute

Marcel Krüger bird at 2krueger.de
Fri Mar 26 13:00:52 CET 2021


Hi,

is there any way to identify in a filter the interface the route was
learned from? So basically an attribute which relates to "from" like
ifname and ifindex relate to "gw"? This would be particularly useful
when "from" is a link lcal address and therefore might not be enough to
identify the source.

If this doesn't exists, is there another way to enforce that the
"gw" is always on the same interface the route was learned on whithout
having to use interface specific configuration (e.g. customized filters
or special igp tables in BGP). (I am mostly interested in BGP, but I
guess that most solutions would apply more gnerally)

If not, would a patch implementing such an route attribute have a chance
of being merged?

Best regards,
Marcel


More information about the Bird-users mailing list