diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-07-05 22:39:55 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-07-05 22:39:55 +0000 |
commit | 210f9b29af7c28095148e9f49de27c56dd32a3fa (patch) | |
tree | 3e8fe4b5a67631b8138634e3458e75b55234a3b3 /share/man | |
parent | 3de5171cc6d6cdb3c739120dc65c9e647c79d1b1 (diff) |
avoid mess by specifying netmask to EXAMPLES;
problem found by Diana Eichert, solution from ho@, and ok mcbride@;
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man4/carp.4 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/share/man/man4/carp.4 b/share/man/man4/carp.4 index 88ae7fd1246..e81ba0ba6c1 100644 --- a/share/man/man4/carp.4 +++ b/share/man/man4/carp.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: carp.4,v 1.9 2004/03/25 17:53:16 henning Exp $ +.\" $OpenBSD: carp.4,v 1.10 2004/07/05 22:39:54 jmc Exp $ .\" .\" Copyright (c) 2003, Ryan McBride. All rights reserved. .\" @@ -89,18 +89,22 @@ of 100 on the second virtual host means that its advertisements will be sent out slightly less frequently. .Bd -literal -offset indent # ifconfig carp0 create -# ifconfig carp0 vhid 1 pass mekmitasdigoat 192.168.1.10 +# ifconfig carp0 vhid 1 pass mekmitasdigoat 192.168.1.10 \e + 255.255.255.0 # ifconfig carp1 create -# ifconfig carp1 vhid 2 advskew 100 pass mekmitasdigoat 192.168.1.10 +# ifconfig carp1 vhid 2 advskew 100 pass mekmitasdigoat \e + 192.168.1.10 255.255.255.0 .Ed .Pp The configuration for host B is identical, except the skew is on virtual host 1 rather than virtual host 2. .Bd -literal -offset indent # ifconfig carp0 create -# ifconfig carp0 vhid 1 advskew 100 pass mekmitasdigoat 192.168.1.10 +# ifconfig carp0 vhid 1 advskew 100 pass mekmitasdigoat \e + 192.168.1.10 255.255.255.0 # ifconfig carp1 create -# ifconfig carp1 vhid 2 pass mekmitasdigoat 192.168.1.10 +# ifconfig carp1 vhid 2 pass mekmitasdigoat 192.168.1.10 \e + 255.255.255.0 .Ed .Pp Finally, the ARP balancing feature must be enabled on both hosts: |