Community discussions

MikroTik App
 
danniemax
just joined
Topic Author
Posts: 14
Joined: Wed Apr 11, 2007 11:14 pm

Hotspot via EoIP

Wed Aug 19, 2009 2:08 pm

Hi all,

We have several MT accesspoints running hotspot in rural areas all of which are authenticated at a central MT hotspot via EoIP. The problem is that we can not identify where the client is connecting to the hotspot center, i.e. from which access point. Is there any possibility to tag the EoIP packets or otherwise so we can see where the clients are connecting from?

Regards,
Daniel G.
 
Muqatil
Trainer
Trainer
Posts: 573
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK
Contact:

Re: Hotspot via EoIP

Wed Aug 19, 2009 5:06 pm

I suppose you are bridging all the EoIPs in one single bridge, then you have a single service on the HotSpot Bridge...
If you want to see where are they coming from, you might need to not bridge them all and set an hotspot service for each EoIP termination..
 
etocalini
newbie
Posts: 30
Joined: Mon Jan 31, 2005 4:54 pm

Re: Hotspot via EoIP

Wed Aug 19, 2009 5:17 pm

Or you can look for the mac address of the client in /bridge hosts.
There you have a table with all the mac adresses with the EoIP tunnel from where it is coming.

Esteban
 
User avatar
jp
Long time Member
Long time Member
Posts: 609
Joined: Wed Mar 02, 2005 5:06 am
Location: Maine
Contact:

Re: Hotspot via EoIP

Wed Aug 19, 2009 5:45 pm

Your various access points could syslog to a central location so you could track where people are signing in. Mac address of the customer would match from the logs to the hotspot tables.
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Hotspot via EoIP

Thu Aug 20, 2009 1:09 pm

How do you bridge the clients layer2 connections to the actual APs back to the HotSpot? I think this is not possible.

For example, if you have a Wi-Fi device acting as an AP to which the clients associate, and then directly to it connected over Ethernet - the HotSpot MT box - all clients coming from that Wi-Fi device will have the same MAC address on its Etnernet side - the MAC of the AP device.

And even if you had all MT APs - you would still need WDS for this to work!

So how do you set up this kind of bridging?
 
Muqatil
Trainer
Trainer
Posts: 573
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK
Contact:

Re: Hotspot via EoIP

Thu Aug 20, 2009 2:06 pm

It is possible since i've this working configuration http://forum.mikrotik.com/viewtopic.php?f=2&t=31169
But i'm encountering the same problem of danniemax, recognizing where the users are coming from...
ATM i don't have much time to setup a syslog or a mangling firewall.. so i leave it as it is.
Usermanager is tracking connection by himself and i'm logging with netflow all the traffic...
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Hotspot via EoIP

Thu Aug 20, 2009 2:26 pm

So its working because its a bridge with wlan1 and the EoIP interface on an MikroTik device? And then that EoIP goes to the HotSpot?
 
Muqatil
Trainer
Trainer
Posts: 573
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK
Contact:

Re: Hotspot via EoIP

Thu Aug 20, 2009 3:31 pm

Exactly!
WLAN > EoIP ------\/
WLAN > EoIP > HotSpot Bridge > HotSpot Service > Radius
WLAN > EoIP ------/\
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Hotspot via EoIP

Thu Aug 20, 2009 5:26 pm

This is GOOD that we can use it like this. Because we can establish an EoIP from a MT to a MT.

But what If I need to sue a non-MT device for the Wi-Fi? Which devices work, and how? If any? Maybe none lol. Only MT + EoIP tunnel. :)
 
Muqatil
Trainer
Trainer
Posts: 573
Joined: Mon Mar 03, 2008 1:03 pm
Location: London - UK
Contact:

Re: Hotspot via EoIP

Thu Aug 20, 2009 5:43 pm

why should you NEED to use a non-mikrotik equipment?
Also it goes out of topic...
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Hotspot via EoIP

Thu Aug 20, 2009 6:02 pm

Cheaper + easier to deploy in this case.
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Hotspot via EoIP

Thu Aug 20, 2009 6:53 pm

dont forget you dont really have to use bridging for hotspot. You can just route users thru the hotspot interface from anywhere. Routing is more efficient and then you know where things are coming from as well. It does use more IP addresses, but on a hotspot private IPs are no big deal usually.
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Hotspot via EoIP

Thu Aug 20, 2009 7:13 pm

Oh hello changeip, nice to see you posting and helping mate :)

So, let's say - I put up a generic Wi-Fi AP device (a stupid little Bullet device for example) in routing mode and behind it a big powerful MikroTik Router (that unforutnately has only eth ports and no Wi-Fi). So the generic Wi-Fi device I setup in ... what mode, so the HotSpot will see each user as .... what ? A different IP address coming from the same MAC address?
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Hotspot via EoIP

Thu Aug 20, 2009 7:53 pm

aaaaaahh. i see your point. Hotspot works on MAC addresses. Doh!
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Hotspot via EoIP

Sun Sep 06, 2009 10:01 pm

A buddy of mine told me (guaranteed - tested) that it fnckiug works with any Wi-Fi device in ap bridge mode. Fnck if I knew this earlier. Fnck.

Who is online

Users browsing this forum: Bing [Bot], marsando, vingjfg and 198 guests