diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2017-11-30 07:41:02 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2017-11-30 07:41:02 +0000 |
commit | e992a93b409dda5e0901c59a72aa6c7e980a56bb (patch) | |
tree | 18d47f84bf7c29c7b09cd07310ec8570a441b24a | |
parent | 0f1c8f191ecefbb9ed9939b33e0e4e1f2e94aff5 (diff) |
use the same macro consistently for the various carp balancing modes;
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 8 | ||||
-rw-r--r-- | share/man/man4/carp.4 | 12 |
2 files changed, 9 insertions, 11 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 893b2b488a1..431dca65bfd 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.290 2017/11/30 07:37:13 jmc Exp $ +.\" $OpenBSD: ifconfig.8,v 1.291 2017/11/30 07:41:01 jmc Exp $ .\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $ .\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $ .\" @@ -768,10 +768,10 @@ Acceptable values are 0 to 254; the default value is 0. Set the load balancing mode to .Ar mode . Valid modes are -.Ar ip , -.Ar ip-stealth , +.Cm ip , +.Cm ip-stealth , and -.Ar ip-unicast . +.Cm ip-unicast . .It Cm carpnodes Ar vhid:advskew,vhid:advskew,... Create a load balancing group consisting of up to 32 nodes. Each node is specified as a diff --git a/share/man/man4/carp.4 b/share/man/man4/carp.4 index 42ed7d7460e..a6a3bae2709 100644 --- a/share/man/man4/carp.4 +++ b/share/man/man4/carp.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: carp.4,v 1.38 2015/11/03 17:45:32 jmc Exp $ +.\" $OpenBSD: carp.4,v 1.39 2017/11/30 07:41:01 jmc Exp $ .\" .\" Copyright (c) 2003, Ryan McBride. All rights reserved. .\" @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: November 3 2015 $ +.Dd $Mdocdate: November 30 2017 $ .Dt CARP 4 .Os .Sh NAME @@ -162,9 +162,7 @@ The filtering function uses a hash over the source and destination address of the IPv4 or IPv6 packet and compares the result against the state of the carpnode. .Pp -IP balancing is activated by setting the -.Cm balancing -mode to +IP balancing is activated by setting the balancing mode to .Cm ip . This is the recommended default setting. In this mode, carp uses a multicast MAC address, so that a switch @@ -175,13 +173,13 @@ MAC address being mapped to a unicast IP. This can be resolved by using one of the following unicast options. For scenarios where a hub is used it is not necessary to use a multicast MAC and it is safe to use the -.Ar ip-unicast +.Cm ip-unicast mode. Manageable switches can usually be tricked into forwarding unicast traffic to all cluster nodes ports by configuring them into some sort of monitoring mode. If this is not possible, using the -.Ar ip-stealth +.Cm ip-stealth mode is another option, which should work on most switches. In this mode .Nm |