Hello Maria, Not exactly. bgp_next_hop is are route attribute. I want to know to which neighbor I am currently exporting or importing routes. In a static neighbor configuration, I know exactly which filter is currently running and with which neighbor. Accordingly, I decide which routes to send or accept, and which not to send or receive with this neighbor. How can I do this in a dynamic configuration? 27.09.2024 15:34, Maria Matejka пишет:
Hello,
On Fri, Sep 27, 2024 at 02:48:07PM +0300, Mikhail Mayorov wrote:
I use dynamic BGP peers in my RR. It’s very simple and comfortable. import/export filters are same for all dynamic neighbors. How to determine a neighbor? Using what variables?
I would expect that in common cases, the neighbor would be also in the |bgp_next_hop| attribute. Is that not this case?
Maria
– Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.
-- Regards, Mikhail Mayorov PG19, founder and inspirer B.Bulvarnaya 11, Taganrog, Russia, 347913 tel work: +7 8634 431431 (ext 101) tel mobile: +7 905 4309006 pg19.ru