diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/carp.4 | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/share/man/man4/carp.4 b/share/man/man4/carp.4 index b92dbd6f442..3243aded5de 100644 --- a/share/man/man4/carp.4 +++ b/share/man/man4/carp.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: carp.4,v 1.25 2007/03/19 07:28:43 jmc Exp $ +.\" $OpenBSD: carp.4,v 1.26 2007/04/17 08:26:35 jmc Exp $ .\" .\" Copyright (c) 2003, Ryan McBride. All rights reserved. .\" @@ -71,7 +71,7 @@ Finally is used to specify which interface the .Nm device attaches to. -If unspecified, the kernel attempts to set carpdev by looking for +If unspecified, the kernel attempts to set it by looking for another interface with the same subnet. These configurations can be done using .Xr ifconfig 8 , @@ -104,7 +104,9 @@ interfaces as a group. When the option is enabled and one of the .Nm enabled physical interfaces -goes down, advskew is changed to 240 on all +goes down, +.Cm advskew +is changed to 240 on all .Nm interfaces. See also the first example. @@ -274,14 +276,17 @@ This is the setup for host A: # ifconfig carp1 192.168.2.1 vhid 2 .Ed .Pp -The setup for host B is identical, but it has a higher advskew: +The setup for host B is identical, but it has a higher +.Cm advskew : .Bd -literal -offset indent # ifconfig carp0 192.168.1.1 vhid 1 advskew 100 # ifconfig carp1 192.168.2.1 vhid 2 advskew 100 .Ed .Pp Because of the preempt option, when one of the physical interfaces of -host A fails, advskew is adjusted to 240 on all its +host A fails, +.Cm advskew +is adjusted to 240 on all its .Nm interfaces. This will cause host B to preempt on both interfaces instead of |