1 WAN interface with 2 subnet.


  • Hello I am trying to setup CARP between two machine that has 1 WAN interface with 2 subnet.

    Here are my setup:

    PF_A:
    WAN = XXX.XXX.XXX.1
    VIP_ALIAS = YYY.YYY.YYY.1 using WAN interface
    CARP_WAN = XXX.XXX.XXX.250 VHID = 1 SKEW = 100
    CARP_VIP_ALIAS = YYY.YYY.YYY.250 VHID = 2 SKEW = 100

    PF_B
    WAN = XXX.XXX.XXX.2
    VIP_ALIAS = YYY.YYY.YYY.2 using WAN interface
    CARP_WAN = XXX.XXX.XXX.250 VHID = 1 SKEW = 200
    CARP_VIP_ALIAS = YYY.YYY.YYY.250 VHID = 2 SKEW = 200

    The CARP_WAN seems to be working fine, but for the CARP_VIP_ALIAS, both machine thinks that they are the Master.  Then I checked the traffic graphs also, it doesn't seem like the CARP_VIP_ALIAS are talking to each other.

    Am I missing some outbound rule or firewall settings or something? Would this kind of setup even work? Is there a proper way to get it to work?

    Help!


  • After looking at it some more, it seems like the CARP_WAN is also not setting the master/slave correctly.  I am seeing both machine as the Master for the VIP CARP XXX.XXX.XXX.250 and YYY.YYY.YYY.250  :'(