Date: Fri, 23 Jul 2010 11:45:03 +0200 From: Dominik Zyla <gavroche@gavroche.pl> To: freebsd-jail@freebsd.org Subject: Re: CARP across two jails on one host? Message-ID: <20100723094503.GA13833@mail.mercom.pl> In-Reply-To: <AANLkTikMRhzxMayaXftl2vWKfu-LiMpyRvEYJFgvoEEB@mail.gmail.com> References: <AANLkTikMRhzxMayaXftl2vWKfu-LiMpyRvEYJFgvoEEB@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 22, 2010 at 12:51:23PM -0400, Aaron Weeden wrote: > My box is running FreeBSD version 8.1-PRERELEASE. I've created two > jails and want them to be able to share an IP address via CARP. As I > understand it, each host must use the same VHID and IP address on its > carp interface in order to work as a failover for the other hosts. > I'm also under the impression that jails cannot create interfaces, as > my attempt to run 'ifconfig carp0 create' within a jail returned the > error 'ifconfig: SIOCIFCREATE2: Operation not permitted'. I'm > wondering, then, if it's possible to use CARP for two jails on one > host, since attempting to create two carp interfaces with the same > vhid on the parent produces the error 'ifconfig: SIOCSVH: File > exists'. Does anyone here have experience running CARP in jails? You can't run both, MASTER and BACKUP carp instances on the same host. --=20 Dominik Zyla --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkxJZJ8ACgkQYAyMP8U8kavahgCg5htzcXXciDtroPOV1KOiU556 Gt4An1rdu5tiLJuVyw0J5Ryu4IhXcwnm =kmCg -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100723094503.GA13833>