CARP across two jails on one host?
Dominik Zyla
gavroche at gavroche.pl
Fri Jul 23 10:02:21 UTC 2010
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.
--
Dominik Zyla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-jail/attachments/20100723/5e4ecd73/attachment.pgp
More information about the freebsd-jail
mailing list