Page 1 of 1

Problem with 2 IP ranges in Hotspot

Posted: Sat Sep 19, 2009 10:35 am
by hamed89156
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

Re: Problem with 2 IP ranges in Hotspot

Posted: Sun Sep 20, 2009 9:48 pm
by Chupaka
what's task? to allow 153.69.254.X's to freely access all resources, or what?

what's your Hotspot configuration?

Re: Problem with 2 IP ranges in Hotspot

Posted: Mon Sep 21, 2009 9:33 am
by hamed89156
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.

Re: Problem with 2 IP ranges in Hotspot

Posted: Mon Sep 21, 2009 12:38 pm
by Chupaka
remove address pool from Hotspot settings?..

Re: Problem with 2 IP ranges in Hotspot

Posted: Tue Sep 22, 2009 12:52 am
by hamed89156
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.

Re: Problem with 2 IP ranges in Hotspot

Posted: Wed Sep 23, 2009 12:32 am
by Chupaka
I meant,
/ip hotspot set XXX address-pool=none

Re: Problem with 2 IP ranges in Hotspot

Posted: Thu Sep 24, 2009 12:15 am
by hamed89156
I meant,
/ip hotspot set XXX address-pool=none

so what is that ?

and how can this help me to solve my problem ?

Re: Problem with 2 IP ranges in Hotspot

Posted: Thu Sep 24, 2009 10:04 am
by Chupaka
I think, your users won't be captured by Hotspot then =)

Re: Problem with 2 IP ranges in Hotspot

Posted: Fri Sep 25, 2009 2:18 pm
by hamed89156
can you tell me what that command does exactly ?

Re: Problem with 2 IP ranges in Hotspot

Posted: Fri Sep 25, 2009 9:44 pm
by Chupaka
disables 'Universal Client', I believe :)

Re: Problem with 2 IP ranges in Hotspot

Posted: Tue Nov 17, 2009 4:33 pm
by hamed89156
can you give me the wiki page of "/ip hotspot XXX set address-pool=none"

Re: Problem with 2 IP ranges in Hotspot

Posted: Tue Nov 17, 2009 4:51 pm
by Chupaka

Re: Problem with 2 IP ranges in Hotspot

Posted: Tue Nov 17, 2009 9:55 pm
by hamed89156
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.

Re: Problem with 2 IP ranges in Hotspot

Posted: Tue Nov 17, 2009 10:45 pm
by fewi
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'.