On Tue, Nov 10, 2009 at 06:36:24PM +1100, Mikel Lindsaar wrote:

> On Tue, Nov 10, 2009 at 5:37 PM, Daniel Ouellet <dan...@presscom.net> wrote:
> 
> > FW1 hostname.if files are:
> >>
> >>  $ cat /etc/hostname.carp0
> >>
> >> inet 192.168.167.54 255.255.255.248 192.168.167.55 vhid 1 advskew 0 pass
> >> <password>
> >>  $ cat /etc/hostname.carp1
> >> inet 192.168.110.254 255.255.255.224 192.168.110.255 vhid 1 advskew 0 pass
> >> <password>
> >>  $ cat /etc/hostname.pfsync0
> >>
> >
> > Shouldn't you run different vhid ID of carp on different carp instance.
> > Here you have Carp0 and carp 1 both running with vhid 1, so how will the
> > system see them as different one?
> >
> 
> Initially I had them running as different VHIDs.  carp0 was vhid 1 and carp1
> was vhid 2, however, this did not work either... plus I would get unknown
> vhid errors in the netstat -s -p pfsync output if I had different vhids.
> 
> Mikel

Then you did something else wrong, like forgetting to change them on
both hosts. Different carp interfaces should have different vhids.
Also, a common error is to have (slightly) different ip's, netmasks or
aliases on the the carp interfaces for the two hosts. 

        -Otto

Reply via email to