
Hi! I would like to report a strange bug. SNMP based monitoring of Mikrotik router stopped working just after deploying new configuration, involving VRRP. The router R1 is not responding to SNMP queries on IP address assigned to VRRP interface, if queries are sent from the monitoring server S1. Here is an example linux command which I am using for verification:
root@S1:~$ snmpwalk -v1 -c public 10.28.0.> 10
Timeout: No Response from 10.28.0.10
But everything works just fine if queries are sent to the IP address assigned to physical interface. Example command:
root@S1:~$ snmpwalk -v1 -c public 10.28.0.> 8
iso.3.6.1.2.1.1.1.0 = STRING: “RouterOS CCR1036-8G-2S+”
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.14988.1
iso.3.6.1.2.1.1.3.0 = Timeticks: (7105900) 19:44:19.00
. . .
The problem became visible on SNMP traffic, but other UDP traffic is not working as well (ie. DNS). TCP traffic ie. SSH is working without any problem.
I have tested this against RouterOS 6.37rc11
as well as 6.34.6 (Bugfix only) and 6.36 (Current). The behavior is the same all the time.
The strange part of this problem is, that if I provide a direct connection between S1 and R1 by replacing R2 with cable together with moving R2’s IP address 10.28.0.1 to S1, then it works even with IP assigned to VRRP interface (10.28.0.10).
R1 (VRRP router) configuration:
# aug/02/2016 11:18:38 by RouterOS 6.37rc11
#
#
/interface vrrp
add interface=ether3 name=vrrp priority=150 vrid=10
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=ether1 network=192.168.88.0
add address=10.28.0.8/24 interface=ether3 network=10.28.0.0
add address=10.28.0.10 interface=vrrp network=10.28.0.10
/ip route
add distance=1 dst-address=10.30.0.128/30 gateway=10.28.0.1
/ip service
set api disabled=yes
/snmp
set enabled=yes
/system clock
set time-zone-name=Europe/Berlin
/system package update
set channel=release-candidate
/system routerboard settings
set cpu-frequency=1200MHz memory-frequency=1066DDR protected-routerboot=disabled
R2 (subnet router) configuration:
# jan/07/1970 19:46:59 by RouterOS 6.35.4
#
#
/ip address
add address=10.28.0.1/24 interface=ether3 network=10.28.0.0
add address=10.30.0.129/30 interface=ether1 network=10.30.0.128
/system routerboard settings
set cpu-frequency=650MHz protected-routerboot=disabled
Monitoring server networking configuration:
ip address add 10.30.0.130/30 dev eth0
ip route add default via 10.30.0.129
