Community discussions

MikroTik App
 
User avatar
KaiMun
just joined
Topic Author
Posts: 4
Joined: Fri Jul 24, 2009 10:25 am

Help on CPE Setting

Thu Sep 10, 2009 8:02 am

Hi all,

I have setup a Radius (116.226.26.6) and Access Gateway (192.168.16.6) in the network.
If i use a Laptop to search for the WiFi SSID, and once i'm connected, i open a browser to browse to let say http://www.google.com, it will redirect me to the Login Page. The Login Page shown on the address bar is "116.226.26.6:8002/portal/login"

The CPE (RB411) that I've setup does not work with that.
I check in the Winbox and it is connected to my AP but i was not able to get the login page although i've open the browser and browse. It just dun want to direct me to the login page. It will say, "Webpage found.. waiting for google.com" or something like that and it will end up "Page not found".

I've set WLAN DHCP-Client and get the IP of 192.168.16.11, and i've the ether1 IP POOL and given 192.168.8.100~150. Firewall NAT is set to chain=srcnat, action=masquerade.

Do you guys face the same problem too? How do you solve it?
Sorry of all this trouble. I'm a newbie.
 
tristan.bolton
just joined
Posts: 12
Joined: Fri Jun 15, 2007 7:45 am

Re: Help on CPE Setting

Wed Sep 16, 2009 3:21 am

Hey,

Couple of questions:

Do you have Hotspot running on the AP?
Are you able to post a copy of your config (open terminal -> type: export -> paste config)
Is the CPE routing or Bridging to your computer/laptop?

I have found when connection 2 Mikrotiks wirelessly, if either side is bridging to make sure you use WDS, otherwise it will connect, and traffic will pass (DHCP Lease) but other traffic won't pass (ARP entries). It makes sense why they do this, just a Mikrotik Trick.

With that being said, if anyone else is reading this, I have successfully bridge WLAN interface to an Ethernet Interface with no issue. It all depends on the application.

Good Luck
 
User avatar
KaiMun
just joined
Topic Author
Posts: 4
Joined: Fri Jul 24, 2009 10:25 am

Re: Help on CPE Setting

Wed Sep 16, 2009 11:00 am

hi tristan.bolton,

1.) I've no HotSpot running on AP
2.) the CPE is running on rounting.

By the way, i'll post the configuration once i get back to my workbench.

Do you mean you have successfully bridge WLAN interface to Ethernet interface on the same CPE?

Do you mind to teaching me with that?

Thanks alot!
 
eneimi
Member
Member
Posts: 387
Joined: Sun Sep 09, 2007 12:55 pm

Re: Help on CPE Setting

Wed Sep 16, 2009 7:30 pm

In the CPE confirm that the dhcp client (wlan1) is set to use peer dns and default route.
Give ip to ether1 and create your ip pool or dhcp server on that interface.
If you have another device doing srcnat upstream, the masquerading is not necessary in the CPE.

The part i'm not clear about is your upstream setup.
What device are you using for radius?
When you say access gateway (192.168.16.6), do you mean access point?
Please clarify the upstream setup (radius, access gateway etc)

If you want to add wlan1 and ether1 to a bridge, you will have to put wlan1 in station-pseudobridge mode, not station mode. You then make bridge1 a dhcp client.
An alternative is to use MPLS http://wiki.mikrotik.com/wiki/MPLS_Lab_Setup
edit: And WDS is yet another alternative as described below.
Last edited by eneimi on Wed Sep 16, 2009 9:16 pm, edited 1 time in total.
 
tristan.bolton
just joined
Posts: 12
Joined: Fri Jun 15, 2007 7:45 am

Re: Help on CPE Setting

Wed Sep 16, 2009 7:45 pm

Mikrotik CPE bridge ethernet to Mikrotik AP

There are a few different ways of doing it. How I would recommend to do this:

AP Setup

Bridge -> Bridge
Create a bridge interface
* If you want your wireless traffic to go to your ethernet traffic on that tower add ether port to bridge (under Bridge -> Ports)
* All your wireless stations requesting WDS will go into this interface, so your Hotspot, IP address, DHCP-Server, etc. would need to be on this bridge interface.

Wireless -> Interfaces -> wlan1 -> WDS
WDS Mode: Dynamic
WDS Bridge Default: Bridge1

CPE Setup

Bridge -> Bridge
Create a bridge interface

Bridge -> Port
Add ethernet port to bridge1

Wireless -> Interfaces -> wlan1 -> Wireless
Mode: Station WDS

Wireless -> Interface -> wlan1 -> WDS
Mode: Dynamic
WDS Default Bridge: bridge1

To manage the CPE you might want to put an IP or DHCP-Client on the radio (either bridge interface or wlan1 depending on your system)

Done!

Let me know if you have any questions

Who is online

Users browsing this forum: No registered users and 15 guests