Community discussions

MikroTik App
 
walkbyfaith
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 80
Joined: Thu May 05, 2011 7:26 pm

hotspot with bridged ports

Wed May 18, 2011 9:49 pm

Currently I have this setup.

RB/411U
eth1 connected to netgear router
ip address 192.168.88.2/24
dhcp client enabled on eth1

wlan1 bridged to eth1
no ip address configured
WPA enabled on wlan1

clients that connect to wlan1 receive dhcp ip addresses from the netgear router which is connected to the eth1 port. DHCP server is not enabled on the RB/411u

this setup works fine. The client receives and ip address after typing in the passphrase.

Now I am trying to setup a hotspot for wireless clients.

I put an ip address of 192.168.88.4/24 on the bridge1 interface
setup an ip pool of 192.168.88.10-192.168.88.20 for hotspot clients
on the netgear router i setup the dhcp server to go above this scope
setup a route of dst addr 0.0.0.0/0 gateway 192.168.88.3

I configured the hotspot for the bridge1 interface
I used winbox and terminal with the same settings

The settings are successful
I connect a laptop client to the hotspot
get the hotspot page and login successfully
can't connect to internet
I can ping the 192.168.88.3, 192.168.88.4 and 192.168.88.2 addresses successfully
I try to due a tracert to www.google.com and it times out when it hits the 192.168.88.2 address.

I noticed there are several firewall rules that are created when the hotspot is setup.

At this point, with the hotspot setup, I cannot get on the internet. Any help would be greatly appreciated.
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: hotspot with bridged ports

Wed May 18, 2011 10:30 pm

Your problem is coming into play because I'm guessing you still have ether1 and wlan1 bridged together. This gives the clients "direct" access to the WAN, which is something you don't want at all. All of the sudden you now have the netgear doing DHCP, the 411 doing DHCP, etc etc. many many problems.

So here is what you should do to get the setup going correctly:

1.) Delete the bridge
2.) Set up a different subnet on the WLAN interface
3.) Set up a DHCP server on the WLAN interface
4.) Set up the hotspot on the WLAN interface
5.) Set up the necessary NAT rule(s) to allow people to get online.
 
walkbyfaith
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 80
Joined: Thu May 05, 2011 7:26 pm

Re: hotspot with bridged ports

Thu May 19, 2011 1:45 am

Thanks so much. That worked. Thanks again for the help. :D