HOTSPOT + PCC + VLAN

Hello,

I am configuring a Mikrotik to do a hospot and also have WAN balancing with PCC.

I have configured it and it works correctly, but now I want to add another hotspot on the same interface but in a VLAN and it does not work.

When I connect to the interface with the VLAN, the browser opens, but fails to load the hotspot page.

If I connect to the interface without VLAN, it works correctly.

The mikrotik configuration is like this:

/interface pwr-line
set [ find default-name=pwr-line1 ] disabled=yes
/interface ethernet
set [ find default-name=ether1 ] name=ether1-WAN_1
set [ find default-name=ether2 ] name=ether2-WAN_2
/interface wireless
set [ find default-name=wlan1 ] ssid=MikroTik
/interface vlan
add interface=ether3 name=VLAN77 vlan-id=77
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
add dns-name=paula.hyxion14.es hotspot-address=10.41.7.1 name=hsprof1
add dns-name=dani77.hyxion14.es hotspot-address=10.41.6.1 html-directory=hotspot_v77 name=hsprof2
/ip pool
add name=dhcp_pool0 ranges=10.41.7.2-10.41.7.254
add name=dhcp_pool1 ranges=10.41.6.2-10.41.6.254
/ip dhcp-server
add address-pool=dhcp_pool0 interface=ether3 name=dhcp1
add address-pool=dhcp_pool1 interface=VLAN77 name=dhcp2
/ip hotspot
add address-pool=dhcp_pool0 disabled=no interface=ether3 name=hotspot1 profile=hsprof1
add address-pool=dhcp_pool1 disabled=no interface=VLAN77 name=hs-VLAN77 profile=hsprof2
/routing table
add disabled=no fib name=hacia-WAN_1
add disabled=no fib name=hacia-WAN_2
/interface list member
add interface=ether1-WAN_1 list=WAN
add interface=ether2-WAN_2 list=WAN
add interface=ether3 list=LAN
add interface=VLAN77 list=LAN
/ip address
add address=192.168.10.77/24 interface=ether1-WAN_1 network=192.168.10.0
add address=192.168.88.19/24 interface=ether2-WAN_2 network=192.168.88.0
add address=10.41.7.1/24 interface=ether3 network=10.41.7.0
add address=10.41.6.1/24 interface=VLAN77 network=10.41.6.0
/ip dhcp-server network
add address=10.41.6.0/24 gateway=10.41.6.1
add address=10.41.7.0/24 gateway=10.41.7.1
/ip dns
set servers=8.8.8.8,1.1.1.1
/ip firewall address-list
add address=10.0.0.0/8 list=RFC1918
add address=172.16.0.0/12 list=RFC1918
add address=192.168.0.0/16 list=RFC1918
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
/ip firewall mangle
add action=accept chain=prerouting dst-address-list=RFC1918 src-address-list=RFC1918
add action=accept chain=prerouting dst-address=192.168.10.0/24 in-interface-list=LAN
add action=accept chain=prerouting dst-address=192.168.88.0/24 in-interface-list=LAN
add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=ether1-WAN_1 new-connection-mark=hacia_WAN_2_conn passthrough=yes
add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=ether2-WAN_2 new-connection-mark=hacia_WAN_1_conn passthrough=yes
add action=mark-routing chain=output connection-mark=hacia_WAN_1_conn new-routing-mark=hacia-WAN_1 passthrough=no
add action=mark-routing chain=output connection-mark=hacia_WAN_2_conn new-routing-mark=hacia-WAN_2 passthrough=no
add action=mark-routing chain=prerouting connection-mark=no-mark dst-address-type=!local hotspot=auth in-interface-list=LAN new-routing-mark=hacia-WAN_1 passthrough=yes per-connection-classifier=both-addresses:2/0
add action=mark-routing chain=prerouting connection-mark=no-mark dst-address-type=!local hotspot=auth in-interface-list=LAN new-routing-mark=hacia-WAN_2 passthrough=yes per-connection-classifier=both-addresses:2/1
add action=mark-routing chain=prerouting connection-mark=hacia_WAN_1_conn in-interface-list=LAN new-routing-mark=hacia-WAN_1 passthrough=no
add action=mark-routing chain=prerouting connection-mark=hacia_WAN_2_conn in-interface-list=LAN new-routing-mark=hacia-WAN_2 passthrough=no
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat out-interface-list=WAN src-address-list=RFC1918
add action=masquerade chain=srcnat out-interface-list=WAN src-address=10.41.7.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" src-address=10.41.6.0/24
/ip hotspot user
add name=admin
/ip route
add check-gateway=ping disabled=no dst-address=0.0.0.0/0 gateway=192.168.10.1 routing-table=hacia-WAN_1 suppress-hw-offload=no
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.88.1 pref-src="" routing-table=hacia-WAN_2 scope=30 suppress-hw-offload=no target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.88.1 pref-src="" routing-table=main scope=30 suppress-hw-offload=no target-scope=10
/system note
set show-at-login=no

I don’t see where the error could be and why using VLAN does not open the hotspot page,

Any idea what could be the reason?

Thanks for your help,

Could it be a bug in version 7.11.2?

Does anyone have this problem?

I have downgraded to version 6.49.10 and the problem is the same, it does not open the hotspot page for VLAN.

It doesn’t seem to be a problem with version 7.11.2.