diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-06-12 07:59:09 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-06-12 07:59:09 -0700 |
| commit | 276468936b08068d91b7f8edc1c7e89762e13c35 (patch) | |
| tree | 91f238cf92d3777c9983f51854ea7c5948db2ec8 | |
| parent | 2665d9ae96c41d22a67b65d0b818a579c9926dd3 (diff) | |
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.
| -rw-r--r-- | bgpd/bgp_updgrp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_updgrp.h b/bgpd/bgp_updgrp.h index c34d2bc8ef..b4e1078b00 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 | \ |
