Strange Problem: DHCP Failover after upgrade to 2.5.0 - XMLRPC BUG?
-
Hello,
I've configured two pfSense boxes as Master/Slave.
There are multiple LAN Interfaces with DHCP configured on each of them.
There's one OpenVPN-Client connected to a some server on the internet.Whenever DHCP-Settings are synced (XMLRPC) to the Slave (e.g. by adding/changing a NTP-Server in the DHCP-Settings), the failover_peerip on the Slave is changed from the Master_ip to the OpenVPN-Client-IP (!!!) on all DHCP-Servers on all LAN-Interfaces, which of course causes DHCP Master/Slave communication to fail.
When I manually correct the failover_peerips on the Slave, everything works normally until the next sync happens. Excluding DHCP from HA-sync does help.
Interesting finding: When I disable the OpenVPN-Client, the failover_peerips stay untouched.
This clearly must be a bug in XMLRPC-Sync somehow ...
-
This post is deleted! -
@charly65
What is your DHCP interface? LAN?
could you show thenetstat -n
andifconfig
output? -
Sounds like the order of assigned interfaces doesn't match on both systems when it must match exactly.
-
@viktor_g said in Strange Problem: DHCP Failover after upgrade to 2.5.0 - XMLRPC BUG?:
@charly65
What is your DHCP interface? LAN?All LAN-Interfaces run DHCP ...
Here's the Console-Overview:
could you show the
netstat -n
andifconfig
output?netstat -n ? sure? I can't think of any reason why, but I'l add it. I'll add -rn, too.
Since there's quite a lot of interfaces, I've put the content in files ...Master is fw2 (.2), Slave is fw3 (.3)
Again: when I disable OpenVPN, everything's fine, XMLRPC-sync changes the slave-ip in the
failover_peerip field (on Master) to the master-ip in failover_peerip field on Slave.
With OpenVPN active, ALL Slaves failover_peerip fields end up showing the XXX.YYY.255.33, which happens to be the OpenVPN Client IP.fw2-ifconfig.txt fw2-netstat-n.txt fw2-netstat-rn.txt fw3-ifconfig.txt fw3-netstat-n.txt fw3-netstat-rn.txt
-
ok, I can reproduce it
Please try this patch: 151.diffRedmine issue created: https://redmine.pfsense.org/issues/11519
-
@viktor_g said in Strange Problem: DHCP Failover after upgrade to 2.5.0 - XMLRPC BUG?:
ok, I can reproduce it
Please try this patch: 151.diffPerfect! This does the job! Thanks a lot, Viktor!