Hi Community
As I have PPTP and L2TP incoming connections to which I assign ip addresses from LAN. I have enabled proxy-arp on the LAN bridge interface so they can communicate.
I also use CAPSMAN and have roaming WLAN clients in the same LAN.
DHCP Server is an ISC DHCP Server (because of vendor related stuff for IP-Phones and IPTV).
Now I noticed that I often run low on DHCP Leases and the DHCP Server keeps complaining and abandoning ip addresses in a row because they are pingable while receiving a DISCOVER. Strangely that were ip addresses which shortly before were successfully assigned to that exact WLAN clients.
So why is the WLAN client sending a DISCOVER and not a RENEW? Turns out, those are moving clients which get out of range from one AP and get kicked by CAPSMAN because of excessive data loss. They immediately re-appear on the next AP where they do a DISCOVER.
But I guess because of proxy-arp the Mikrotik still answers on ping from the DHCP-Server on behalf of that client. So the DHCP-Server abandons that IP Address and assigns a new one to that client.
Indeed, when I disable proxy-arp, that issue disappears. But then of course VPN clients with an ip address from within the LAN, are unable to reach the LAN anymore.
Is there any option to only proxy-arp ip addresses that connect via VPN instead of ALL IP addresses in the LAN?
-Benoit-