Community discussions

MikroTik App
 
siconet
just joined
Topic Author
Posts: 5
Joined: Sun Nov 15, 2015 12:22 pm

Newbie...Help Clarify

Sun Nov 15, 2015 4:44 pm

Hello Pros

We are trying to use RouterOS for Hotspot. But we are confused about a few thins and would like a clarification from you please.

This is our scenario:

1. We have Dlink AC1200 Gigabyte Router (which we intend to use as main router)
2. We have two Nanostation M5 for outdoor long range wireless service.

Our confusion:
a. You said (i.e. on your site) that RouterOS can be installed on /x86 pc. We have a PC running Dual Core, Windows 7, 32bit. Can this be used?

b. What we understand: Install Mikrotik RouterOS on the PC. Connect the Dlink AC1200 to the second Network Card and install the RouterOS on the Dlink (or something like that)? or should install RouterOS on the PC, use Winbox to configure it while Dlink AC1200 is connected? So please this is where we are confused about procedure for setup.

Thanks.
 
siconet
just joined
Topic Author
Posts: 5
Joined: Sun Nov 15, 2015 12:22 pm

Re: Newbie...Help Clarify

Thu Nov 19, 2015 11:17 am

Well, thanks. Even though no replies...gone past that! :D

Another situation:

This is our setup:

1. RouterOS on x86 (our main router). Ether1 port is connected to WAN (Internet). The Internet cable modem uses DHCP. That is, on a normal pc, once you plug the ethernet cable, you just start browsing...without configuring any ip addresses to connect to the Internet. ether1 ip address 192.168.2.106/24, Default Gateway (i.e. ISP internet link: 192.168.2.1)

2. Ether2 (for hotspot) ip configured: 192.168.10.2/24 Default gateway (192.168.2.1)

3. Dlink 16port switch is connected to ether2. We have one Dlink dir822 gigabyte router and two Nanostations m2.

Here is the problem.

I have followed the instructions on http://wiki.mikrotik.com/wiki/Hotspot_server_setup/ and setup the hotspot. So when I connect a cable to ether2 (without configuring static ip address on my laptop, and when I Open firefox and try to browse, mikrotik default hotspot login page will display asking for username and password. With my created user account, I can login and browse, no issues. When I connect the Dlink dir822 router, you can connect to the wireless and hotspot page will display for password and username. So upto this point it appears that the x86 router has been properly configured for hotspot. Ether1 and ether2 properly configured for network.

So the main problem now is...
If I connect ether2 cable to dlink 16port switch, and then connect the dir822 router (which was working), and open firefox, the hotspot login page displays, but no connection to the Internet! When I login with my user account created earlier on winbox, it opens but cannot open a webpage, the complain on the screen is dns...issues. . On the dlink router, I have added my ISP DNS (192.168.2.1) and yet I can't connect to the Internet through the switch. Remove the ether2 cable from the switch and connect directly to the Dlink dir822 router, you can connect to the Internet. So this is my current problem Spent the whole day yesterday trying get it to work, but no success yet. And I am under pressure to get it to work today! Please...somebody help!

1. Do I need to add the switch to the routeros configuration?
2. Or do I need to use VLAN?
3 Or do I need something like ip-binding?
4. Or do I need to use bonding to get the switch to allow internet signal to pass through it to the dlink router and ubnt nanostations which must be connected to the switch as well?

Many thanks.
 
User avatar
capprentice
just joined
Posts: 8
Joined: Tue Mar 24, 2015 7:41 am
Location: India
Contact:

Re: Newbie...Help Clarify

Thu Nov 19, 2015 12:18 pm

Well, thanks. Even though no replies...gone past that! :D

Another situation:

This is our setup:

1. RouterOS on x86 (our main router). Ether1 port is connected to WAN (Internet). The Internet cable modem uses DHCP. That is, on a normal pc, once you plug the ethernet cable, you just start browsing...without configuring any ip addresses to connect to the Internet. ether1 ip address 192.168.2.106/24, Default Gateway (i.e. ISP internet link: 192.168.2.1)

2. Ether2 (for hotspot) ip configured: 192.168.10.2/24 Default gateway (192.168.2.1)

3. Dlink 16port switch is connected to ether2. We have one Dlink dir822 gigabyte router and two Nanostations m2.

Here is the problem.

I have followed the instructions on http://wiki.mikrotik.com/wiki/Hotspot_server_setup/ and setup the hotspot. So when I connect a cable to ether2 (without configuring static ip address on my laptop, and when I Open firefox and try to browse, mikrotik default hotspot login page will display asking for username and password. With my created user account, I can login and browse, no issues. When I connect the Dlink dir822 router, you can connect to the wireless and hotspot page will display for password and username. So upto this point it appears that the x86 router has been properly configured for hotspot. Ether1 and ether2 properly configured for network.

