Community discussions

MikroTik App
 
johndoe
just joined
Topic Author
Posts: 7
Joined: Wed Oct 27, 2010 4:52 pm

Basic AP Setup

Wed Oct 27, 2010 5:01 pm

I am trying to setup my RB411AR as an wireless access point on my LAN. I have the RB411AR setup with a wlan1 interface and ether1 interface. The ether1 interface is connected to my lan through dhcp from my LAN router. I have the RB411AR setup to dhcp addresses to the wlan1 interface. How can i connect these two interfaces together so i can surf the internet and get to my lan from the wlan1 interface? Thanks in advance.
 
valypetre
Frequent Visitor
Frequent Visitor
Posts: 73
Joined: Fri Oct 19, 2007 7:15 pm
Location: Oltenita - Romania

Re: Basic AP Setup

Thu Oct 28, 2010 3:34 pm

you simply set-up a bridge and add both your eth card and wireless card to it.
 
johndoe
just joined
Topic Author
Posts: 7
Joined: Wed Oct 27, 2010 4:52 pm

Re: Basic AP Setup

Thu Oct 28, 2010 6:34 pm

i have tried to setup a bridge and added both interfaces to the bridge, but i still cant surf internet or ping most of the addesses on my lan. For some reason i can ping the first 3 addresses in my lan but nothing else. Any ideas? Thanks!
 
perezcurda
just joined
Posts: 23
Joined: Wed Dec 24, 2008 10:10 pm

Re: Basic AP Setup

Thu Oct 28, 2010 6:43 pm

Could you please send us the setup of the MK and your LAN to understand the scenario. (IP default gateway etc..)
 
User avatar
neandero
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 17, 2009 11:43 am
Location: Inside Mind

Re: Basic AP Setup

Thu Oct 28, 2010 10:41 pm

add the following:

ip/address:
address: 192.168.1.254/24
network: 192.168.1.0
broadcast: 192.168.1.255
interface: wlan1

ip/pool
name: pool-wlan1
addresses: 192.168.1.1-192.168.1.253

ip/dhcp server
name: dhcp-wlan1
interface: wlan1
address pool: pool-wlan1

dhcp server network:
address: 192.168.1.0/24
gateway: 192.168.1.254

ip/firewall NAT
chain: srcnat
src.address: 192.168.1.0/24
action: masquerade

hope this will fix the problem...

since your eth1 is getting ip from router:

ip/dhcp client:
add
interface: eth1

thanks,
 
johndoe
just joined
Topic Author
Posts: 7
Joined: Wed Oct 27, 2010 4:52 pm

Re: Basic AP Setup

Fri Oct 29, 2010 4:53 pm

Okay, i have entered all the settings that were suggested above. Now when i enable the bridge with the ether1, and wlan1 as ports it kills the dhcp server to the wan1 the dhcp server turns red when i enable the bridge. As soon as i disable it it turns black again. It acts as its just straight bridge mode when i do that. Thanks for your help!
 
johndoe
just joined
Topic Author
Posts: 7
Joined: Wed Oct 27, 2010 4:52 pm

Re: Basic AP Setup

Fri Oct 29, 2010 5:31 pm

okay i now know that i don't need to setup a bridge it is working like its supposed to without the bridge. Thanks for all the help!
 
nicmo
Frequent Visitor
Frequent Visitor
Posts: 69
Joined: Sun Oct 03, 2010 11:36 am

Re: Basic AP Setup

Mon Nov 01, 2010 5:16 pm

add the following:

ip/address:
address: 192.168.1.254/24
network: 192.168.1.0
broadcast: 192.168.1.255
interface: wlan1

ip/pool
name: pool-wlan1
addresses: 192.168.1.1-192.168.1.253

ip/dhcp server
name: dhcp-wlan1
interface: wlan1
address pool: pool-wlan1

dhcp server network:
address: 192.168.1.0/24
gateway: 192.168.1.254

ip/firewall NAT
chain: srcnat
src.address: 192.168.1.0/24
action: masquerade

hope this will fix the problem...

since your eth1 is getting ip from router:

ip/dhcp client:
add
interface: eth1

thanks,
I tried the settings above but opposit interface eth1 for dhcp and wlan for dhcp client. I have been trying to configure my RB about 2 weeks or more and still end up at the same spot.

johndoe can you post ur settings for me to try.
 
johndoe
just joined
Topic Author
Posts: 7
Joined: Wed Oct 27, 2010 4:52 pm

Re: Basic AP Setup

Mon Nov 01, 2010 6:03 pm

The only thing i added to this configuration is a route

IP/ROUTES

dst address 0.0.0.0/0
gateway i used my default gateway of my lan interface

hope this helps.
 
johndoe
just joined
Topic Author
Posts: 7
Joined: Wed Oct 27, 2010 4:52 pm

Re: Basic AP Setup

Mon Nov 01, 2010 6:10 pm

one more suggestion

you would probably want to use your wlan default gateway where i mentioned default gateway address above.