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 [cmd=]ifconfig carp0 create[/cmd] within a jail returned the error
I'm wondering, then, if it's possible to use CARP across two jails on a single host, since attempting to create two carp interfaces with the same vhid on the parent produces the error
Does anyone here have experience running CARP in jails?
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 [cmd=]ifconfig carp0 create[/cmd] within a jail returned the error
Code:
ifconfig: SIOCIFCREATE2: Operation not permitted
I'm wondering, then, if it's possible to use CARP across two jails on a single host, since attempting to create two carp interfaces with the same vhid on the parent produces the error
Code:
ifconfig: SIOCSVH: File exists
Does anyone here have experience running CARP in jails?