Community discussions

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

IP relay issues with an AP Bridge and two stations

Sun Jul 15, 2012 11:26 pm

Ok I am stumped. Cannot get my outdoor stations to consistently get IP's. Sometimes the stations will connect to the AP, get an IP and all will be good.
But many times the AP will see the registration of the radios but each without an IP.

My setup is shown in the figure below. I have a firewall/router which hands out DHCP to an Omnitik AP-Bridge mounted on the side of the building.
The AP-Bridge broadcasts an SSID which allows the two stations to connect.

Image

Is there anyting missing/wrong about with my configuration?

Many thanks in advance.

The configuration of the AP-Bridge and stations is as follows:
Configuration of the Omnitik AP-Bridge
--------------------------------------
[root@OmnitikWest5G] > export compact
# jul/12/2012 13:18:33 by RouterOS 5.18
# software id = XC06-WW07
#
/interface bridge
add admin-mac=00:0C:42:C3:0C:22 auto-mac=no l2mtu=1600 name=bridge-local protocol-mode=rstp
/interface wireless
set 0 band=5ghz-onlyn disabled=no 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 mode=\
    ap-bridge radio-name=omnitikWest5G rate-selection=legacy ssid=omnitikWest5G 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 supplicant-identity=MikroTik wpa2-pre-shared-key=PASSWORD
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/interface bridge port
add bridge=bridge-local interface=wlan1
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=ether1-gateway
/interface wireless align
set active-mode=no audio-max=0 audio-min=0 frame-size=200 frames-per-second=1 ssid-all=yes
/ip dhcp-client
add disabled=no interface=bridge-local
/ip dns
set allow-remote-requests=yes max-udp-packet-size=512 servers=192.168.11.1
/ip firewall connection tracking
set enabled=no
/ip neighbor discovery
set wlan1 disabled=yes
/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 identity
set name=OmnitikWest5G
/system leds
set 0 interface=bridge-local leds=led5
add interface=wlan1 leds=led1,led2,led3,led4 type=wireless-signal-strength
/system ntp client
set enabled=yes mode=unicast primary-ntp=132.163.4.101 secondary-ntp=128.138.140.44
[root@OmnitikWest5G] >

Configuration of the Omnitik Station Bridge
-------------------------------------------
[root@OMNIgatecam] > export compact
# jul/12/2012 19:07:09 by RouterOS 5.18
# software id = PXSV-YX6P
#
/interface bridge
add admin-mac=00:0C:42:C3:17:E6 auto-mac=no l2mtu=1600 name=bridge-local protocol-mode=rstp
/interface wireless
set 0 band=5ghz-onlyn disabled=no ht-rxchains=0,1 ht-txchains=0,1 l2mtu=2290 mac-address=00:0C:42:C3:17:EA mode=station-bridge radio-name=\
    OMNIgatecam rate-selection=legacy ssid="" 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 supplicant-identity=MikroTik wpa2-pre-shared-key=PASSWORD
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=wlan1
add bridge=bridge-local interface=ether1-gateway
/ip dhcp-client
add default-route-distance=0 disabled=no interface=bridge-local
/ip dns
set allow-remote-requests=yes max-udp-packet-size=512
/ip neighbor discovery
set ether1-gateway disabled=yes
set wlan1 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 identity
set name=OMNIgatecam
/system leds
set 0 interface=bridge-local
add interface=wlan1 leds=led2,led3,led4,led5 type=wireless-signal-strength
/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=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=wlan1
add disabled=no interface=bridge-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=wlan1
add interface=bridge-local
[root@OMNIgatecam] > 

Configuration of the SXT Station Bridge
---------------------------------------
[root@SXTcistern] > export compact
# jul/12/2012 12:41:42 by RouterOS 5.18
# software id = QXMG-JJ89
#
/interface bridge
add l2mtu=2290 name=bridge1 protocol-mode=rstp
/interface wireless
set 0 band=5ghz-onlyn disabled=no 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 mode=\
    station-bridge name=wlan1-gateway radio-name=SXTcistern ssid="" wireless-protocol=any
/interface ethernet
set 0 name=ether1-local
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik wpa2-pre-shared-key=PASSWORD
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/interface bridge port
add bridge=bridge1 interface=wlan1-gateway
add bridge=bridge1 interface=ether1-local
/ip dhcp-client
add default-route-distance=0 disabled=no interface=bridge1
/ip dns
set allow-remote-requests=yes
/ip neighbor discovery
set wlan1-gateway disabled=yes
/system clock
set time-zone-name=America/Denver
/system identity
set name=SXTcistern
/system leds
set 0 interface=wlan1-gateway leds=led2,led3,led4,led5
set 1 interface=bridge1 leds=led1
/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=ether1-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether1-local
[root@SXTcistern] > 

Who is online

Users browsing this forum: trintrin and 12 guests