Navigation

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

    Carp with vlans: firewall question

    HA/CARP/VIPs
    2
    5
    786
    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.
    • B
      bmaster last edited by

      Our setup: 2 pfsense boxes with carp (working just fine for years)
      Now, I'm testing with VLANs: I defined vlan 11 on the LAN interface: 10.11.1.2 (master), 10.11.1.3 (backup), 10.11.1.1 (carp virtual ip)
      In the firewall rules, under the VLAN11 tab, I have no rules at all.
      On a client computer, which is on a vlan 11 switchport, I try a couple of pings:

      ping 10.11.1.1 -> no reply
      ping 10.11.1.2 -> no reply
      ping 10.11.1.3 -> reply

      in the firewall logging, I see that the ping to 10.11.1.2 is blocked indeed. When I create a rule to allow all traffic from vlan 11 to everywhere, all pings work. When I look under diagnostics -> states, I only see states for .1 and .2, not for .3.

      My conclusion: traffic for .1 and .2 (the master) is handled by the firewall, traffic for .3 (the backup) is not.

      I'm sure there is a perfectly good explanation, but I really don't see it… is there anyone who can explain it to me?

      1 Reply Last reply Reply Quote 0
      • M
        miloman last edited by

        no rules = nothing allowed = no traffic

        1 Reply Last reply Reply Quote 0
        • B
          bmaster last edited by

          Yes, I know, but why does a ping to 10.11.1.3 give me a reply then?

          1 Reply Last reply Reply Quote 0
          • B
            bmaster last edited by

            Hmm, seems like my question is not as easy as I thought it would be…

            1 Reply Last reply Reply Quote 0
            • B
              bmaster last edited by

              I created another vlan (12) today, and have the exact same issue. I can ping the backup-carp ip, but not that master nor the virtual. The firewall rules are empty, so nothing should be allowed. Any help or ideas are very welcome!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post