Page 1 of 1

Basic AP Setup

Posted: Wed Oct 27, 2010 5:01 pm
by johndoe
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.

Re: Basic AP Setup

Posted: Thu Oct 28, 2010 3:34 pm
by valypetre
you simply set-up a bridge and add both your eth card and wireless card to it.

Re: Basic AP Setup

Posted: Thu Oct 28, 2010 6:34 pm
by johndoe
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!

Re: Basic AP Setup

Posted: Thu Oct 28, 2010 6:43 pm
by perezcurda
Could you please send us the setup of the MK and your LAN to understand the scenario. (IP default gateway etc..)

Re: Basic AP Setup

Posted: Thu Oct 28, 2010 10:41 pm
by neandero
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,

Re: Basic AP Setup

Posted: Fri Oct 29, 2010 4:53 pm
by johndoe
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!

Re: Basic AP Setup

Posted: Fri Oct 29, 2010 5:31 pm
by johndoe
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!

Re: Basic AP Setup

Posted: Mon Nov 01, 2010 5:16 pm
by nicmo
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.

Re: Basic AP Setup

Posted: Mon Nov 01, 2010 6:03 pm
by johndoe
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.

Re: Basic AP Setup

Posted: Mon Nov 01, 2010 6:10 pm
by johndoe
one more suggestion

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