[quagga-dev 10800] bgpd: Route aggregation and metric question.

Vitaliy Senchyshyn vsenchyshyn at toroki.com
Tue Oct 8 17:20:21 BST 2013


Hi evryone,

As you may know Quagga has an issue that different routes can be 
aggregated in case they have different metric. According to BGP RFC4271, 
section 9.2.2.2 routes that have different MULTI_EXIT_DISC attributes 
shall not be aggregated.

While investigating this in the code I have found that the fix is 
already present in bgp_aggregate_route() function but for some reason 
put under AGGREGATE_NEXTHOP_CHECK ifdef. AGGREGATE_NEXTHOP_CHECK is 
defined nowhere so the code isn't called.

Does someone know what is the reason for such an ifdef and why 
AGGREGATE_NEXTHOP_CHECK is not actually defined somewhere?

Thanks,
Vitaliy




More information about the Quagga-dev mailing list