Making Mikrotik Hotspot User MAC/IP appear in Sonicwall in order to exclude some users from website blocking

Only Mikrotik device appears in Sonicwall ARP table, Mikrotik Hotspot User MAC/IP do not.

We use Sonicwall Content Filtering Service to Block websites, and we Exclude some devices by MAC.

Sonicwall DHCP range is 190.180.100.* (Sonicwall IP is 190.180.100.2)
Mikrotik DHCP Server range is 192.168.6.* (Mikrotik device IP is coming from Sonicwall DHCP: 190.180.100.36)

How to make Mikrotik Hotspot User MAC/IP appear in Sonicwall?

Hi,
i have a similar issue.
Has anyone solved it?

Thank’s.

Keeping all this in one thread, to ensure completeness…

ook…thank’s.
I hope someone can help me or @Mik888 has solved it and therefore has a solution.
I’ve been banging my head on this problem for months.

One block diagram can help, but probably the only mac you can see on sonicwall is the routerboard MAC because it act as router…

In fact, exactly the only MAC that Sonicwall sees is that of the routerboard.
The routerboard is configured as a bridge on eth1-eth5 with the 3 VLANs and DHCP server on the various VLANs.
If I set the sonicwall ip (192.168. *. 1) as a gateway in the various VLANs, everything works perfectly and Sonicwall sees the ip / mac of the wireless client (but the hotspot does not work).
If, on the other hand, I set the routerboard IP as gateway (192.168. *. 2), the hotspot works perfectly but does not pass the wireless client’s ip / mac to the Sonicwall.
I also tried with mangle and routing rules for authenticated user (hotspot + ip / mac of the client visible to Sonicwall works all, but only on Windows PCs while the android clients do not browse):

  • /ip firewall mangle
    add action=mark-routing chain=prerouting dst-address-type=“” hotspot=auth log=yes log-prefix="MARK: " new-routing-mark=gw_vlan79 passthrough=no src-address=192.168.79.0/24


  • /ip route
    add distance=1 gateway=192.168.79.1 routing-mark=gw_vlan79
    add distance=1 gateway=192.168.80.1

I am going crazy :open_mouth:
immagine.png

Anyone who can help me?
Mik888 did you then solve it yourself?