On Tue, Jun 21, 2005 at 11:29:59AM -0700, Michael Favinsky wrote:
> So if I'm using CARP, do I create separate CARP interfaces and VHIDs for
> 192.0.2.4 and 192.0.2.5? Or can one CARP interface have multiple VHIDs
> assigned to it?

  don't know if you an hve multiple VHIDs, but you can have multiple
  IPs on it.

  just make sure they match.

eg:

----------------------------
(host1 - CARP0)

  inet 192.168.1.1/32

(host2 - CARP0)

  inet 192.168.1.1/32
  inet 192.168.2.2/32 alias
----------------------------

  and they will both be master all the time.

  also, don't know if this helps in your case, or if you already
  know it, but CARP-wise, (at least how i have it configured),
  traffic destined for the CARP IP will be destined for the
  link-layer address of the carp multicast whatnot (0:0:5e:0:1:<vhid>) ,
  wheras traffic coming out of the interface carp is on will
  still leave sourced as from the link-layer address of that interface.
 ( in my case, the carpdev ifaces have no IPs ).

  jared

- 

[ openbsd 3.7 GENERIC ( jun 10 ) // i386 ]

Reply via email to