From 276468936b08068d91b7f8edc1c7e89762e13c35 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 12 Jun 2015 07:59:09 -0700 Subject: When a route-reflector is configured with "next-hop self" towards an IBGP peer, it will only set the nexthop to "self" for non-reflected routes. To force the nexthop to "self" for reflected routes, a "next-hop self force" configuration is required. With the introduction of the update groups function, these two configurations are not distinguished correctly leading to inconsistent behavior. Resolve by introducing the proper distinction. --- bgpd/bgp_updgrp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bgpd') diff --git a/bgpd/bgp_updgrp.h b/bgpd/bgp_updgrp.h index c34d2bc8e..b4e1078b0 100644 --- a/bgpd/bgp_updgrp.h +++ b/bgpd/bgp_updgrp.h @@ -41,6 +41,7 @@ PEER_FLAG_REFLECTOR_CLIENT | \ PEER_FLAG_NEXTHOP_SELF | \ PEER_FLAG_NEXTHOP_UNCHANGED | \ + PEER_FLAG_FORCE_NEXTHOP_SELF | \ PEER_FLAG_AS_PATH_UNCHANGED | \ PEER_FLAG_MED_UNCHANGED | \ PEER_FLAG_NEXTHOP_LOCAL_UNCHANGED | \ -- cgit v1.2.3