• pfSense HA LAN Interfaces Only

    Moved
    91
    0 Votes
    91 Posts
    27k Views
    V
    @iptvcld Interestingly. Didn't know that. Was assuming only the master is handing out DHCP leases and only the lease state is synced to the other node.
  • HA/CARP DHCP Lease Hand Out

    3
    0 Votes
    3 Posts
    1k Views
    S
    @iptvcld said in HA/CARP DHCP Lease Hand Out: showing the DHCP server IP of my backup node interface IP Normal: https://forum.netgate.com/topic/166542/pfsense-ha-lan-interfaces-only/27
  • 0 Votes
    2 Posts
    967 Views
    S
    @bp81 To sync states (for a transparent changeover) you need identical interfaces, see this. Otherwise the hardware shouldn't matter so much. Presumably the secondary would be using the same memory and packages as the primary.
  • Hard Code CARP MAC Address to something of my choosing

    1
    0 Votes
    1 Posts
    657 Views
    No one has replied
  • CARP VLAN and switch core routing doubts.

    1
    0 Votes
    1 Posts
    651 Views
    No one has replied
  • Need static IP?

    3
    0 Votes
    3 Posts
    1k Views
    perikoP
    @steveits them this is not for a mortal like me...thanks buddy.
  • HA config crashses

    3
    0 Votes
    3 Posts
    983 Views
    C
    @viragomann Thank you. Working perfectly now.
  • Cert Manager NOT syncing. How to diagnose?

    4
    0 Votes
    4 Posts
    1k Views
    MrPeteM
    Solved it. Diagnostic Method: Review ALL the basics... Interfaces are same, same order (easiest for me: check the Interfaces menu item links :) ) XMLRPC Sync setup is correct: correct IP, login, pw on Master. NONE of those on Backup. Sync setup is correct in other packages (depends on pkg) Fix any errors Now make a change in the area(s) that were not syncing In my case: Oops: I had an IP still in "Sync Config to IP" Then, make small changes as needed... changing one static DNS assign-> All transferred changing one HAproxy item -> All transferred changing one Cert item -> all sync'd incl old/bad certs gone etc.
  • What can cause a CARP interface to remain "master"?

    2
    0 Votes
    2 Posts
    971 Views
    MrPeteM
    @mrpete FWIW, This effect has simply disappeared over time. I have no idea what the root cause was. I can't say failover is 100% reliable yet, but it "mostly works" and that's good enough for now. I need to move on to more urgent issues.
  • How is skew auto-adjust supposed to work?

    1
    0 Votes
    1 Posts
    509 Views
    No one has replied
  • Move from single firewall to HA

    2
    0 Votes
    2 Posts
    734 Views
    MrPeteM
    @honest_matt Not documented, but here are some hints that may help. I'm still in the process: Convert your existing setup to use CARP VIP's (Virtual IP's - Firewall->Virtual IP) as the primary IP, and an alternate IP for direct access to that box. The CARP IP should be the gateway for any VLAN etc. It also should be what is provided as DHCP and DNS IP in DHCP server. Change your WebGUI to specify a specific port for SSL instead of the default 443. You'll want this later with HAproxy. (It's set in System->Advanced->TCP Port) Add an additional interface just for sync. I call mine HA. Give it its own subnet, and add a rule for HA that allows the HA net to talk to HA net freely. Do NOT yet define HA sync stuff. Do a backup. Save the XML file. Examine the XML. Record the interfaces assigned to WAN, LAN, and OPT1-n -- the new/mirror box must have the exact same interfaces assigned the same way. Put the backup XML on a USB stick, name the file config.xml Set up the mirror pfSense. Reboot with the USB stick in place, and NOT connected to your WAN or LAN. It should auto-configure itself with everything from the primary box. Attach directly to the new box. Change the interface IP's to be different from the other box. Leave WAN undefined for now. Once that's done you should be able to attach the HA Sync ethernet. Follow standard instructions to define HA Sync / XML-RPC on Primary and Secondary. At this point, any changes on primary should propagate to secondary. You're on your way... there is still more to configure. WAN DNS and DHCP sync/failover Any other failovers It's a pretty big deal ;)
  • Painful UI: password fields in HA sync

    3
    0 Votes
    3 Posts
    999 Views
    MrPeteM
    @jimp Yep. A password plugin was injecting a PW into one of the two fields. Thanks.
  • Shell/Cmd line for HA/CARP/VIP troubleshooting and config?

    2
    0 Votes
    2 Posts
    1k Views
    MrPeteM
    @mrpete said in Shell/Cmd line for HA/CARP/VIP troubleshooting and config?: I'm realizing that getting HA/CARP/VIP running properly is quite the detailed process, in which it as raaather easy to break any ability to access pfSense through the GUI / (V)LAN / WAN. So (of course) I went looking for shell equivalents to the various GUI configuration and status screens related to HA/CARP/VIP. At the very least, I want to learn how to accomplish the following from the shell: List and Remove CARP IP's (if busted, they will conflict with the other box) List and change (or at least clear) sync settings Turn off HAproxy Create a straightforward way to keep a backup HA machine connected enough to access the Internet Answers: ifconfig inter.face ip.add.re.ss -alias (temporarily removes any IP, including CARP VIP) See below for a console script that can disable CARP No solution found for sync settings, but a workaround: with CARP IP's removed from the backup pfSense, I could again plug in the ethernet and access the web GUI A console "svc" script (see below) can start, stop and restart services. Many console scripts are documented here
  • Slowness on backup pfSense

    1
    0 Votes
    1 Posts
    738 Views
    No one has replied
  • CARP multicast switching security issue

    3
    0 Votes
    3 Posts
    1k Views
    S
    @yo-mismo CARP (a "variant" of VRRP) packets are sent using MAC 00:00:5e:00:01:vhid (unicast) to 01:00:5e:00:01:vhid (multicast). ARP of CARP VIP should be 00:00:5e:00:01:vhid. Can you post a Wireshark capture that shows that every packets are sent to the multicast 01:00:5e:00:01:vhid ? It shouldn't be multicasting traffic other than the CARP heartbeats. If it does, there may be issues with ARP proxies or something something that would interfere with it.
  • VIP Connection problem.

    1
    0 Votes
    1 Posts
    677 Views
    No one has replied
  • Services not starting automatically after failure in HA setup

    2
    0 Votes
    2 Posts
    863 Views
    Y
    I have uninstalled unused packages and added via shellcmd afterfilter /erc/rc.start_packages even if it should be launched without aid. Much better, haproxy+net-snmp+ntopng autostart, but freeradius is the only one left not starting automatically.
  • How to use CARP Redundancy Without NAT?

    6
    0 Votes
    6 Posts
    2k Views
    S
    Is this "rule" still valid, that the VIP should be the lowest IP? Additional: without NAT, how do I attach OpenVPN to the CARP IP, doesn't it also have to be mapped/rewritten to the CARP IP? I try to set up a CARP cluster and have issues assigning fw rules etc, because I don't see the CARP IP in the Destination dropdown.
  • pfSense crash on attempting CARP with PIM pkg :(

    carp pim
    1
    1 Votes
    1 Posts
    569 Views
    No one has replied
  • False error on the way to WAN CARP

    1
    0 Votes
    1 Posts
    568 Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.