Hi Stefan,
i'm not doing load balance, just active/passive router/firewall
configuration, but we're using only one ip on carp, with no ip address on
the phisical interfaces. Our configuration is like this:
# cat /etc/hostname.fxp0
up

# cat /etc/hostname.carp0
inet 81.xx.xx.xx   255.255.255.252   81.xx.xx.xx vhid 1 carpdev fxp0

same thing on the other machine (with advskew 100)
Hope this helps
Rick

On Sun, Oct 9, 2011 at 7:01 PM, Stefan Midjich <sweh...@gmail.com> wrote:

> Everything I read about CARP, including my Book on PF 2nd edition,
> says you're supposed to have two different ip-addresses set for each
> carp device, for two hosts that is. And one third ip-address in the
> same network on the psuedo carp0 interface you create.
>
> Since I'm aiming to load balance on the first hop of a network this
> means I need to allocate three external static IPs for my system of
> two OpenBSD gateway hosts.
>
> Is there a less wasteful way of doing load balancing with carp using IPv4?
>
> --
>
>
> Med vdnliga hdlsningar / With kind regards
>
> Stefan Midjich
> http://swehack.se

Reply via email to