Community discussions

MikroTik App
 
Sigma721
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Sat Nov 19, 2011 5:47 pm

Hotspot with local Apache server

Sun Sep 21, 2014 9:52 pm

Hi all

I am trying to host an external login page(which I do often with a normal web server) on a local Apache server. Here is the basis of the set up:

Hotspot : Bridge1 (10.0.0.1/24)
Eth4 : Network for Apache server(192.168.4.1/24), Apache server 192.168.4.255
Route : 192.168.4.0 through Eth4
192.168.4.255 added to Hotspot Walled Garden

For some reason when I try to ping the Apache server, I get no response. What am I missing?

Regards
 
abeggled
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Mon Aug 16, 2010 4:00 pm
Location: Zollikofen, Switzerland

Re: Hotspot with local Apache server

Sun Sep 21, 2014 10:06 pm

Eth4 : Network for Apache server(192.168.4.1/24), Apache server 192.168.4.255
192.168.4.255 is the broadcast address of the subnet 192.168.4.0!
 
Sigma721
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Sat Nov 19, 2011 5:47 pm

Re: Hotspot with local Apache server

Mon Sep 22, 2014 12:42 am

Eth4 : Network for Apache server(192.168.4.1/24), Apache server 192.168.4.255
192.168.4.255 is the broadcast address of the subnet 192.168.4.0!

Sorry about that, typo.

Just to be clear, I do not want users outside the hotspot network to be able to access the Apache server. Simply host the login page on the Apache server for hotspot users. The reason is that we have a lot of multi media on the login page, at sites with very low bandwidth.

Thanks in advance
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Hotspot with local Apache server

Mon Sep 22, 2014 12:54 am

The apache server itself must also be logged into the hotspot if it's part of it.

That, or you need to provide a binding of type "bypassed" (+ a static DHCP lease, to make sure its MAC gets a particular IP).
 
Sigma721
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Sat Nov 19, 2011 5:47 pm

Re: Hotspot with local Apache server

Mon Sep 22, 2014 11:08 pm

The apache server itself must also be logged into the hotspot if it's part of it.

That, or you need to provide a binding of type "bypassed" (+ a static DHCP lease, to make sure its MAC gets a particular IP).

Thank you so much!! I had the binding set to the MAC address, but without an IP.

Appreciate the help!

Who is online

Users browsing this forum: adrianmartin16, Bing [Bot], Qanon, Valerio5000 and 77 guests