Community discussions

MikroTik App
 
thomasr
just joined
Topic Author
Posts: 14
Joined: Fri Sep 07, 2007 8:13 pm

Missing earlier HOTSPOT function, Temp. net -> active net

Mon Jun 01, 2009 1:00 pm

Hi,

I'm trying to setup a hotspot where the user get at first assigned to a temporary IP-address and when a service is selected the user gets a IP-address from the active net. The HOTSPOT solution in mikrotik earlier was using temp and real net solution. Is it possible to configure this? And if so how?

We're using Radius server with IP-pool settings on the service to direct mikrotik the right pool for selected service.

Thanks,

/T
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Missing earlier HOTSPOT function, Temp. net -> active net

Mon Jun 01, 2009 3:12 pm

Yes, I think it is possible.

Firstly, when client is not authorized, it gets the address from the address-pool, which is configured in,
/ip hotspot set <number> address-pool
after login another address-pool is used, which is available at,
/ip hotspot user profile set address-pool
 
thomasr
just joined
Topic Author
Posts: 14
Joined: Fri Sep 07, 2007 8:13 pm

Re: Missing earlier HOTSPOT function, Temp. net -> active net

Mon Jun 01, 2009 3:29 pm

Sound great!

But i want to assign the IP-pool from a radius server not within mikrotik profile.

under Hotspot / Hosts:

192.168.111.254 <-> 10.10.10.1

under Hotspot / active:

10.10.10.1

On computer:

192.168.111.254


Thanks,

/Thomas
 
thomasr
just joined
Topic Author
Posts: 14
Joined: Fri Sep 07, 2007 8:13 pm

Re: Missing earlier HOTSPOT function, Temp. net -> active net

Mon Jun 01, 2009 3:59 pm

No success still the same result as above.

How to from a clean install to setup this? anyone?
The default way seems to be universal NAT.

thx,

/Thomas
 
thomasr
just joined
Topic Author
Posts: 14
Joined: Fri Sep 07, 2007 8:13 pm

Re: Missing earlier HOTSPOT function, Temp. net -> active net

Tue Jun 02, 2009 6:06 pm

My thread felt to be easy to solve, but lot of things happens under the hood when running hotspot setup. So i _REALLY_ need help from you guys.

1/ I want to disable the Nat-to-Nat function.
2/ I want to control which IP-pool to be used from a radius server not from profile within.
3/ I want to have more then one IP-pool.

Please give me some ideas or tips.

thx,

/Thomas
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Missing earlier HOTSPOT function, Temp. net -> active net

Wed Jun 03, 2009 11:25 am

1) Set address-pool=none in both menus.
2) Use Framed-pool option to set pool from RADIUS server;
3) Add multiple pools in /ip pool, specify different Framed-Pool for the different clients.
 
thomasr
just joined
Topic Author
Posts: 14
Joined: Fri Sep 07, 2007 8:13 pm

Re: Missing earlier HOTSPOT function, Temp. net -> active net

Mon Jun 08, 2009 12:47 pm

Hi,

Are you really sure that the below would work?
1) Set address-pool=none in both menus.
2) Use Framed-pool option to set pool from RADIUS server;
3) Add multiple pools in /ip pool, specify different Framed-Pool for the different clients.
I get a IP-address as espected and the hotspot login page but nothing more, i mean nothing changed the Nat2Nat is still active.

lease time is: 14 sec.

[admin@MikroTik] > ip pool used print
POOL ADDRESS OWNER INFO
Britsen 10.2.111.20 hotspot 00:0D:56:E9:06:8E
hs-pool-4 192.168.111.250 DHCP 00:0D:56:E9:06:8E
[admin@MikroTik] >


[admin@MikroTik] > ip hotspot active print
Flags: R - radius, B - blocked
# USER ADDRESS UPTIME SESSION-TIME-LEFT IDLE-TIMEOUT
0 R thomas 10.2.111.20 1m16s

[admin@MikroTik] > ip hotspot host print
Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
# MAC-ADDRESS ADDRESS TO-ADDRESS SERVER IDLE-TIMEOUT
0 A 00:0D:56:E9:06:8E 192.168.111.250 10.2.111.20 hotspot1

Since the documentation is not so clear on this, could you please give some real examples? Not just one liners that lack both explanation and completeness.

I do not know if i am asking for much. I just want to disable the Nat2Nat and give the user a real IP-address from a framed-pool from a radius server when selecting a service. This worked nice before in 2.8 ? What gives?

Thanks,

/Thomas
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Missing earlier HOTSPOT function, Temp. net -> active net

Mon Jun 08, 2009 2:52 pm

Make support output file,
http://wiki.mikrotik.com/wiki/Support_Output_File
send it to MikroTik support (support@mikrotik.com).
 
ariesaries
just joined
Posts: 6
Joined: Thu Jun 25, 2009 2:55 pm

Re: Missing earlier HOTSPOT function, Temp. net -> active net

Thu Jun 25, 2009 3:08 pm

So what about temp.net ant actice.net? We can't find out how to use hotspot and usermanager ir order to managle LAN users.
When unknown pc is connetcte to LAN, it gets some IP for examle 10.0.0.x, and then it authorizes himself(with logina and password) it gets another IP (and later on it is authorized with mac address).
Is any way to manage users pc's it this way?

Thanks, Aries.

Who is online

Users browsing this forum: afahmytik, dioeyandika, jaclaz and 69 guests