Hi all,
I need some guidance from experts here on setting up a centralized WIFI hotspot controller (using mikrotik server) + gateway over a layer 3 network, with end devices connecting via a bridge-mode DOCSIS cable modem running WIFI
The requirement is for all hotspot users to be redirected to a captive portal (be authenticated) then access the Internet.
The hotspots are located everywhere connected via layer 3 links.
The setup is not working, I need guidance and help to identify what is the problem and to make this work.
Setup diagram as below:

(1) The network DHCP is directly assigning IP information (IP, GW, DNS) to the hotspot users; (the DNS IP is currently not the mikrotik IP)
(2) The mikrotik server is not running any DHCP services
(3) The hotspot users IP network segment is different from Mikrotik server IP segment (separated by Layer 3 links)
(4) On the core router, I have redirected all packets from the hotspot users to the mikrotik server, and observed the following scenario:
(A) When the hotspot server function is disabled, traceroute from hotpot users to any destination shows traffic is flowing through the mikrotik server then towards the destination; however the webpage cannot be open, captive portal not working
(B) When the hotspot server function is enabled, traceroute from hotspot users to any destination terminates a mikrotik server ip; webpage cannot be open, captive portal not working