Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 11:48:19 +0200
From:      Dominik Zyla <gavroche@gavroche.pl>
To:        freebsd-jail@freebsd.org
Subject:   Re: CARP across two jails on one host?
Message-ID:  <20100723094819.GB13833@mail.mercom.pl>
In-Reply-To: <20100723094503.GA13833@mail.mercom.pl>
References:  <AANLkTikMRhzxMayaXftl2vWKfu-LiMpyRvEYJFgvoEEB@mail.gmail.com> <20100723094503.GA13833@mail.mercom.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

--i9LlY+UWpKt15+FH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 23, 2010 at 11:45:03AM +0200, Dominik Zyla wrote:
> 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?
>=20
> You can't run both, MASTER and BACKUP carp instances on the same host.

To be more strict. I mean, you can't run both, MASTER and BACKUP carp
instances with the same vhid on the same host.

--=20
Dominik Zyla


--i9LlY+UWpKt15+FH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkxJZWMACgkQYAyMP8U8kauY2gCg6Py8gJrGoWOr/PYZ8qlb+xp2
qAkAn2EZq8dv4smCm2bYLtMTAI8hpBaJ
=RssI
-----END PGP SIGNATURE-----

--i9LlY+UWpKt15+FH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100723094819.GB13833>