From: Daniel Walton Date: Tue, 22 Mar 2016 19:04:58 +0000 (+0000) Subject: RDNBRD: Change default distance of imported table routes to 15 X-Git-Tag: frr-2.0-rc1~1046 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=7ab5795aee870b46eba1e4576dc43235b02cc25e;p=mirror%2Ffrr.git RDNBRD: Change default distance of imported table routes to 15 Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp Ticket: CM-9898 The 'redistribute neighbor' feature is the primary use case for importing table routes. We need the redistribute neighbor routes to have a lower admin distance than eBGP so that the local table routes are preferred (if the host is dual homed we could also learn about it via eBGP). --- diff --git a/lib/zebra.h b/lib/zebra.h index 8cef0bfac2..751e8ce3df 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -548,7 +548,7 @@ extern const char *zserv_command_string (unsigned int command); #define ZEBRA_ISIS_DISTANCE_DEFAULT 115 #define ZEBRA_IBGP_DISTANCE_DEFAULT 200 #define ZEBRA_EBGP_DISTANCE_DEFAULT 20 -#define ZEBRA_TABLE_DISTANCE_DEFAULT 150 +#define ZEBRA_TABLE_DISTANCE_DEFAULT 15 /* Flag manipulation macros. */ #define CHECK_FLAG(V,F) ((V) & (F))