Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    CARP VIP not reachable

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    26 Posts 2 Posters 13.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Eugene
      last edited by

      Ok, sounds interesting. Can you please run tcpdump -i vlan1 -n vrrp on pfsense1 and click edit any vip and then save apply on pfsense1?

      http://ru.doc.pfsense.org

      1 Reply Last reply Reply Quote 0
      • S
        surfdude
        last edited by

        Still nothing.

        But, if I execute this command on pfsense2, I get sometimes a packet:

        /sbin/ifconfig carp1 192.168.51.3/24 vhid 8 advskew 100 pass test

        1 Reply Last reply Reply Quote 0
        • E
          Eugene
          last edited by

          i think I run out of ideas… Your carp does not work.

          1. pfsctl -sr | grep carp
          2. Try swap nics fxp0 and fxp1.
            Sorry

          http://ru.doc.pfsense.org

          1 Reply Last reply Reply Quote 0
          • S
            surfdude
            last edited by

            pfctl -sr | grep carp

            anchor "carp" all
            pass in quick on carp0 inet proto udp from any port = bootpc to 255.255.255.255 port = bootps keep state label "allow access to DHCP server on LAN"
            pass in quick on carp0 inet proto udp from any port = bootpc to 192.168.50.2 port = bootps keep state label "allow access to DHCP server on LAN"
            pass out quick on carp0 inet proto udp from 192.168.50.2 port = bootps to any port = bootpc keep state label "allow access to DHCP server on LAN"
            pass out quick on carp0 proto icmp all keep state label "let out anything from firewall host itself"
            pass out quick on carp1 all flags S/SA keep state (tcp.closed 5) label "let out anything from firewall host itself"
            pass out quick on carp2 all flags S/SA keep state (tcp.closed 5) label "let out anything from firewall host itself"
            pass quick proto carp all keep state
            pass in quick on carp2 all flags S/SA keep state label "USER_RULE: Trust the Firewall CARP net"
            pass in quick on carp0 inet from 192.168.50.0/24 to any flags S/SA keep state label "USER_RULE: Default LAN - any"
            pass in quick on carp1 all flags S/SA keep state label "USER_RULE"

            Isn't here something wrong?

            1 Reply Last reply Reply Quote 0
            • E
              Eugene
              last edited by

              you have this: pass quick proto carp all keep state
              It means at least carp packets (vrrp) shouldn't have any restrictions.
              you should have the same (almost) dump on vlan1 as you have on WAN for vrrp.

              http://ru.doc.pfsense.org

              1 Reply Last reply Reply Quote 0
              • S
                surfdude
                last edited by

                <wan><if>fxp0</if>
                        <mtu><ipaddr>192.168.1.201</ipaddr>
                        <subnet>1</subnet>
                  [..]

                I finally found the problem. Simple little configuration mistake, see above. I apologize for the trouble caused.</mtu></wan>

                1 Reply Last reply Reply Quote 0
                • NobleKangarooN NobleKangaroo referenced this topic on
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.