CARP Backup pfSense : no internet for LAN computers

  • Hi all,

    I have the same problem which was exposed here :
    Despite following the answer i still do have the same issue which is that when my master pfsense goes down the second is going in master state but i have no internet access from any of the clients on the LAN while if the master pfsense goes back online everything comes back to normal.

    My setup is two pfsense 1 & 2 on VM on two different ESXi servers




    My DHCP server is on on the pfSense with the gateway as and DNS server

    Even after renewing a lease on client still no chance to get internet and an ipconfig /all gives me :

    • Gateway:
    • DHCP server: (strange cause this IP is the ip of the pfSense1 which is down for testing purpose)
    • DNS 1:
    • DNS 2: (which is windows 2012 server with DNS server)

    Any help would be greately appreciated

    Thanks a lot

  • LAYER 8 Netgate

    Did you adjust outbound NAT so users are mapped to the WAN CARP VIP ( when they make connections outbound?

    when my master pfsense goes down the second is going in master state but i have no internet access from any of the clients on the LAN

    "no internet access" is not very descriptive. What exactly fails?
    Can they not resolve names?
    Can they not ping/access
    Can they not ping

  • Thanks for your reply !
    Sorry for not giving enough information.

    When i turn off the master pfsense, clients :

    • Cannot resolve names
    • Can ping
    • Cannot ping

    I confirm i have my outbound nat rule changed and mapped correctly to

    Thanks for your help

  • LAYER 8 Netgate

    You are positive the clients' default gateways are set to Check on the client, regardless of the DHCP setting.

    This generally just works. What you have wrong is really anyone's guess. Sounds like there might not be proper XMLRPC sync to the secondary and it doesn't have all the necessary firewall rules, NAT, etc.

    Or the client default gateway is wrong as above.

  • Dear Derelict,

    I am positive the client is using the correct gateway, this is also the first DNS ip.

    Sync is working ok between firewalls.
    I will make some screenshot tonight from home.

    I have been looking to solve this for weeks and unfortunately could not find the issue :(

  • LAYER 8 Netgate

    Perhaps the upstream has a problem with the MAC switching? What's upstream? A switch? Some cheesy ISP device?

  • I am using Intel dual ethernet in the machine and the switch is a Cisco SG300 10 ports.
    I may try to start from scratch with two new pfsense and see if it works.

  • LAYER 8 Netgate

    What I am really talking about is if your WAN IP address is, there is something upstream that is actually doing the internet access and NAT for your HA cluster.

    Going to probably take a manual failover and some packet captures to see where the traffic flow is actually failing.

  • Oh yes sorry it is from my internet provider a Humax HG100RE DOCSIS modem/router.
    I cant put it in bridge mode so i have configured DMZ to for inbound and no DHCP.
    Not sure how i can see if it is the problem or not but i can ping from the slave pfsense while the master is down.

    I have just sent you PM with the screenshots.

  • One thing, my HUMAX modem router shows:

    DHCP Clients

    MAC Address IP Address Duration Expires
    xx:xx:xx:xx:xx:xx D:– H:-- M:-- S:-- STATIC IP
    xx:xx:xx:xx:xx:xx D:-- H:-- M:-- S:-- STATIC IP

    I do see the Virtual CARP WAN IP
    Also the backup pfsense wan IP but not the master pfsense.
    Which is strange but anyway...not sure this has anything to do.

  • LAYER 8 Netgate

    Why are you obfuscating MAC addresses?

    MAC addresses can be important to CARP troubleshooting.

    You're hindering the help we can provide.

  • Here we go

    00:50:56:8E:26:D6 D:– H:-- M:-- S:-- STATIC IP
    00:50:56:8E:9A:AC D:-- H:-- M:-- S:-- STATIC IP

  • Ok i found out the following maybe it can help ?!?

    If i turn off my pfsense1 (master) and then change the outgoing NAT rule in pfsense2 from translation address to Interface address, internet will be back on client and if then i changed it back to i still have internet as well.

    Turning on pfsense1 at this point will work as well and failover is working as pfsense1 becomes again the master.

    If i turn off again pfsense1 i am back to square 1 and lose internet connectivity :(

  • LAYER 8 Netgate

    You really need to look at the WAN side and be sure there isn't something weird going on, like the switch not moving the CARP VIP from one switchport to another.  The CARP MAC address (00-00-5E-00-01-VHID) needs to be able to move from primary WAN to secondary WAN and back freely.

  • Thanks for your help !
    I finally got it to work but honestly not really sure what was the issue.

    On my pfsense2 i changed the LAN ip and the WAN IP.

    In the NAT rule i changed several times back and forth the translation address from interface address to, rebooted the Humax modem and it worked finally.
    When i turn off the pfsense1 i will keep having internet with pfsense2, when pfsense 1 is back online it is still working as well…

    I think this is solved.

    Thanks a lot for your help and sorry i bothered you with this !

Log in to reply