I've recently installed two mikrotik systems connected via fiber optics using S-85DLC05D SFP modules:
- CRS326-24G-2S+RM
- hEX PoE
The CRS326 is connected the main switch via copper. The hEX is connected via a fiber optic connection to the CRS326. The CRS is running without any noticeable problems concerning its reachability from the local LAN. The hEX behind the fiber connection is going crazy. Sometimes it just works, sometimes is reachable only a few minutes every few hours and sometimes it comes and goes every minute. After power cycling the hEX right now to export its config the link came up again.
I've already tested the setup using a short fiber optic cable an replaced the SFP modules. It still doesn't work. For the moment I'm not sure if I've got a hardware problem or some invalid configuration.
Any ideas what the reason might be?
Code: Select all
# jul/28/2017 16:14:15 by RouterOS 6.40
# software id = xxxx-xxxxx
#
# model = CRS326-24G-2S+
# serial number = xxxxxxxxxxx
/interface ethernet
set [ find default-name=ether1 ] name=ether1-master
set [ find default-name=ether2 ] master-port=ether1-master
set [ find default-name=ether3 ] master-port=ether1-master
set [ find default-name=ether4 ] master-port=ether1-master
set [ find default-name=ether5 ] master-port=ether1-master
set [ find default-name=ether6 ] master-port=ether1-master
set [ find default-name=ether7 ] master-port=ether1-master
set [ find default-name=ether8 ] master-port=ether1-master
set [ find default-name=ether9 ] master-port=ether1-master
set [ find default-name=ether10 ] master-port=ether1-master
set [ find default-name=ether11 ] master-port=ether1-master
set [ find default-name=ether12 ] master-port=ether1-master
set [ find default-name=ether13 ] master-port=ether1-master
set [ find default-name=ether14 ] master-port=ether1-master
set [ find default-name=ether15 ] master-port=ether1-master
set [ find default-name=ether16 ] master-port=ether1-master
set [ find default-name=ether17 ] master-port=ether1-master
set [ find default-name=ether18 ] master-port=ether1-master
set [ find default-name=ether19 ] master-port=ether1-master
set [ find default-name=ether20 ] master-port=ether1-master
set [ find default-name=ether21 ] master-port=ether1-master
set [ find default-name=ether22 ] master-port=ether1-master
set [ find default-name=ether23 ] master-port=ether1-master
set [ find default-name=ether24 ] master-port=ether1-master
set [ find default-name=sfp-sfpplus1 ] master-port=ether1-master
set [ find default-name=sfp-sfpplus2 ] master-port=ether1-master
/interface vlan
add interface=ether1-master name=vlan-104 vlan-id=104
/interface ethernet switch port
set 0 default-vlan-id=100 vlan-header=add-if-missing vlan-mode=secure
set 1 default-vlan-id=100 vlan-header=add-if-missing vlan-mode=secure
set 2 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 3 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 4 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 5 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 6 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 7 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 24 default-vlan-id=100 vlan-header=add-if-missing vlan-mode=secure
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface ethernet switch vlan
add ports=\
ether1-master,ether2,sfp-sfpplus1,ether3,ether4,ether5,ether6,ether7,ether8 \
switch=switch1 vlan-id=101
add ports=ether1-master,ether2,sfp-sfpplus1 switch=switch1 vlan-id=102
add ports=ether1-master,ether2,sfp-sfpplus1 switch=switch1 vlan-id=103
add ports=ether1-master,ether2,sfp-sfpplus1,switch1-cpu switch=switch1 vlan-id=\
104
add ports=ether1-master,ether2,sfp-sfpplus1 switch=switch1 vlan-id=105
add ports=ether1-master,ether2,sfp-sfpplus1 switch=switch1 vlan-id=106
add ports=ether1-master,ether2,sfp-sfpplus1 switch=switch1 vlan-id=100
/ip address
add address=xx.yy.51.11/24 comment=defconf interface=vlan-104 network=xx.yy.51.0
/ip dns
set servers=8.8.8.8
/ip route
add distance=1 gateway=xx.yy.51.1
/system clock
set time-zone-name=Europe/Berlin
/system routerboard settings
set boot-os=router-os
Code: Select all
# jul/28/2017 16:29:12 by RouterOS 6.40
# software id = XXXX-XXXX
#
# model = 960PGS
# serial number = XXXXX
/interface bridge
add fast-forward=no name=bridge_vlan
/interface ethernet
set [ find default-name=ether2 ] master-port=ether1
set [ find default-name=ether3 ] master-port=ether1
set [ find default-name=ether4 ] master-port=ether1 speed=10Mbps
set [ find default-name=ether5 ] master-port=ether1
/interface vlan
add interface=sfp1 name=sfp1-vlan-100 vlan-id=100
add interface=sfp1 name=sfp1-vlan-101 vlan-id=101
/interface ethernet switch port
set 0 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 1 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 2 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 3 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 4 default-vlan-id=101 vlan-header=always-strip vlan-mode=secure
set 5 vlan-header=always-strip
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface bridge port
add bridge=bridge_vlan interface=sfp1-vlan-100
add bridge=bridge_vlan interface=ether1
add bridge=bridge_vlan interface=sfp1-vlan-101
/interface ethernet switch vlan
add independent-learning=no ports=ether1,ether2,ether3,ether4,ether5,switch1-cpu switch=switch1 vlan-id=101
/ip address
add address=XX.YY.50.10/24 interface=bridge_vlan network=XX.YY.50.0
/ip dns
set servers=8.8.8.8
/ip route
add distance=1 gateway=XX.YY.50.1
/system clock
set time-zone-name=Europe/Berlin