I publish a diagram with their relative configurations to ask if what I want to achieve has been configured correctly by me, because i have a problem with an ethernet intherface.
I ask for this help because I am still new to this system
here the configuration of SXT. For obvious reasons I have included a few ***
Code: Select all
/interface lte
set [ find ] allow-roaming=yes name=lte1 network-mode=lte
/interface bridge
add comment="*** eth1 eth2" name=bridge1
/interface list
add name=WAN
add name=LAN
/interface lte apn
set [ find default=yes ] apn=*** name="***"
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=pool1 ranges=192.168.88.101-192.168.88.199
/ip dhcp-server
add address-pool=pool1 disabled=no interface=bridge1 \
lease-time=1d name=server1
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=WAN
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface detect-internet
set detect-interface-list=WAN
/interface list member
add interface=lte1 list=WAN
add interface=bridge1 list=LAN
/ip address
add address=192.168.88.1/24 interface=bridge1 network=192.168.88.0
/ip dhcp-client
add disabled=no interface=bridge1
/ip dhcp-server lease
add address=192.168.88.201 comment="NVR" mac-address=***:0D:95 server=server1
add address=192.168.88.200 comment="SEC" mac-address=***:3A:22 server=server1
add address=192.168.88.2 comment="BRIDGE" mac-address=***:5B:B2 server=server1 use-src-mac=yes
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.88.1 netmask=24
/ip dns
set servers=8.8.8.8,8.8.4.4,1.1.1.1,1.0.0.1
/ip firewall filter
add action=accept chain=input protocol=icmp
add action=accept chain=input connection-state=established
add action=accept chain=input connection-state=related
add action=drop chain=input in-interface-list=!LAN
/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=WAN
/system clock
set time-zone-name=Europe/Rome
/system identity
set name="MikroTik SXT R"
/system ntp client
set enabled=yes primary-ntp=93.94.88.50 secondary-ntp=193.204.114.105 server-dns-names=it.pool.ntp.org,ntp.inrim.it
/tool sms
set port=lte1 receive-enabled=yes
here the configuration of HAP
Code: Select all
/interface bridge
add name=bridge1
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk mode=dynamic-keys name=prolife1 supplicant-identity="" wpa2-pre-shared-key=***
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce country=italy disabled=no frequency=auto mode=ap-bridge security-profile=prolife1 ssid=*** wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-n/ac channel-width=20/40/80mhz-eeCe country=italy disabled=no frequency=auto mode=ap-bridge security-profile=prolife1 ssid=*** wireless-protocol=802.11
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=wlan2
/interface detect-internet
set detect-interface-list=WAN
/interface list member
add 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=wlan1 list=LAN
add interface=wlan2 list=LAN
/interface wireless cap
set bridge=bridge1 interfaces=wlan2,wlan1
/ip dhcp-client
add disabled=no interface=bridge1
/ip dns
set servers=192.168.88.1
/system clock
set time-zone-name=Europe/Rome
/system identity
set name="MikroTik HAP"
/system ntp client
set enabled=yes
I think I tried to configure a static ip to the hAP. However, it seems to me that sometimes when I restart it there is an IP problem due to its bridge that varies the MAC address.
In the SXT I entered this command hoping it is right:
add address = 192.168.88.2 comment = "BRIDGE" mac-address = ***: 5B: B2 server = server1 use-src-mac = yes
At the moment, since it is a home installation, I have no problems with physical infringements and I would only like to use it (even if I do not exploit it to its full potential) that works as per the scheme.
I encountered a problem both on the logs of an ac2 hAP and on the device physically connected to the ethernet port (Ether2 interface link down & up). The link goes down and up and consequently the assignment via DHCP also creates problems in the SXT logs. The link goes down for a few seconds and then back up and reappears after a few tens of minutes.
Physical side. First point RBD52G-5HacD2HnD (hAP ac2) obviously updated to the latest release. Another point is an IP module of a Bentel alarm control panel. The latter has no problems because connecting it to a normal Huawei modem router does not crash and does not report errors to me. I also say this because the system is in the house and I am the owner of it and before I installed the MikroTik everything was working great.
I have already tried both replacing the cable with a known good one and changing the physical port on the hAP to no avail.
Logical side. I have done several unsuccessful tests on configuring the ethernet interface with no success. First with auto-negotiation, then with half-duplex, and at different speeds (10M / 100M) without success.
Now since I think I have created a fairly basic configuration, I cannot solve the problem due to my inexperience.
Anyone have any ideas about it? Thank you
Excuse me again for my ignorance and my English if I made mistakes because I am an Italian