Community discussions

MikroTik App
 
User avatar
villageworker
newbie
Topic Author
Posts: 38
Joined: Fri Nov 11, 2011 9:54 pm

Setting up a wireless access point

Wed May 02, 2012 6:27 am

I have an omniTIK that I am trying to configure as an access point on all 'hardwired ports' as wells as the wireless LAN.

Looked in the WIKI as well as the forums but cannot find instructions to do this.

My network is internet cable modem > router(buffalo) with DHCP > omnitik.

I would like the omniTIK to forward all DHCP requests to the buffalo router. No NAT no firewall required. Be able to still access the onmiTIK for configuration.

Please help as I have a 751 on order that I need to setup the same way.

TIA


---

My current config is as follows:

[admin@MikroTik] > export compact
# may/01/2012 21:21:31 by RouterOS 5.14
# software id = XC06-WW07
#
/interface bridge
add admin-mac=00:0C:42:C3:0C:22 auto-mac=no l2mtu=1598 name=bridge-local protocol-mode=rstp
add name=bridge-withoutDHCP
/interface wireless
set 0 band=5ghz-onlyn country="united states" disabled=no frequency=5320 ht-rxchains=0,1 ht-supported-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15 \
ht-txchains=0,1 l2mtu=2290 mac-address=00:0C:42:C3:0C:26 mode=ap-bridge rate-selection=legacy ssid=mikrotik-west5G wireless-protocol=any
/interface ethernet
set 0 name=ether1-gateway
set 1 name=ether2-master-local
set 2 master-port=ether2-master-local name=ether3-slave-local
set 3 master-port=ether2-master-local name=ether4-slave-local
set 4 master-port=ether2-master-local name=ether5-slave-local
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys wpa2-pre-shared-key=xxxxxxxx
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge-local name=default
/interface bridge port
add bridge=bridge-local interface=wlan1
add bridge=bridge-local interface=ether2-master-local
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=bridge-local
/ip dhcp-client
add comment="default configuration" disabled=no interface=ether1-gateway
/ip dhcp-server network
add address=192.168.88.0/24 comment="default configuration" dns-server=192.168.88.1 gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes max-udp-packet-size=512 servers=192.168.11.1
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add chain=input comment="default configuration" disabled=yes protocol=icmp
add chain=input comment="default configuration" connection-state=established disabled=yes in-interface=ether1-gateway
add chain=input comment="default configuration" connection-state=related disabled=yes in-interface=ether1-gateway
add action=drop chain=input comment="default configuration" disabled=yes in-interface=ether1-gateway
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" out-interface=ether1-gateway to-addresses=0.0.0.0
/ip smb shares
set [ find default=yes ] disabled=yes
/queue interface
set ether1-gateway queue=ethernet-default
set ether2-master-local queue=ethernet-default
set ether3-slave-local queue=ethernet-default
set ether4-slave-local queue=ethernet-default
set ether5-slave-local queue=ethernet-default
/system clock
set time-zone-name=America/Denver
/system leds
add interface=ether2-master-local leds=led2 type=interface-activity
add interface=ether3-slave-local leds=led3 type=interface-activity
add interface=ether4-slave-local leds=led4 type=interface-activity
add interface=ether5-slave-local leds=led5 type=interface-activity
/system ntp client
set enabled=yes mode=unicast primary-ntp=132.163.4.101 secondary-ntp=128.138.140.44
/tool mac-server
add disabled=no interface=wlan1
add disabled=no interface=ether2-master-local
add disabled=no interface=ether3-slave-local
add disabled=no interface=ether4-slave-local
add disabled=no interface=ether5-slave-local
add disabled=no interface=bridge-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=wlan1
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=bridge-local
[admin@MikroTik] >
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: Setting up a wireless access point

Wed May 02, 2012 2:30 pm

Just bridge all of your ports, including the wireless, together.
 
User avatar
villageworker
newbie
Topic Author
Posts: 38
Joined: Fri Nov 11, 2011 9:54 pm

Re: Setting up a wireless access point

Wed May 02, 2012 5:06 pm

Just bridge all of your ports, including the wireless, together.
What should I do with DHCP?

Thanks for your response.
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: Setting up a wireless access point

Wed May 02, 2012 5:08 pm

What do you mean?
 
User avatar
villageworker
newbie
Topic Author
Posts: 38
Joined: Fri Nov 11, 2011 9:54 pm

Re: Setting up a wireless access point

Wed May 02, 2012 5:23 pm

What do you mean?
My config is cable modem > buffalo (providing DHCP on 192.168.11.x subnet) > omniTIK

I would like all clients associating with the omniTIK to get their IP from the buffalo. Currently the omniTIK is providing a DHCP in the 192,168.88.x range.

If I bridge all the ports as well as the WLAN will all client DHCP request be forwarded to the buffalo?
Will I still be able to access the omniTIK through webfig?

Thanks much.
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: Setting up a wireless access point

Wed May 02, 2012 5:28 pm

Disable the DHCP server on the omnitik and bridge everything together, then yes the buffalo with server your dhcp. You can either set a static address for the omnitik or you can put a dhcp-client on the bridge interface. Then the omnitik will have an IP for itself.

Who is online

Users browsing this forum: No registered users and 21 guests