Hi, I have a problem where the default install of 5.1 does not import routes into the rdomain solely based on the community but it uses the route distinguisher.
This causes the below scenario: in bgpd.conf rdomain 2 { descr "Testing" rd 65001:238 import-target rt 65001:238 export-target rt 65001:238 depend on mpe2 network 192.168.10.2/32 } from bgpctl show ip bgp detail: Route that gets imported: BGP routing table entry for rd 65001:238 192.168.76.128/25 65001 Nexthop 172.16.0.1 (via 10.10.10.4) from AS 65002 peer 1 (172.16.0.1) Origin incomplete, metric 0, localpref 100, external, valid, best Last update: 00:14:46 ago Ext. communities: rt 65001:238 route that does not get imported: BGP routing table entry for rd 172.16.0.1:425 192.168.70.0/23 65001 64544 Nexthop 172.16.0.1 (via 10.10.10.4) from AS 65002 peer 1 (172.16.0.1) Origin IGP, metric 0, localpref 100, external, valid, best Last update: 00:14:46 ago Ext. communities: rt 65001:238 I came across the below link which contained some suggested patches where some has been imported into -current and some have not. http://www.mentby.com/Group/openbsd-misc/route-target-import-export-in-bgpd.h tml My question is, how do I know into what source these patches must be merged as I have tried -current and -stable but on both I ran into issues merging as there as some problems with the spacing when copying from the browsers. Do anyone know if this fix has been implemented already into a tree that I am not aware of?