can make hotspot with bridge configration

hi there

my network like that :-

adsl —> modem ----> mikrotik ----> switch ----> clients pc’s

now i have my configuration for my mikrotik like that :-

  • bridge ( " loacl + public " – “ether1+ether2” ) 10.0.0.2/24 .
  • modem ( gateway ) 10.0.0.1/8 .
  • there’s no any firewall Rules or nat Rules.
    and it work good . but

i want to do this :-

  • make hotspot work with the bridge .

when i try to do that . what happened is :

  • i goto hotspot to make setup for new hotspot .
  • chose the bridge is my hotsopt and complete the setup good .
  • the mikrotik tell me he ll disconnect .
  • i goto to http://10.0.0.2 and i find hotsopt logon page and that’s good .
  • i put the username admin and no password this user is created from hotspot setup . and i logon good .

until this point no problem but :

  • when i logon i didn’t find internet i ping the bridge and it work but when i ping yahoo it doesn’t work no net .
  • i use winbox to enter the mikrotik and i logon but look what i find

and all the mikrotik like that all is disable .

now i have hotspot logon and i don’t have internet and i can’t modify any thing on the mikrotik .

did the hotspot work with the bridge connection ??!!

help please
thank you for all


as your hotspot[dhcp-server] on bridge between public and local your isp will reject your dhcp-server and route to the public, i think... :wink:
my suggestion:

  • create *.backup file before action
  • must sure about how to hotspot work
  • or asking first to the user forum before excute
  • i sure hotspot on bridge is working, but bridged your local interfaces
  • when you are can't login to your router, better with mac-telnet
  • and do /system reset
  • or do previos config /sy backup load=[your_backup_filename_here], when you have it file

regards
Hasbullah.com

balimore
thank you for answer me .
but i don’t have dhcp-server server on .

or you mean ihave to make dhcp-server on to make hotspot on ??!!

if that u mean then i need onther way case i ll not open dhcp-server .

help mikrotik people

thank you


yes...
when you had hotspot setup wizard, it will running with dhcp server ...ofcourse.. :wink:

plug out your public for temporary than continue as you need

regards
Hasbullah.com

balimore
i think i know where is the problem is .

and i try it by open the dhcp-server and it work good with bridge .

but i need it without dhcp-server .

can i ??!!


yes, hotspot should running together with dhcp-server, but your problem is:
your bridge between public and local, and your dhcp-server on it interface too
but when you are running dynamical ip without dhcp-hotspot i think will work fine with existing bridge.

i suggest to you put your hotspot on local interface

regrads
Hasbullah.com

first i try the hotspot by choose the ether1 and after i choose the ether2 but when i complete the hotspot setup in both of them i see the rule written by red collor and that mean it’s worng

look to that


yes, you are true
please, see on your screen report on left, you have 'I' flag, tha's mean invalid config [incorrect interface route] i think... :wink:

cos, your ether1 and ether2 on bridge
if ok should be not 'RED' color

thanks your report screen, ok man i must go bed, i will continue tommorow.

regards
Hasbullah.com

anybody can help me to :-

  • make hotspot with bridge .

please

My question is - why do you have to run hotspot on a bridge?

Better to implement Balimore’s suggestion of setting up hotspot on unbridged local interface and use default route to gateway…

You don’t have to use dhcp for Hotspot to work, but you do need an IP pool for the hotspot server config to create IP bindings between the client real IP and their hotspot IP…

Also - have you indicated that all the NAT rules have been disabled? Hotspot needs a NAT - masquerade rule here…

First off all - Use winbox via IP address or telnet to create nat rules - I had same problem (in the picture) only using mac-winbox

There is no problem to create hotspot on the bridge interface, BUT only if all bridged interfaces are client interfaces - I am unable to see point of bridging it with public interface!! You are using local IPs, so just create Another public network!


hello .... again,
simple answer, your first post will not running as this subject, try to redesigns your hotspot to the net.
don't worry friend, as far as i used, mikrotik's more flexible... :wink:

peace all
Hasbullah.com


yup....
i think, mikrotik's is all in one... and i must learning about mikrotik more.
because, i am beginer.....

best regards
Hasbullah.com

hi

since yesterday i did many things

1- i setup mikrotik normal by :-

*ether1 ( local ) 10.0.0.1/24.
*ether2 (public) 192.168.1.1/24.

and i setup it like that to be sure

((( if hotsopt need dhcp-server to work or not )))

and the result is :

(( the hotspot desn’t need the dhcp-server to work ))

2- i back again to my configuration :-

*ether1 ( local ) + ether2 (public) ------> bridge1

and it’s work internet good without any firewall rules but when i try to make the hotspot work the problem begin .

i try to setup the hotspot on ether1 or ether2 but i find red color and i try to setup the hotsopt on bridge1 the hotspot work and internet stop .

There is no problem to create hotspot on the bridge interface, BUT only if all bridged interfaces are client interfaces

my bridge is between ether1 ( local ) and ether2 ( public ) and it’s not between two locals .

then any suggestions

like macgeiver said , why?? bridge with public interface.

try removing public interface from the bridge.
just addd ether1 to the bridge, and see if your hotspot works.. if you still insist on having hotspot on the bridge

i think hotspot can’t be assigned to an interface part of a bridge , you have to assign it to the bridge interface ..
your bridge is public+local so you can’t assign a hotspot to it becouse of the public part of the bridge ..


hello friends
anyone else have experinces....?

regards
Hasbullah.com

balimore how are you , where are you these days ?


fine.... nice to meet you
to find us visit balimore.com

regards
Hasbullah.com