1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445
|
<pre>Internet Engineering Task Force (IETF) C. Pelsser
Request for Comments: 7196 R. Bush
Category: Standards Track Internet Initiative Japan
ISSN: 2070-1721 K. Patel
Cisco Systems
P. Mohapatra
Sproute Networks
O. Maennel
Loughborough University
May 2014
<span class="h1">Making Route Flap Damping Usable</span>
Abstract
Route Flap Damping (RFD) was first proposed to reduce BGP churn in
routers. Unfortunately, RFD was found to severely penalize sites for
being well connected because topological richness amplifies the
number of update messages exchanged. Many operators have turned RFD
off. Based on experimental measurement, this document recommends
adjusting a few RFD algorithmic constants and limits in order to
reduce the high risks with RFD. The result is damping a non-trivial
amount of long-term churn without penalizing well-behaved prefixes'
normal convergence process.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7196">http://www.rfc-editor.org/info/rfc7196</a>.
<span class="grey">Pelsser, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7196">RFC 7196</a> Making Route Flap Damping Usable May 2014</span>
Copyright Notice
Copyright (c) 2014 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-1.1">1.1</a>. Suggested Reading . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2">2</a>. Requirements Language . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. RFD Parameters . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4">4</a>. Suppress Threshold versus Churn . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-5">5</a>. Maximum Penalty . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-6">6</a>. Recommendations . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-7">7</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-8">8</a>. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-9">9</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-9.1">9.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-9.2">9.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Route Flap Damping (RFD) was first proposed (see [<a href="#ref-RIPE178" title=""RIPE Routing-WG Recommendation for Coordinated Route-flap Damping Parameters"">RIPE178</a>] and
[<a href="./rfc2439" title=""BGP Route Flap Damping"">RFC2439</a>]) and subsequently implemented to reduce BGP churn in
routers. Unfortunately, RFD was found to severely penalize sites for
being well connected because topological richness amplifies the
number of update messages exchanged, see [<a href="#ref-MAO2002" title=""Route Flap Damping Exacerbates Internet Routing Convergence"">MAO2002</a>]. Subsequently,
many operators turned RFD off; see [<a href="#ref-RIPE378" title=""RIPE Routing Working Group Recommendations On Route-flap Damping"">RIPE378</a>]. Based on the
measurements of [<a href="#ref-PELSSER2011">PELSSER2011</a>], [<a href="#ref-RIPE580" title=""RIPE Routing Working Group Recommendation for Route Flap Damping"">RIPE580</a>] now recommends that RFD is
usable with some changes to the parameters. Based on the same
measurements, this document recommends adjusting a few RFD
algorithmic constants and limits. The result is damping of a non-
trivial amount of long-term churn without penalizing well-behaved
prefixes' normal convergence process.
Very few prefixes are responsible for a large amount of the BGP
messages received by a router; see [<a href="#ref-HUSTON2006">HUSTON2006</a>] and [<a href="#ref-PELSSER2011">PELSSER2011</a>].
For example, the measurements in [<a href="#ref-PELSSER2011">PELSSER2011</a>] showed that only 3% of
<span class="grey">Pelsser, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7196">RFC 7196</a> Making Route Flap Damping Usable May 2014</span>
the prefixes were responsible for 36% percent of the BGP messages at
a router with real feeds from a Tier-1 provider and an Internet
Exchange Point during a one-week experiment. Only these very
frequently flapping prefixes should be damped. The values
recommended in <a href="#section-6">Section 6</a> achieve this. Thus, RFD can be enabled, and
some churn reduced.
The goal is to, with absolutely minimal change, ameliorate the danger
of current RFD implementations and use. It is not a panacea, nor is
it a deep and thorough approach to flap reduction.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Suggested Reading</span>
It is assumed that the reader understands BGP [<a href="./rfc4271" title=""A Border Gateway Protocol 4 (BGP-4)"">RFC4271</a>] and Route
Flap Damping [<a href="./rfc2439" title=""BGP Route Flap Damping"">RFC2439</a>]. This work is based on the measurements in
the paper [<a href="#ref-PELSSER2011">PELSSER2011</a>]. A survey of Japanese operators' use of RFD
and their desires is reported in [<a href="#ref-RFD-SURVEY">RFD-SURVEY</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Requirements Language</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are to
be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>] only when they
appear in all upper case. They may also appear in lower or mixed
case as English words, without normative meaning.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. RFD Parameters</span>
The following RFD parameters are common to all implementations. Some
may be tuned by the operator, some not. There is currently no
consensus on a single set of default values.
+--------------------------+----------+-------+---------+
| Parameter | Tunable? | Cisco | Juniper |
+--------------------------+----------+-------+---------+
| Withdrawal | No | 1,000 | 1,000 |
| Re-Advertisement | No | 0 | 1,000 |
| Attribute Change | No | 500 | 500 |
| Suppress Threshold | Yes | 2,000 | 3,000 |
| Half-Life (min.) | Yes | 15 | 15 |
| Reuse Threshold | Yes | 750 | 750 |
| Max Suppress Time (min.) | Yes | 60 | 60 |
+--------------------------+----------+-------+---------+
Note: Values without units specified are dimensionless constants.
Table 1: Default RFD Parameters of Juniper and Cisco
<span class="grey">Pelsser, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7196">RFC 7196</a> Making Route Flap Damping Usable May 2014</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Suppress Threshold versus Churn</span>
By turning RFD back on with the values recommended in <a href="#section-6">Section 6</a>,
churn is reduced. Moreover, with these values, prefixes going
through normal convergence are generally not damped.
[<a id="ref-PELSSER2011">PELSSER2011</a>] estimates that, with a suppress threshold of 6,000, the
BGP update rate is reduced by 19% compared to a situation without RFD
enabled. [<a href="#ref-PELSSER2011">PELSSER2011</a>] studies the number of prefixes damped over a
week between September 29, 2010 and October 6, 2010. With this 6,000
suppress threshold, 90% fewer prefixes are damped compared to use of
a 2,000 threshold. That is, far fewer well-behaved prefixes are
damped.
Setting the suppress threshold to 12,000 leads to very few damped
prefixes (0.22% of the prefixes were damped with a threshold of
12,000 in the experiments in [<a href="#ref-PELSSER2011">PELSSER2011</a>], yielding an average
hourly update reduction of 11% compared to not using RFD).
+---------------+-------------+--------------+----------------------+
| Suppress | Damped | % of Table | Update Rate (one- |
| Threshold | Prefixes | Damped | hour bins) |
+---------------+-------------+--------------+----------------------+
| 2,000 | 43,342 | 13.16% | 53.11% |
| 4,000 | 11,253 | 3.42% | 74.16% |
| 6,000 | 4,352 | 1.32% | 81.03% |
| 8,000 | 2,104 | 0.64% | 84.85% |
| 10,000 | 1,286 | 0.39% | 87.12% |
| 12,000 | 720 | 0.22% | 88.74% |
| 14,000 | 504 | 0.15% | 89.97% |
| 16,000 | 353 | 0.11% | 91.01% |
| 18,000 | 311 | 0.09% | 91.88% |
| 20,000 | 261 | 0.08% | 92.69% |
+---------------+-------------+--------------+----------------------+
Note: the current default Suppress Threshold (2,000) is overly
agressive.
Table 2: Damped Prefixes vs. Churn, from [<a href="#ref-PELSSER2011">PELSSER2011</a>]
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Maximum Penalty</span>
It is important to understand that the parameters shown in Table 1
and the implementation's sampling rate impose an upper bound on the
penalty value, which we can call the 'computed maximum penalty'.
<span class="grey">Pelsser, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7196">RFC 7196</a> Making Route Flap Damping Usable May 2014</span>
In addition, BGP implementations have an internal constant, which we
will call the 'maximum penalty', and the current computed penalty may
not exceed it.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Recommendations</span>
Use of the following values is recommended:
Router Maximum Penalty: The internal constant for the maximum
penalty value MUST be raised to at least 50,000.
Default Configurable Parameters: In order not to break existing
operational configurations, existing BGP implementations,
including the examples in Table 1, SHOULD NOT change their default
values.
Minimum Suppress Threshold: Operators that want damping that is much
less destructive than the current damping, but still somewhat
aggressive, SHOULD configure the Suppress Threshold to no less
than 6,000.
Conservative Suppress Threshold: Conservative operators SHOULD
configure the Suppress Threshold to no less than 12,000.
Calculate But Do Not Damp: Implementations MAY have a test mode
where the operator can see the results of a particular
configuration without actually damping any prefixes. This will
allow for fine-tuning of parameters without losing reachability.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
It is well known that an attacker can generate false flapping to
cause a victim's prefix(es) to be damped.
As the recommendations merely change parameters to more conservative
values, there should be no increase in risk. In fact, the parameter
change to more conservative values should slightly mitigate the
false-flap attack.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Acknowledgments</span>
Nate Kushman initiated this work some years ago. Ron Bonica, Seiichi
Kawamura, and Erik Muller contributed useful suggestions.
<span class="grey">Pelsser, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7196">RFC 7196</a> Making Route Flap Damping Usable May 2014</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. References</span>
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>. Normative References</span>
[<a id="ref-MAO2002">MAO2002</a>] Mao, Z., Govidan, R., Varghese, G., and R. Katz, "Route
Flap Damping Exacerbates Internet Routing Convergence", In
Proceedings of SIGCOMM, August 2002,
<<a href="http://conferences.sigcomm.org/sigcomm/2002/papers/routedampening.pdf">http://conferences.sigcomm.org/sigcomm/2002/papers/</a>
<a href="http://conferences.sigcomm.org/sigcomm/2002/papers/routedampening.pdf">routedampening.pdf</a>>.
[<a id="ref-PELSSER2011">PELSSER2011</a>]
Pelsser, C., Maennel, O., Mohapatra, P., Bush, R., and K.
Patel, "Route Flap Damping Made Usable", PAM 2011: Passive
and Active Measurement Conference, March 2011,
<<a href="http://pam2011.gatech.edu/papers/pam2011--Pelsser.pdf">http://pam2011.gatech.edu/papers/pam2011--Pelsser.pdf</a>>.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC2439">RFC2439</a>] Villamizar, C., Chandra, R., and R. Govindan, "BGP Route
Flap Damping", <a href="./rfc2439">RFC 2439</a>, November 1998.
[<a id="ref-RFC4271">RFC4271</a>] Rekhter, Y., Li, T., and S. Hares, "A Border Gateway
Protocol 4 (BGP-4)", <a href="./rfc4271">RFC 4271</a>, January 2006.
[<a id="ref-RIPE378">RIPE378</a>] Smith, P. and P. Panigl, "RIPE Routing Working Group
Recommendations On Route-flap Damping", RIPE 378, May
2006, <<a href="http://www.ripe.net/ripe/docs/ripe-378">http://www.ripe.net/ripe/docs/ripe-378</a>>.
<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>. Informative References</span>
[<a id="ref-HUSTON2006">HUSTON2006</a>]
Huston, G., "2005 - A BGP Year in Review", RIPE 52, 2006,
<<a href="http://meetings.ripe.net/ripe-52/presentations/ripe52-plenary-bgp-review.pdf">http://meetings.ripe.net/ripe-52/presentations/</a>
<a href="http://meetings.ripe.net/ripe-52/presentations/ripe52-plenary-bgp-review.pdf">ripe52-plenary-bgp-review.pdf</a>>.
[<a id="ref-RFD-SURVEY">RFD-SURVEY</a>]
Tsuchiya, S., Kawamura, S., Bush, R., and C. Pelsser,
"Route Flap Damping Deployment Status Survey", Work in
Progress, June 2012.
[<a id="ref-RIPE178">RIPE178</a>] Barber, T., Doran, S., Karrenberg, D., Panigl, C., and J.
Schmitz, "RIPE Routing-WG Recommendation for Coordinated
Route-flap Damping Parameters", RIPE 178, February 1998,
<<a href="http://www.ripe.net/ripe/docs/ripe-178">http://www.ripe.net/ripe/docs/ripe-178</a>>.
<span class="grey">Pelsser, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7196">RFC 7196</a> Making Route Flap Damping Usable May 2014</span>
[<a id="ref-RIPE580">RIPE580</a>] Bush, R., Pelsser, C., Kuhne, M., Maennel, O., Mohapatra,
P., Patel, K., and R. Evans, "RIPE Routing Working Group
Recommendation for Route Flap Damping", RIPE 580, January
2013, <<a href="http://www.ripe.net/ripe/docs/ripe-580">http://www.ripe.net/ripe/docs/ripe-580</a>>.
<span class="grey">Pelsser, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7196">RFC 7196</a> Making Route Flap Damping Usable May 2014</span>
Authors' Addresses
Cristel Pelsser
Internet Initiative Japan
Jinbocho Mitsui Buiding, 1-105
Kanda-Jinbocho, Chiyoda-ku, Tokyo 101-0051
JP
Phone: +81 3 5205 6464
EMail: cristel@iij.ad.jp
Randy Bush
Internet Initiative Japan
5147 Crystal Springs
Bainbridge Island, Washington 98110
US
EMail: randy@psg.com
Keyur Patel
Cisco Systems
170 W. Tasman Drive
San Jose, CA 95134
US
EMail: keyupate@cisco.com
Pradosh Mohapatra
Sproute Networks
41529 Higgins Way
Fremont, CA 94539
US
EMail: mpradosh@yahoo.com
Olaf Maennel
Loughborough University
Department of Computer Science - N.2.03
Loughborough
UK
Phone: +44 115 714 0042
EMail: o@maennel.net
Pelsser, et al. Standards Track [Page 8]
</pre>
|