@Astlos145

Как правильно настроить Wifi на Mikrotik?

Настроен в офисе Mikrotik Hap AC Lite как точка Wifi. И со временем оказалось, когда подключаются несколько устройств, то отваливается и идёт в долгую перезагрузку, и потом снова подключает устройства.
Вот такой конфиг на Mikrotik
/interface bridge
add admin-mac=B8:69:F4:DC:AD:CE auto-mac=no comment=defconf name=bridge
/interface wireless
set [ find default-name=wlan1 ] antenna-gain=0 band=2ghz-b/g/n channel-width=20/40mhz-Ce country=russia disabled=no \
frequency=auto frequency-mode=superchannel installation=indoor mode=ap-bridge radio-name=Rad34 ssid=Mikrotik-2
\wireless-protocol=802.11 wps-mode=disabled
set [ find default-name=wlan2 ] antenna-gain=0 band=5ghz-a/n/ac channel-width=20/40/80mhz-Ceee country=russia disabled=no \
distance=indoors frequency=auto frequency-mode=manual-txpower installation=indoor mode=ap-bridge ssid=Mikrotik-12
/interface wireless nstreme
set wlan1 enable-polling=no
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik \
wpa-pre-shared-key wpa2-pre-shared-key=
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
/ip dhcp-server
add address-pool=dhcp interface=bridge name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
add bridge=bridge interface=ether1
/interface list member
add comment=defconf interface=ether1 list=WAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add interface=wlan2 list=LAN
add interface=wlan1 list=LAN
/ip address
add address=192.168.2.0/24 comment=defconf interface=ether2 network=192.168.2.0
/ip dhcp-client
add comment=defconf interface=bridge
# DHCP client can not run on slave interface!
add disabled=no interface=ether1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.2.10 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=forward comment="defconf: accept in ipsec policy" disabled=yes ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" disabled=yes ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related disabled=\
yes
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=\
established,related,untracked disabled=yes
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid disabled=yes
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new disabled=yes in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=ether1 type=external
/system clock
set time-zone-name=Europe/Moscow
/system identity
set name=MikroTik-1
  • Вопрос задан
  • 1740 просмотров
Пригласить эксперта
Ответы на вопрос 1
Ziptar
@Ziptar
Дилетант широкого профиля
/interface bridge port
add bridge=bridge interface=ether1

/interface list member
add comment=defconf interface=ether1 list=WAN

/ip upnp
set enabled=yes

/ip upnp interfaces
add interface=bridge type=internal
add interface=ether1 type=external


У вас wan интерфес в бридже с lan интерфейсами, да ещё при всём при этом с включённым upnp. Я бы ничему тут не удивлялся.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы