I recently got a used mikrotik hap light and after a few hours it will stop being accessible (cant see it in winbox and cant ping it) from the "wan" port as well as the VMs that are behind it. If i use a computer that is directly connected to it i can access the mikrotik as well as the internet normally. When i reboot it starts working again.
How i set it up
- Firstly i reset the device and selected no default configuration
- Used the quick set option (CPE) and connected to the ISP modem wirelessly
- Selected Bridge mode and set static ip
- Updated RouterOS to latest version
I used the hap light to connect wirelessly to my ISP modem (5-10 meters away with just a plasterboard wall in between, signal reception is good) and provide network to a server (R710 running multiple VMs), a laptop and a switch (managed switch but without dhcp and currently nothing connected on it).
My config
Code: Select all
# aug/03/2022 10:30:43 by RouterOS 6.49.6
# software id = 5HMN-ST65
#
# model = RB941-2nD
# serial number = <CENSORED>
/interface bridge
add name=bridge1
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
comment=WAN country=greece disabled=no mode=station-pseudobridge ssid=\
HOL_LT wireless-protocol=nv2-nstreme-802.11
/interface ethernet
set [ find default-name=ether1 ] comment="SRW 2048 SWITCH"
set [ find default-name=ether2 ] comment="R710 - IDRAC"
set [ find default-name=ether3 ] comment="R710 - PROXMOX"
set [ find default-name=ether4 ] comment="T420 - LAPTOP"
/interface wireless manual-tx-power-table
set wlan1 comment=WAN
/interface wireless nstreme
set wlan1 comment=WAN
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
supplicant-identity=MikroTik wpa-pre-shared-key="REDUCTED" \
wpa2-pre-shared-key="REDUCTED"
/interface bridge filter
add action=drop chain=input dst-port=68 in-interface=!wlan1 ip-protocol=udp \
mac-protocol=ip
/interface bridge port
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
/interface list member
add interface=wlan1 list=WAN
add list=LAN
add interface=ether1 list=LAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
/ip address
add address=192.168.1.100/24 interface=ether1 network=192.168.1.0
/ip cloud
set ddns-enabled=yes ddns-update-interval=1m
/ip dhcp-client
add interface=bridge1
/ip dns
set servers=1.1.1.1,8.8.8.8,8.8.4.4
/ip route
add distance=1 gateway=192.168.1.1
/system clock
set time-zone-name=Europe/Athens
/system identity
set name="CPE MikroTik"
/system leds
add interface=wlan1 leds=user-led type=wireless-status
I apologise if the formating or grammar is wrong, any help is appreciated.
Thank you in advance