carp.4 (1771f872d52e4cf9f8650dfd755f4e5d5bbd48a4) | carp.4 (a4be0b3cc1eb4ef1a56832ff1331e11b049edbc3) |
---|---|
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 --- 59 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 | 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 --- 59 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 . |