Community discussions

MikroTik App
 
alexandria
newbie
Topic Author
Posts: 33
Joined: Mon Mar 11, 2013 7:28 am

HOTSPOT from and to IP ADDRESS

Sun Jun 15, 2014 7:24 am

Hello All!

I have seen some post regarding this issue in hotspot, the "from" ip address is DIFFERENT from "to" ip address and I have never seen a solution for this yet in the forum.

Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
# MAC-ADDRESS ADDRESS TO-ADDRESS SERVER IDLE-TIMEOUT

3 A C4:85:08:69:86:47 192.168.11.37 192.168.11.34 AFGS-HS-S...
4 A 00:26:82:72:E8:E3 192.168.11.40 192.168.11.41 AFGS-HS-S...


7 A 00:26:82:75:49:2A 192.168.11.30 192.168.11.45 AFGS-HS-S...
8 A B8:F9:34:7B:6B:A4 192.168.11.49 192.168.11.50 AFGS-HS-S...
9 A 60:D8:19:94:09:08 192.168.11.32 192.168.11.33 AFGS-HS-S...

11 A 14:89:FD:28:34:5A 192.168.11.38 192.168.11.39 AFGS-HS-S...
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: HOTSPOT from and to IP ADDRESS

Sun Jun 15, 2014 3:24 pm

If you mean the entries in "/ip hotspot host", that is the universal hotspot NAT. It allows clients to use the hotspot if they have a static ip outside the hotspot localnet ip range.

If you want to disable the hotspot NAT, then
/ip hotspot
set 0 address-pool=none
 
alexandria
newbie
Topic Author
Posts: 33
Joined: Mon Mar 11, 2013 7:28 am

Re: HOTSPOT from and to IP ADDRESS

Mon Jun 16, 2014 8:15 am

SurferTim, thanks for the reply.

Before, my MT can manage to issue the same IP from my DHCP to hotspot, which is very useful in tracking users ip address from hotspot without checking my dhcp servers leases.

I need my hotspot to get the same ip address from my dhcp, which is working before on my previous hotspot setup, now I dont know what is wrong.

Anyway, I had 3 interfaces set to Bridge for this hotspot.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: HOTSPOT from and to IP ADDRESS

Mon Jun 16, 2014 2:42 pm

I need my hotspot to get the same ip address from my dhcp, which is working before on my previous hotspot setup, now I dont know what is wrong.
Disable the hotspot NAT. If disabled, no translation will be done.
/ip hotspot
set 0 address-pool=none
 
alexandria
newbie
Topic Author
Posts: 33
Joined: Mon Mar 11, 2013 7:28 am

Re: HOTSPOT from and to IP ADDRESS

Tue Jun 17, 2014 6:38 am

SurferTim,

Same issue. :(
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: HOTSPOT from and to IP ADDRESS

Tue Jun 17, 2014 2:29 pm

SurferTim,

Same issue. :(
Are you sure? If you set the hotspot address-pool to none, it does not perform the NAT.

edit: Insure you are setting the address-pool on the right hotspot (AFGS-HS-S...).
 
ferkop1
just joined
Posts: 10
Joined: Thu Feb 23, 2012 11:53 pm
Location: Slovakia

Re: HOTSPOT from and to IP ADDRESS

Fri Jun 20, 2014 11:37 pm

Hi, you need to change the hotspot user profile to none not only in servers sheet. It works fine im tested it on more hotspots, in hosts now only one IP.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: HOTSPOT from and to IP ADDRESS

Sat Jun 21, 2014 2:13 am

Hi, you need to change the hotspot user profile to none not only in servers sheet. It works fine im tested it on more hotspots, in hosts now only one IP.
Where do you see an entry for this in "/ip hotspot user profile"? I don't know what this is supposed to mean.

edit: I see where you can assign an address pool there now, but it appears to be set to none by default. You can also set the pool with a radius Framed-Pool attribute, but that is also not sent by default.

You can also assign a specific ip to a user in "/ip hotspot user" with the address attribute and the radius Framed-IP-Address attribute. Check if you are doing that also, but both are disabled or not sent by default.
 
User avatar
machack
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Fri Jun 01, 2007 9:35 pm
Location: San Luis Argentina
Contact:

Re: HOTSPOT from and to IP ADDRESS

Tue May 16, 2023 1:41 am

Hello!

same problem, one client use 2 IP address in the pool!
/ip/hotspot/host>pr

Flags: A, P - BYPASSED
Columns: MAC-ADDRESS, ADDRESS, TO-ADDRESS, SERVER
# MAC-ADDRESS ADDRESS TO-ADDRESS SERVER
0 A F2:XX:XX:51:0A:FE 10.1.99.248 10.1.99.249 hotspot1
-----------------------------------------------------------------------------------------

/ip/hotspot> print detail
Flags: X - disabled, I - invalid, S - HTTPS
0 name="hotspot1" interface=bridge-HS profile=hsprof1 idle-timeout=5m
keepalive-timeout=none login-timeout=none addresses-per-mac=1
ip-of-dns-name=10.1.99.1 proxy-status="running
-----------------------------------------------------------------------------------------------

/ip/pool/used> pr
Columns: POOL, ADDRESS, OWNER, INFO
POOL ADDRESS OWNER INFO
HS-lapachos 10.1.99.248 DHCP F2:XX:XX:51:0A:FE
HS-lapachos 10.1.99.249 hotspot F2:XX:XX:51:0A:FE


Some Help?


Please some can Help, i need get HotsSpot Use one address

Who is online

Users browsing this forum: aoravent, K0NCTANT1N, ofatieiev and 74 guests