So the main problem now is...
If I connect ether2 cable to dlink 16port switch, and then connect the dir822 router (which was working), and open firefox, the hotspot login page displays, but no connection to the Internet! When I login with my user account created earlier on winbox, it opens but cannot open a webpage, the complain on the screen is dns...issues. . On the dlink router, I have added my ISP DNS (192.168.2.1) and yet I can't connect to the Internet through the switch. Remove the ether2 cable from the switch and connect directly to the Dlink dir822 router, you can connect to the Internet. So this is my current problem Spent the whole day yesterday trying get it to work, but no success yet. And I am under pressure to get it to work today! Please...somebody help!

1. Do I need to add the switch to the routeros configuration?
2. Or do I need to use VLAN?
3 Or do I need something like ip-binding?
4. Or do I need to use bonding to get the switch to allow internet signal to pass through it to the dlink router and ubnt nanostations which must be connected to the switch as well?



Many thanks.
This is how things are right? - MODEM -> MIKROTIK BOX -> DLINK ?

If this is the situation, then you probably need to allow DNS server access for DLINK in Mikrotik.

/ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \
max-udp-packet-size=4096 servers=10.10.10.2
 
siconet
just joined
Topic Author
Posts: 5
Joined: Sun Nov 15, 2015 12:22 pm

Re: Newbie...Help Clarify

Thu Nov 19, 2015 12:35 pm

Well, thanks. Even though no replies...gone past that! :D

Another situation:

This is our setup:

1. RouterOS on x86 (our main router). Ether1 port is connected to WAN (Internet). The Internet cable modem uses DHCP. That is, on a normal pc, once you plug the ethernet cable, you just start browsing...without configuring any ip addresses to connect to the Internet. ether1 ip address 192.168.2.106/24, Default Gateway (i.e. ISP internet link: 192.168.2.1)

2. Ether2 (for hotspot) ip configured: 192.168.10.2/24 Default gateway (192.168.2.1)

3. Dlink 16port switch is connected to ether2. We have one Dlink dir822 gigabyte router and two Nanostations m2.

Here is the problem.

I have followed the instructions on http://wiki.mikrotik.com/wiki/Hotspot_server_setup/ and setup the hotspot. So when I connect a cable to ether2 (without configuring static ip address on my laptop, and when I Open firefox and try to browse, mikrotik default hotspot login page will display asking for username and password. With my created user account, I can login and browse, no issues. When I connect the Dlink dir822 router, you can connect to the wireless and hotspot page will display for password and username. So upto this point it appears that the x86 router has been properly configured for hotspot. Ether1 and ether2 properly configured for network.

So the main problem now is...
If I connect ether2 cable to dlink 16port switch, and then connect the dir822 router (which was working), and open firefox, the hotspot login page displays, but no connection to the Internet! When I login with my user account created earlier on winbox, it opens but cannot open a webpage, the complain on the screen is dns...issues. . On the dlink router, I have added my ISP DNS (192.168.2.1) and yet I can't connect to the Internet through the switch. Remove the ether2 cable from the switch and connect directly to the Dlink dir822 router, you can connect to the Internet. So this is my current problem Spent the whole day yesterday trying get it to work, but no success yet. And I am under pressure to get it to work today! Please...somebody help!

1. Do I need to add the switch to the routeros configuration?
2. Or do I need to use VLAN?
3 Or do I need something like ip-binding?
4. Or do I need to use bonding to get the switch to allow internet signal to pass through it to the dlink router and ubnt nanostations which must be connected to the switch as well?



Many thanks.
This is how things are right? - MODEM -> MIKROTIK BOX -> DLINK ?

If this is the situation, then you probably need to allow DNS server access for DLINK in Mikrotik.

/ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \
max-udp-packet-size=4096 servers=10.10.10.2
Thanks a million times for replying!

Will try that config in 1hr (cos I'm just going to the site now) and get back to you.

Modem->Mikrotik box->.Dlink 16port switch->Dlink dir822 router (and ->from switch again->two Nanostations AP m2)

Thanks. Will try it and get back!
 
siconet
just joined
Topic Author
Posts: 5
Joined: Sun Nov 15, 2015 12:22 pm

Re: Newbie...Help Clarify

Thu Nov 19, 2015 6:19 pm

Hello Capprentice

Have done that....still no luck.

now, is it safe to just post ip details of my config here, so you can see it?

Thanks.
 
siconet
just joined
Topic Author
Posts: 5
Joined: Sun Nov 15, 2015 12:22 pm

Re: Newbie...Help Clarify

Fri Nov 20, 2015 11:58 am

where I'm I getting things wrong! Hotspot works just fine on my x86 routeros installed Router. It receives internet on ether1, and ether2 gives out hotspot. I've done configurations, reset, done another one, reset, and so on. Why? Because every configuration I do works, but not very well.