I have set up Mikrotik to use Radius for dhcp address assigment and hotpost authentication (mac).
I don't want to use hostspot's one-to-one nat, so I haven't set address-pool in my hotspot config and it is set to null:
[admin@TESTY] > /ip hotspot print
Flags: X - disabled, I - invalid, S - HTTPS
NAME INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT
0 hs-ether3 ether3 default 5m
1 hs-ether2 ether2 default 5m
There is no problem, when I connect a PC with only one network card. All works as it should. The problem occurs when I connect a laptop with already working wifi connection. My laptop has wifi interface with 192.168.1.X address assigned to it by non-mikrotik dhcp, it has also ethernet card which I connect to Mikrotik dhcp/hotspot interface with net 10.0.0.X.
When I connect my laptop to Mikrotik with wlan disabled OR with no IP address on wifi interface (ipconfig release), all is correct. But when I connect my laptop with assigned 192.168.1.X address to Mikrotik, there is problem - I have IP address from Mikrotik, but nothing works - I can't even ping Mikrotik.
What I found is:
[admin@TESTY] > /ip hotspot active print
Flags: R - radius, B - blocked
USER ADDRESS UPTIME SESSION-TIME-LEFT IDLE-TIMEOUT
0 R 00:14:C2:D... 192.168.1.110 1m32s 23h58m28s
[admin@TESTY] > /ip hotspot host print
Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
MAC-ADDRESS ADDRESS TO-ADDRESS SERVER IDLE-TIMEOUT
0 H 00:14:C2:DB:73:D9 10.0.0.254 10.0.0.254 hs-ether3 5m
1 DA 00:14:C2:DB:73:D9 192.168.1.110 192.168.1.110 hs-ether3
It looks as Mikrotik's hotspot uses my wifi IP (192.168.1.110) instead of 10.0.0.254.
Is it a bug in hotspot? Can I change this behaviour in config? Any help will be appreciated.
Gregor