On Wed, Nov 11, 2009 at 05:47:52PM +0000, Stuart Henderson wrote: > On 2009-11-10, 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? > > It sees them as different, because they're on different interfaces.
I believe I now remember why I vhids should be different The lladdr of a carp interface is 00:00:5e:00:01:vhid. Now in the (atypical, I know) case that both carp interface share the same physical network, this is asking for trouble. Also, even if they do not share the same network, it is still confusing when reading logs etc. That's why I consider it a good thing to avoid reusing vhids. -Otto