diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2014-02-18 01:48:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-18 16:47:15 -0500 |
commit | 52f65ef33b3c99e7151ddb065988bb0b556e315e (patch) | |
tree | d2d4a22641ffd8c83c7f6985e941eb10f917bf48 /Documentation | |
parent | 896149ff1b2c48962b7e8eee797552c61f8d5b93 (diff) |
bonding: document the new _arp options for arp_validate
CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/bonding.txt | 96 |
1 files changed, 66 insertions, 30 deletions
diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt index 96b4ad89cf25..a383c00392d0 100644 --- a/Documentation/networking/bonding.txt +++ b/Documentation/networking/bonding.txt | |||
@@ -270,16 +270,15 @@ arp_ip_target | |||
270 | arp_validate | 270 | arp_validate |
271 | 271 | ||
272 | Specifies whether or not ARP probes and replies should be | 272 | Specifies whether or not ARP probes and replies should be |
273 | validated in any mode that supports arp monitoring. This causes | 273 | validated in any mode that supports arp monitoring, or whether |
274 | the ARP monitor to examine the incoming ARP requests and replies, | 274 | non-ARP traffic should be filtered (disregarded) for link |
275 | and only consider a slave to be up if it is receiving the | 275 | monitoring purposes. |
276 | appropriate ARP traffic. | ||
277 | 276 | ||
278 | Possible values are: | 277 | Possible values are: |
279 | 278 | ||
280 | none or 0 | 279 | none or 0 |
281 | 280 | ||
282 | No validation is performed. This is the default. | 281 | No validation or filtering is performed. |
283 | 282 | ||
284 | active or 1 | 283 | active or 1 |
285 | 284 | ||
@@ -293,31 +292,68 @@ arp_validate | |||
293 | 292 | ||
294 | Validation is performed for all slaves. | 293 | Validation is performed for all slaves. |
295 | 294 | ||
296 | For the active slave, the validation checks ARP replies to | 295 | filter or 4 |
297 | confirm that they were generated by an arp_ip_target. Since | 296 | |
298 | backup slaves do not typically receive these replies, the | 297 | Filtering is applied to all slaves. No validation is |
299 | validation performed for backup slaves is on the ARP request | 298 | performed. |
300 | sent out via the active slave. It is possible that some | 299 | |
301 | switch or network configurations may result in situations | 300 | filter_active or 5 |
302 | wherein the backup slaves do not receive the ARP requests; in | 301 | |
303 | such a situation, validation of backup slaves must be | 302 | Filtering is applied to all slaves, validation is performed |
304 | disabled. | 303 | only for the active slave. |
305 | 304 | ||
306 | The validation of ARP requests on backup slaves is mainly | 305 | filter_backup or 6 |
307 | helping bonding to decide which slaves are more likely to | 306 | |
308 | work in case of the active slave failure, it doesn't really | 307 | Filtering is applied to all slaves, validation is performed |
309 | guarantee that the backup slave will work if it's selected | 308 | only for backup slaves. |
310 | as the next active slave. | 309 | |
311 | 310 | Validation: | |
312 | This option is useful in network configurations in which | 311 | |
313 | multiple bonding hosts are concurrently issuing ARPs to one or | 312 | Enabling validation causes the ARP monitor to examine the incoming |
314 | more targets beyond a common switch. Should the link between | 313 | ARP requests and replies, and only consider a slave to be up if it |
315 | the switch and target fail (but not the switch itself), the | 314 | is receiving the appropriate ARP traffic. |
316 | probe traffic generated by the multiple bonding instances will | 315 | |
317 | fool the standard ARP monitor into considering the links as | 316 | For an active slave, the validation checks ARP replies to confirm |
318 | still up. Use of the arp_validate option can resolve this, as | 317 | that they were generated by an arp_ip_target. Since backup slaves |
319 | the ARP monitor will only consider ARP requests and replies | 318 | do not typically receive these replies, the validation performed |
320 | associated with its own instance of bonding. | 319 | for backup slaves is on the broadcast ARP request sent out via the |
320 | active slave. It is possible that some switch or network | ||
321 | configurations may result in situations wherein the backup slaves | ||
322 | do not receive the ARP requests; in such a situation, validation | ||
323 | of backup slaves must be disabled. | ||
324 | |||
325 | The validation of ARP requests on backup slaves is mainly helping | ||
326 | bonding to decide which slaves are more likely to work in case of | ||
327 | the active slave failure, it doesn't really guarantee that the | ||
328 | backup slave will work if it's selected as the next active slave. | ||
329 | |||
330 | Validation is useful in network configurations in which multiple | ||
331 | bonding hosts are concurrently issuing ARPs to one or more targets | ||
332 | beyond a common switch. Should the link between the switch and | ||
333 | target fail (but not the switch itself), the probe traffic | ||
334 | generated by the multiple bonding instances will fool the standard | ||
335 | ARP monitor into considering the links as still up. Use of | ||
336 | validation can resolve this, as the ARP monitor will only consider | ||
337 | ARP requests and replies associated with its own instance of | ||
338 | bonding. | ||
339 | |||
340 | Filtering: | ||
341 | |||
342 | Enabling filtering causes the ARP monitor to only use incoming ARP | ||
343 | packets for link availability purposes. Arriving packets that are | ||
344 | not ARPs are delivered normally, but do not count when determining | ||
345 | if a slave is available. | ||
346 | |||
347 | Filtering operates by only considering the reception of ARP | ||
348 | packets (any ARP packet, regardless of source or destination) when | ||
349 | determining if a slave has received traffic for link availability | ||
350 | purposes. | ||
351 | |||
352 | Filtering is useful in network configurations in which significant | ||
353 | levels of third party broadcast traffic would fool the standard | ||
354 | ARP monitor into considering the links as still up. Use of | ||
355 | filtering can resolve this, as only ARP traffic is considered for | ||
356 | link availability purposes. | ||
321 | 357 | ||
322 | This option was added in bonding version 3.1.0. | 358 | This option was added in bonding version 3.1.0. |
323 | 359 | ||