• keepalive

    4
    0 Votes
    4 Posts
    732 Views
    DerelictD
    Yeah, that's what it is supposed to do. I would set a maintenance window, put the primary in maintenance mode, do what you have to do, and remove it from maintenance mode. And I'd stop moving cables around.
  • Need help resurrecting an old HA kludge for DynDNS failover

    3
    0 Votes
    3 Posts
    605 Views
    W
    @actualrootwyrm Hi, I wrote that code some years ago, freely publishing a pfsense customisation I had made for a service provider who had hired me some time before. As you repeat here, I was surprised in seeing that such a feature (i.e. dns update on a CARP failover) required an ad-hoc script, so reading that another user was looking for the same, I had made it available with some remarks, knowing that it could have been useful later. Still, as many changes have been introduced in the following pfsense releases, to make that code working again you have (and you will always have, because being a custom patch it will require continuous check/maintenance at every pfsense update, unless it becomes a standard feature as you hope) to: ensure php is still the current scripting language for pfsense verify the current release php syntax for the functions required to manipulate strings (I had already slightly modified it for a next pfsense release) verify the current config.xml structure for setting the configuration keys to enable/disable dynamic dns entries (check the similar code used for the GUI) verify the current rc.carpmaster/rc.carpbackup (see parameters and structure) I don't have time for committing into this now, but let me suggest you'll have just to insist with some tests (possibly displaying intermediate string manipulation results) to get to the desired behaviour. Let me say that even if you defined it just a "kludge", I had always been proud of that smart and quick snippet of code, tailored to solve a specific issue. As it is your effort to create and maintain it (I really doubt it can be raised to a feature being it so specific), it'll be up to you to decide whether to publish it or keep it for yourself. Good luck.
  • SG-2440 must resave WAN interface on reboot

    Moved
    12
    0 Votes
    12 Posts
    1k Views
    DerelictD
    Again, more details needed. See above. "Can't ping out" is a symptom. You need to diagnose to find out what is not in place that is put back when you save the interface. My guess is something like a default gateway. But that's just a guess.
  • [SOLVED] CARP Slave DNS Query Refused

    13
    0 Votes
    13 Posts
    2k Views
    B
    Got it. I wasn't really thinking about it. Thinking about it, you're right. It makes no sense for me to have obfuscated them. EDIT: Deobfuscated them through all posts. EDIT 2: So I'm not convinced I've got my problem solved just yet, but it's possible. I reset my pfSense slave to factory defaults and have been reconfiguring it from the ground up. So far DNS is still working, but I still have a handful of interfaces to configure. At this stage, I would expect it to not be working on any interfaces if it was going to have any issues, so I'm hopeful. If this does fix it, I have absolutely no idea what was broke.
  • Sync captive portal logged in state

    3
    0 Votes
    3 Posts
    621 Views
    DerelictD
    @citronvolcano said in Sync captive portal logged in state: is there a way to sync captive portal logged users between the Master and the Backup? Not that I know of. Last time I ran an HA captive portal I am pretty sure I told it not to sync the CP settings and just disabled the captive portal on the secondary. In the event of a failover it was better to just allow the traffic than to break 3000 CP sessions all at once. Yes, there would be a "vulnerability" in that a savvy user could just manually set their gateway to the secondary's interface address and bypass the portal but that was deemed a lesser concern. The access was "free" anyway. The primary reason HA was implemented was keeping the front desk from getting slammed in the event of a failure, which equates to keeping the guests happy.
  • VIP Changing between physical MAC and VIP MAC

    2
    0 Votes
    2 Posts
    540 Views
    DerelictD
    Each ISP modem is connected to a Layer 2 unmanaged switch, which then one port is connected to one FW the other the other FW. Different switches per WAN correct? Each box is identical, except one is Master and the other Backup of course so I know my HA sync is working. The SYNC interface has nothing to do with the CARP VIP status on each interface or which node is master or backup at any given time. https://forum.netgate.com/post/719523 My problem here is when I have one ISP connected the IP address assigned to the VIP never shows up on the modems ARP table. The CARP MAC only shows up in the upstream MAC address table due to the CARP advertisements. When the node holding the CARP MASTER status sees an ARP request for the CARP VIP, it answers with an ARP response. This ARP response is sourced from the interface MAC address but contains the CARP MAC address as the ISAT MAC address. There is no reason for the modem to contain the CARP VIP in its ARP table unless it needs to route traffic from itself to the CARP address. That said, MANY ISP devices simply do not do what is necessary for CARP to function correctly. They might only allow one MAC per port or any of a number of silly things. Some work fine.
  • Routing Wan with 2 PfSenses

    2
    0 Votes
    2 Posts
    527 Views
    V
    Yes, just change the route to direct the traffic to the virtual IP.
  • my 2 pfsense are master

    Locked
    6
    0 Votes
    6 Posts
    854 Views
    DerelictD
    OK so you have two threads open for the same thing again. Locking this one.
  • 2 masters

    4
    0 Votes
    4 Posts
    667 Views
    DerelictD
    Then maybe it is just multicast connectivity. With both as MASTER you should be able to see the CARP hearbeats from the other node when you capture CARP on VLAN10 or VLAN20. If you only see the hearbeats from the local node you are capturing on, there's your symptom.
  • CARP Vlans doesn't work

    2
    0 Votes
    2 Posts
    448 Views
    DerelictD
    CARP VLANs work fine. Are the CARP VIPs MASTER and BACKUP on the primary and secondary respectively (Status > CARP)? Did you instruct your DHCP server to give the CARP VIP as the default gateway in its leases? but it does not work as well What does "does not work" mean? https://www.netgate.com/docs/pfsense/routing/connectivity-troubleshooting.html https://www.netgate.com/docs/pfsense/highavailability/troubleshooting-high-availability-clusters.html
  • Cannot delete Virtual IP

    2
    0 Votes
    2 Posts
    542 Views
    jimpJ
    Was that the entire log message? That isn't the kind of message that would come up from a privilege. That sounds more like maybe an issue writing to the disk. Sure there aren't any other errors?
  • Hsrp links

    9
    0 Votes
    9 Posts
    1k Views
    C
    @nogbadthebad that's what I thought initially. Thanks for confirming that
  • CARP and Vlans

    6
    0 Votes
    6 Posts
    1k Views
    DerelictD
    Close. ARP responses from the firewalls are always CARP VIP ISAT CARP MAC. But those reponses are sourced from the interface MAC address, not the CARP MAC. The CARP MAC address is included in the ARP ISAT response, not the frame itself. What steers the traffic to the proper node that holds the CARP MASTER is the fact that the CARP advertisements are sourced from the CARP MAC address. This tells the switching layer what port to send the traffic to. No traffic ever gets sourced from the CARP MAC at layer 2 other than the CARP advertisements. This is why most CARP problems come down to switching, not pfSense itself.
  • CARP Rules between Vlans

    7
    0 Votes
    7 Posts
    1k Views
    B
    @awebster okeyyy thank youu very much
  • Create Vlan

    4
    0 Votes
    4 Posts
    677 Views
    V
    Yes, relating to CARP, VLANs behaves like conventional network interfaces. The VIP has to be a CARP VIP.
  • HA AND VLANS

    6
    0 Votes
    6 Posts
    957 Views
    X
    @derelict It is amazing now I can finally shut down my DELL R210 II and upgrade the memory and remove that 12 TB HDD from there without down time, witch I was planing to do from a very long time Thank you
  • CARP chosen instead of VirtualIP

    2
    0 Votes
    2 Posts
    524 Views
    johnpozJ
    Why would you want to run multiple layer 3 on the same layer 2? Its a Borked Config right out of the gate - are you in the middle of migration from that Huge /16 that makes zero sense to the more reasonable /24?
  • DHCP DDNS wrongly remaping hosts: host.domain.domain

    3
    0 Votes
    3 Posts
    597 Views
    S
    I found a work around rewriting the client dhclient.conf file, but this is not satisfying. I guess we will have to externalize our DHCP service from PFsense, probably some dedicated isc dhcpd server with the capacity of understanding that a FQDN shouldn't get forwarded a duplicated domain name... :-(
  • High Avail. Sync broken

    22
    0 Votes
    22 Posts
    15k Views
    S
    @vigorfac said in High Avail. Sync broken: Nov 7 12:40:18 php-fpm 51646 /status_logs_settings.php: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1510054818] unbound[90624:0] error: bind: address already in use [1510054818] unbound[90624:0] fatal error: could not open ports' The above error sounds similar to this bug in pfSense, which was since resolved: https://redmine.pfsense.org/issues/7326#note-2 (the code didn't wait long enough for unbound to stop before trying to start it again...in our case the master server was unaffected but the backup router would end up with unbound not running) re: HA sync, we have "DNS Forwarder and DNS Resolver configurations" checked in our setup and have no sync issues. So I don't think that by itself is an issue.
  • Public IP to Client

    16
    0 Votes
    16 Posts
    2k Views
    DerelictD
    Forget it, Jake. It's OVH.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.