Community discussions

MikroTik App
 
User avatar
tsatasos
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 58
Joined: Sun Aug 01, 2010 11:39 am
Location: Greece

Basic Hotspot Question

Mon Apr 18, 2011 8:33 pm

Hello,

I have set up this simple basic hotpot, but PC cannot ping the AP.

Image

What should i do so i can have access to AP from PC?

Thank you,
Tasos
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Basic Hotspot Question

Mon Apr 18, 2011 8:41 pm

That doesn't work. You can't have an IP address on one network behind a router interface that isn't on that network. Either use VLANs (so that the management interface of the AP is on one network while customers are bridged through to the other network), or assign the AP an IP address in 10.0.0.0/24 (or whatever that network is that the router has 10.0.0.1 on) and set it to bypassed under IP bindings.
 
User avatar
tsatasos
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 58
Joined: Sun Aug 01, 2010 11:39 am
Location: Greece

Re: Basic Hotspot Question

Mon Apr 18, 2011 8:57 pm

Thank you very much fewi.
 
vapa
just joined
Posts: 2
Joined: Thu Apr 21, 2011 3:32 pm

Re: Basic Hotspot Question

Thu Apr 21, 2011 4:04 pm

Hello,
Tsatasos I think we have the same problem.
I am on the hotspot network 10.0.10.1/24 with my laptop.With ip-binding I have access to the internet without authentication.

ip hotspot ip-binding add type=bypassed address=10.0.10.3/24

In case that 10.0.10.3 => Access point IP
192.168.1.10 => My computer's IP

How to see from my computer the access point throw RG750G?

I have read about destination NAT on the forum.But how to set-up NAT between private network(192.168.1.0/24) and public network-HotSpot (10.0.10.0/24)?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Basic Hotspot Question

Thu Apr 21, 2011 5:03 pm

10.0.10.3 is not a public IP address.

As long as you have both networks connected to the same router (or have routes to them somehow) you do NOT need NAT. If you can't get from one directly connected network to another directly connected network that also runs a Hotspot you either didn't do the IP binding correctly, or you have configured IP firewall filter rules that block that traffic.
 
User avatar
tsatasos
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 58
Joined: Sun Aug 01, 2010 11:39 am
Location: Greece

Re: Basic Hotspot Question

Mon Apr 25, 2011 8:17 pm

vapa, you have to add a static route on your modem/router so that your pc (192.168.1.10) can ping the AP (10.0.10.3).

Static Route:

Destination: 10.0.10.0
Subnet Mask: 255.255.255.0
Gateway: <ip of ether1>
Interface: Lan
 
vapa
just joined
Posts: 2
Joined: Thu Apr 21, 2011 3:32 pm

Re: Basic Hotspot Question

Wed Apr 27, 2011 3:01 pm

Thank you fewi,thank you tsatasos. I am ok with the ip-binnding.