Community discussions

MikroTik App
 
brent
just joined
Topic Author
Posts: 15
Joined: Mon May 07, 2012 11:37 pm

Multiple hotspot multiple wan no load balancing

Fri Feb 08, 2013 8:48 pm

I have puzzled over this for a couple months and trolled forums and I still can not find an example that helps me.
I want to run two Hotspots on a single Mikrotik. I want to have two Wan Interfaces on this Mikrotik. I want Hotspot 1 to route out Wan1 only. I want Hotspot 2 to route out Wan 2 only. I realize Wan 1 and Wan 2 are on the same subnet. The reason for this is because the Mikrotik sits behind a firewall that does filtering of services based on ip address. I want to filter adult content and streaming on Hotspot 1 and allow all traffic for Hotspot 2. Right now I am doing this with two separate Mikrotiks. We are offering a free network and a paid network in a hotel. So my question is how do I set up the Mikrotik to do this?

Upstream firewall 10.3.2.1/24 on it's Lan port and Public on it's Wan

Proposed Mikrotik setup
Eth1 Wan 1 10.3.2.2/24 GW 10.3.2.1
Eth2 Wan 2 10.3.2.3/24 GW 10.3.2.1
Eth3 Hotspot 1 172.16.248.1/24
Eth4 Hotspot 2 172.16.249.1/24

I am not worried about the hotspot setup I have that figured out. I just need to figure out the routing. I am guessing I need to mark packets with mangle somehow but I am not sure where to start. Any advice would be hugley appriciated

Thanks uber smart people :D
 
Dobby
Member
Member
Posts: 399
Joined: Wed Jan 11, 2012 12:07 am
Location: Hogwarts

Re: Multiple hotspot multiple wan no load balancing

Sat Feb 09, 2013 1:50 am

Deleted because not related.
Last edited by Dobby on Mon Mar 11, 2013 1:08 am, edited 1 time in total.
 
brent
just joined
Topic Author
Posts: 15
Joined: Mon May 07, 2012 11:37 pm

Re: Multiple hotspot multiple wan no load balancing

Sun Feb 10, 2013 8:27 pm

I am not sure how to create a default route for the hot spot. In winbox if I go to ip > default route is there an option to select hotspot network. Please explain what you mean.

Thanks
Brent
 
Dobby
Member
Member
Posts: 399
Joined: Wed Jan 11, 2012 12:07 am
Location: Hogwarts

Re: Multiple hotspot multiple wan no load balancing

Mon Feb 11, 2013 4:15 pm

Deleted because not related.
Last edited by Dobby on Mon Mar 11, 2013 1:08 am, edited 1 time in total.
 
brent
just joined
Topic Author
Posts: 15
Joined: Mon May 07, 2012 11:37 pm

Re: Multiple hotspot multiple wan no load balancing

Tue Feb 12, 2013 7:13 pm

2 ssid's
2 vlans
2 hotspots
1 vlan per hotspot
hotspot one uses usermanager and paypal for paid services.
hotspot two uses-in bedded password in ua and a shared guest account for authentication in hotspot users. users click on i agree button.
both hotspots reside on same mikrotik
mikrotik has two wan interfaces
hotspot one egresses out wan1
hotspot two egresses out wan2
both wan 1 and wan2 have the same default gateway. the upstream router ie 10.3.2.1
upstream router does content filtering based on ip so mikrotik wan1 is 10.3.2.2 and wan2 is 10.3.2.3
upstream router filters content on 10.3.2.2 only not 10.3.2.3
this is why i want to figure out how to make hotspot 1 egress out wan1 only and make hotspot 2 egress out wan2 only.
I am trying to create two separate mikrotik units into one so i can apply separate policies to hotspots.
I have tried this before in nat saying hotspot subnet 1 out interface wan1 hotspot subnet 2 out interface wan2 but it did not work.
I then did some work on load balancing dual wan on mikrotik wich i had to do some mangling and packet marking to get to work.
I assume I need a similar setup to load balancing but make sure that i don't load balance