Всем привет, я не забыл отключить DHCP клиент, но всё равно получаю это сообщение об ошибке в логе. Кто-нибудь знает, почему?
may/15 00:47:53 system,error,critical роутер перезагрузился без правильного выключения
may/15 00:48:00 bridge,info аппаратное ускорение включено на мосте “bridge” порты: ether1
may/15 00:48:00 bridge,info аппаратное ускорение включено на мосте “bridge” порты: ether2
may/15 00:48:00 bridge,info аппаратное ускорение включено на мосте “bridge” порты: ether3
may/15 00:48:00 dhcp,error временно переносится клиент ether1 со slave на master порт, обновите конфигурацию!!!
may/15 00:48:02 interface,info ether1 линк поднят (скорость 100М, полный дуплекс)
may/15 00:48:02 dhcp,info dhcp-клиент на ether1 получил IP-адрес 10.0.0.250
may/15 00:48:07 caps,info CAP выбрал CAPsMAN MikroTikRouter (xx:xx:xx:xx:xx:xx/9/0)
may/15 00:48:09 caps,info CAP подключился к MikroTikRouter (xx:xx:xx:xx:xx:xx/9/0)
may/15 00:48:09 caps,info CAP присоединился к MikroTikRouter (xx:xx:xx:xx:xx:xx/9/0)
may/15 00:58:19 system,info,account пользователь admin залогинился с 10.0.0.191 через веб
may/15 01:00:19 system,info,account пользователь admin вышел с 10.0.0.191 через веб
Я использую wsAP ac lite, питание подаётся по PoE с MikroTik роутера. IP-адрес прописан статически, но несмотря на это, как только устройство загружается, оно запрашивает IP и получает его, судя по логам. wsAP настроен как CAP.
[admin@MikroTikCAP] > export
may/16/2019 19:37:46 by RouterOS 6.44.3
software id = E7WQ-AKI0
model = RouterBOARD wsAP 5Hac2nD
serial number = xxxxxxxxxxxxx
/interface bridge
add admin-mac=B8:69:F4:22:5D:95 auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether1 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether2 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether3 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
/interface wireless managed by CAPsMAN
channel: 2452/20-Ce/gn(20dBm), SSID: MikroTikCAPWiFi, CAPsMAN forwarding
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce distance=indoors frequency=auto mode=ap-bridge ssid=MikroTik-225D98 wireless-protocol=802.11
managed by CAPsMAN
channel: 5180/20-Ceee/ac(23dBm), SSID: MikroTikCAPWiFi, CAPsMAN forwarding
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-Ceee distance=indoors frequency=auto mode=ap-bridge ssid=MikroTik-225D97 wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=default-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=wlan1
add bridge=bridge comment=defconf interface=wlan2
add bridge=bridge comment=CAPsMAN interface=ether1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/interface wireless cap
set bridge=bridge discovery-interfaces=bridge enabled=yes interfaces=wlan1,wlan2
/ip address
add address=10.0.0.250/24 comment=defconf interface=bridge network=10.0.0.0
/ip dhcp-client
DHCP клиент не может работать на slave-интерфейсе!
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment=“defconf: accept established,related,untracked” connection-state=established,related,untracked
add action=drop chain=input comment=“defconf: drop invalid” connection-state=invalid
add action=accept chain=input comment=“defconf: accept ICMP” protocol=icmp
add action=drop chain=input comment=“defconf: drop all not coming from LAN” in-interface-list=!LAN
add action=accept chain=forward comment=“defconf: accept in ipsec policy” ipsec-policy=in,ipsec
add action=accept chain=forward comment=“defconf: accept out ipsec policy” ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment=“defconf: fasttrack” connection-state=established,related
add action=accept chain=forward comment=“defconf: accept established,related, untracked” connection-state=established,related,untracked
add action=drop chain=forward comment=“defconf: drop invalid” connection-state=invalid
add action=drop chain=forward comment=“defconf: drop all from WAN not DSTNATed” connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment=“defconf: masquerade” ipsec-policy=out,none out-interface-list=WAN
/system clock
set time-zone-name=Europe/Prague
/system identity
set name=MikroTikCAP
/system scheduler
add comment=“xxx” interval=1w name=ConfigSaveCAP on-event=ConfigSaveCAP policy= ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-date=may/13/2019 start-time=00:00:00
/system script
add dont-require-permissions=no name=ConfigSaveCAP owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=“system backup save”
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
[admin@MikroTikCAP] >
Если я правильно понимаю, проблема вот в чём: в WebFig это вроде как отключено, но в CLI стоит disabled=no. DHCP клиент не может работать на slave-интерфейсе!
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1
Так что, как именно мне это почистить, чтобы ещё больше ничего не сломать?