Community discussions

MikroTik App
 
hamed89156
newbie
Topic Author
Posts: 33
Joined: Tue Feb 24, 2009 9:47 am

Problem with 2 IP ranges in Hotspot

Sat Sep 19, 2009 10:35 am

i have an RB 450g with RouterOS 3.23 with Hotspot configured. (with private IP of 192.168.200.2)


I have two different Private IP ranges in my LAN , one range is 192.168.200.X that hotspot and it's clients are using and the other is 153.69.254.X that some other PCs are using.

so if you get an IP address from mikrotik DHCP server with the range of 192.168.200.X and want to access a web server with IP range of 153.169.254.X , you face http://192.168.200.2/login?dst=http%3A% ... 254.101%2F and you cant access that web server .


Even if you ping any other PCs with range of 153.69.254.X the reply is Reply from 192.168.200.2: Destination net unreachable.

i want to allow just the 192.168.200.X can access hotspot and any other request in any other range get denied .

i dont know how to solve this problem , any help is appreciated ,

Thanks
Last edited by hamed89156 on Mon Sep 21, 2009 9:35 am, edited 1 time in total.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problem with 2 IP ranges in Hotspot

Sun Sep 20, 2009 9:48 pm

what's task? to allow 153.69.254.X's to freely access all resources, or what?

what's your Hotspot configuration?
 
hamed89156
newbie
Topic Author
Posts: 33
Joined: Tue Feb 24, 2009 9:47 am

Re: Problem with 2 IP ranges in Hotspot

Mon Sep 21, 2009 9:33 am

what's task? to allow 153.69.254.X's to freely access all resources, or what?

what's your Hotspot configuration?

to disallow 153.69.254.X to access hotspot.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problem with 2 IP ranges in Hotspot

Mon Sep 21, 2009 12:38 pm

remove address pool from Hotspot settings?..
 
hamed89156
newbie
Topic Author
Posts: 33
Joined: Tue Feb 24, 2009 9:47 am

Re: Problem with 2 IP ranges in Hotspot

Tue Sep 22, 2009 12:52 am

remove address pool from Hotspot settings?..
i dint understand what you said ,,,,maybe i couldn't explain it well.

i want to block all IP ranges except 192.168.200.X to be in Hotspot>Active list ( that's the way i want to solve my problem in the first post which i explained.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problem with 2 IP ranges in Hotspot

Wed Sep 23, 2009 12:32 am

I meant,
/ip hotspot set XXX address-pool=none
 
hamed89156
newbie
Topic Author
Posts: 33
Joined: Tue Feb 24, 2009 9:47 am

Re: Problem with 2 IP ranges in Hotspot

Thu Sep 24, 2009 12:15 am

I meant,
/ip hotspot set XXX address-pool=none

so what is that ?

and how can this help me to solve my problem ?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problem with 2 IP ranges in Hotspot

Thu Sep 24, 2009 10:04 am

I think, your users won't be captured by Hotspot then =)
 
hamed89156
newbie
Topic Author
Posts: 33
Joined: Tue Feb 24, 2009 9:47 am

Re: Problem with 2 IP ranges in Hotspot

Fri Sep 25, 2009 2:18 pm

can you tell me what that command does exactly ?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problem with 2 IP ranges in Hotspot

Fri Sep 25, 2009 9:44 pm

disables 'Universal Client', I believe :)
 
hamed89156
newbie
Topic Author
Posts: 33
Joined: Tue Feb 24, 2009 9:47 am

Re: Problem with 2 IP ranges in Hotspot

Tue Nov 17, 2009 4:33 pm

can you give me the wiki page of "/ip hotspot XXX set address-pool=none"
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problem with 2 IP ranges in Hotspot

Tue Nov 17, 2009 4:51 pm

 
hamed89156
newbie
Topic Author
Posts: 33
Joined: Tue Feb 24, 2009 9:47 am

Re: Problem with 2 IP ranges in Hotspot

Tue Nov 17, 2009 9:55 pm

I think that is not the thing which i want.


I want that hotspot respond to requests only from 192.168.200.X .

and nothing more.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Problem with 2 IP ranges in Hotspot

Tue Nov 17, 2009 10:45 pm

Then that's what you want. If you disable Universal NAT, only clients that are on the network the Hotspot is configured on are able to access the Hotspot. If the Hotspot is configured to run on an interface with an address on 192.168.200.0/24 and there is no Universal NAT, only clients on 192.168.200.0/24 wit the Hotspot interface IP as the gateway are able to use the Hotspot. If Universal NAT is enabled, any IP address behind the Hotspot interface will work. To disable Universal NAT, do as Chupaka said and configure the address pool on the Hotspot to be 'none'.