CARP Backup pfSense : no internet for LAN computers
-
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. -
What I am really talking about is if your WAN IP address is 192.168.0.2, 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 192.168.0.2 for inbound and no DHCP.
Not sure how i can see if it is the problem or not but i can ping 8.8.8.8 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 192.168.0.2 D:– H:-- M:-- S:-- STATIC IP
xx:xx:xx:xx:xx:xx 192.168.0.13 D:-- H:-- M:-- S:-- STATIC IPI 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. -
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 192.168.0.2 D:– H:-- M:-- S:-- STATIC IP
00:50:56:8E:9A:AC 192.168.0.13 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 192.168.0.2 to Interface address, internet will be back on client and if then i changed it back to 192.168.0.2 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 :(
-
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 192.168.0.2, 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 !