Date: Tue, 28 Aug 2007 11:45:40 +0200 From: Gergely CZUCZY <phoemix@harmless.hu> To: Daniel Hartmeier <daniel@benzedrine.cx> Cc: freebsd-net@freebsd.org Subject: Re: carp on multiple interfaces Message-ID: <20070828094540.GA20242@harmless.hu> In-Reply-To: <20070828094429.GF18273@insomnia.benzedrine.cx> References: <20070828092931.GA18240@harmless.hu> <20070828094429.GF18273@insomnia.benzedrine.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
--WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks for the answers. I must have missed that part of carp(4). On Tue, Aug 28, 2007 at 11:44:29AM +0200, Daniel Hartmeier wrote: > On Tue, Aug 28, 2007 at 11:29:31AM +0200, Gergely CZUCZY wrote: >=20 > > On a dual-carp scenario on two gateways when both the internal and > > the external IFs are carp(4)'d in a master-slave way and a link > > disconnects only on one side, would this trigger a carp failover > > of the other interface also? >=20 > See carp(4) >=20 > net.inet.carp.preempt Allow virtual hosts to preempt each other. = It > is also used to failover carp interfaces as a > group. When the option is enabled and one of > the carp enabled physical interfaces goes do= wn, > advskew is changed to 240 on all carp inter- > faces. See also the first example. Disabled > by default. >=20 > i.e. for your scenario you'd set preempt=3D1 so all interfaces failover > together, to avoid the problem you describe (which otherwise would > occur, yes). >=20 > Daniel Sincerely, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) owGFVL+P1EYUPkAIyYDE8Q/kKU1At3a8vr0cLFrIccePKxAFh1BINTt+tkc3njEz 4zV7RSS6FCmiSAkFEqKBDgWkKE3aRBENDRIFfwRS/oO8seXlmmQty5LfvPne971f P54+tnJ09e2r375d++GnJ0deHn86XStr51QelszMhAqHcTwMkzgZJeEoTNaR82m8 sbkxjNPR5lfX3338c1srh8qFe/MKx+DwofuykkyoS8ALZiy6Se2y8ELQ++0IW2kr nNBqDEJJoXBxtmeYshma8JriOhUqH8ODWjtMw8oI5dhUYhDsFUztW8i0AVcg0I0G jY1gF8raOijYDKEU1mJK58xBxYwDnQFnpjo3Oh8FwW0FezUOYKvOIbkwgCSON4E8 h8PxaDROLm7dgrWYjAPYYUqghJsEUaJAA40hOuPgMvwPRnJxvD78hHEDTY5yDtv3 727f/2aBMEligmmBGKQ1k6EnCJajYkZo0ApcoyFnDhs2t9AUqGCqXdGqpmygUUyS /LSF8UbKfWfcvW6BGewlf5GSP0UpmSWH0EqfIgL1l8lMJdhvMVJhuVYKubMUnigT B60QrEhJaaNr6VMqLDgj8pyywdoIkDEh9QxNC0KZ9lyIKDm0NDPGqUzS6iu96ju4 4Nab6FHoIuE//iiqDGJZOX8AW1LqBmbCOMoTFNoSQaehd0HGiy5gBDAJdl2H998P SfB8oG6bRC8EdHIWpMmL3mVgudF1RYHv+QK10ivf3D4IlZJaNm3z7BOps2Vg/n5L or9aFXMrOKk+xCrX9En1JGjUYBkgS2d2HxvPhuZR5Z3gZBT74jIpD0kOl2G10Ump L1+bP882E4amDh+yspJIhzTfLfNlYNM5pJixWrqo7wEREYCf67muzadJoD/qYNok fcEn6ztDoPCe/qG0HGpDp3P0/TDwYtlMi7TlWhlN1EqPSMEtN2KKcK4pRN8/jbDY NTqBaM5rQpijPb+g2C2EILgjFEdDYz0IgsWAH9T8YB6URMPpMeSdOeKt+WtahqVE a6OiDoIw9HD3EAmNWhmti2hPKEENaUmZnC242m6JUSIsRsH3V44dX/Fbt1/Zq0cf n1159uvw0dp3zx+/eHfwx/vilzO/7/516vOVJyf+vrq9+kG/+fnkxuXPXt8+natb //wL =a79L -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070828094540.GA20242>