From mboxrd@z Thu Jan 1 00:00:00 1970 From: Veaceslav Falico Subject: [PATCH v2 net-next 06/12] bonding: document the new _arp options for arp_validate Date: Fri, 17 Jan 2014 17:58:54 +0100 Message-ID: <1389977940-17084-7-git-send-email-vfalico@redhat.com> References: <1389977940-17084-1-git-send-email-vfalico@redhat.com> Cc: Veaceslav Falico , Jay Vosburgh , Andy Gospodarek To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:9318 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752886AbaAQRET (ORCPT ); Fri, 17 Jan 2014 12:04:19 -0500 In-Reply-To: <1389977940-17084-1-git-send-email-vfalico@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: CC: Jay Vosburgh CC: Andy Gospodarek Signed-off-by: Veaceslav Falico --- Documentation/networking/bonding.txt | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt index 3620690..a0c1bca2 100644 --- a/Documentation/networking/bonding.txt +++ b/Documentation/networking/bonding.txt @@ -279,19 +279,45 @@ arp_validate none or 0 - No validation is performed. This is the default. + No validation is performed. This is the default. Any arriving + traffic (arp or non-arp) is considered a proof that the slave + is up. active or 1 - Validation is performed only for the active slave. + Validation is performed only for the active slave. Only ARPs + that arrive from any arp_ip_target are considered legit. The + backup slave still does no validation (as if arp_validate=0). backup or 2 - Validation is performed only for backup slaves. + Validation is performed only for backup slaves. Only ARPs + that arrive from any arp_ip_target are considered legit. The + active slave still has no validation (as if arp_validate=0). all or 3 - Validation is performed for all slaves. + Validation is performed for all slaves. Only ARPs + that arrive from any arp_ip_target are considered legit. + + arp or 4 + + Any arp packet is accepted as a proof that any slave is up, + but no IP-based validation is made. + + active_arp or 5 + + Validation is performed only for the active slave. Only ARPs + that arrive from any arp_ip_target are considered legit. The + backup slave validates only arp packets, but doesn't check the + source (as if arp_validate=4). + + backup_any or 6 + + Validation is performed only for backup slaves. Only ARPs + that arrive from any arp_ip_target are considered legit. The + active slave validates only arp packets, but doesn't check the + source (as if arp_validate=4). For the active slave, the validation checks ARP replies to confirm that they were generated by an arp_ip_target. Since -- 1.8.4