carp.4 (146227) | carp.4 (147432) |
---|---|
1.\" $OpenBSD: carp.4,v 1.16 2004/12/07 23:41:35 jmc Exp $ 2.\" 3.\" Copyright (c) 2003, Ryan McBride. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\" $OpenBSD: carp.4,v 1.16 2004/12/07 23:41:35 jmc Exp $ 2.\" 3.\" Copyright (c) 2003, Ryan McBride. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/share/man/man4/carp.4 146227 2005-05-15 01:58:32Z glebius $ | 26.\" $FreeBSD: head/share/man/man4/carp.4 147432 2005-06-16 18:46:17Z ru $ |
27.\" 28.Dd May 15, 2005 29.Dt CARP 4 30.Os 31.Sh NAME 32.Nm carp 33.Nd Common Address Redundancy Protocol 34.Sh SYNOPSIS --- 33 unchanged lines hidden (view full) --- 68is the master for a virtual host, and 69.Cm pass 70which is used to authenticate 71.Nm 72advertisements. 73The 74.Cm advbase 75parameter stands for | 27.\" 28.Dd May 15, 2005 29.Dt CARP 4 30.Os 31.Sh NAME 32.Nm carp 33.Nd Common Address Redundancy Protocol 34.Sh SYNOPSIS --- 33 unchanged lines hidden (view full) --- 68is the master for a virtual host, and 69.Cm pass 70which is used to authenticate 71.Nm 72advertisements. 73The 74.Cm advbase 75parameter stands for |
76.Qq advertisement base . | 76.Dq "advertisement base" . |
77It is measured in seconds and specifies the base of the adverisement interval. 78The 79.Cm advskew 80parameter stands for | 77It is measured in seconds and specifies the base of the adverisement interval. 78The 79.Cm advskew 80parameter stands for |
81.Qq advertisement skew . | 81.Dq "advertisement skew" . |
82It is measured in 1/256 of seconds. 83It is added to the base advertisement interval to make one host advertise 84a bit slower that the other does. 85Both 86.Cm advbase 87and 88.Cm advskew | 82It is measured in 1/256 of seconds. 83It is added to the base advertisement interval to make one host advertise 84a bit slower that the other does. 85Both 86.Cm advbase 87and 88.Cm advskew |
89are put inside CARP advertisments. | 89are put inside CARP advertisements. |
90These configurations can be done using 91.Xr ifconfig 8 , 92or through the 93.Dv SIOCSVH 94.Xr ioctl 2 . 95.Pp 96Additionally, there are a number of global parameters which can be set using 97.Xr sysctl 8 : --- 122 unchanged lines hidden (view full) --- 220If one of the hosts fails, the other will take over the virtual MAC address, 221and begin answering ARP requests on its behalf. 222.Pp 223Note: ARP balancing only works on the local network segment. 224It cannot balance traffic that crosses a router, because the router 225itself will always be balanced to the same virtual host. 226.Sh SEE ALSO 227.Xr inet 4 , | 90These configurations can be done using 91.Xr ifconfig 8 , 92or through the 93.Dv SIOCSVH 94.Xr ioctl 2 . 95.Pp 96Additionally, there are a number of global parameters which can be set using 97.Xr sysctl 8 : --- 122 unchanged lines hidden (view full) --- 220If one of the hosts fails, the other will take over the virtual MAC address, 221and begin answering ARP requests on its behalf. 222.Pp 223Note: ARP balancing only works on the local network segment. 224It cannot balance traffic that crosses a router, because the router 225itself will always be balanced to the same virtual host. 226.Sh SEE ALSO 227.Xr inet 4 , |
228.Xr ifconfig 8 , | |
229.Xr pfsync 4 , 230.Xr rc.conf 5 , | 228.Xr pfsync 4 , 229.Xr rc.conf 5 , |
230.Xr ifconfig 8 , |
|
231.Xr sysctl 8 232.Sh HISTORY 233The 234.Nm 235device first appeared in 236.Ox 3.5 . 237The 238.Nm 239device was imported into 240.Fx 5.4 . | 231.Xr sysctl 8 232.Sh HISTORY 233The 234.Nm 235device first appeared in 236.Ox 3.5 . 237The 238.Nm 239device was imported into 240.Fx 5.4 . |