Community discussions

MikroTik App
 
truman
just joined
Topic Author
Posts: 2
Joined: Wed Sep 22, 2021 2:35 pm

snmp route nexthop request doesn't work as expected

Wed Sep 22, 2021 3:00 pm

In RouterOS 7 when I trying to receive route nexthop via SNMP, I don't get currently active route, it returns last configured value.

For example I have configured two routes:
/ip route
add distance=1 dst-address=0.0.0.0/0 gateway=10.10.10.10
add distance=2 dst-address=0.0.0.0/0 gateway=10.10.10.20
Using snmp oid 1.3.6.1.2.1.4.21.1.7 I always get value 10.10.10.20 regardless what distance for routes I set.

In RouterOS 6 it works and returns value of route, which is currently active.
 
truman
just joined
Topic Author
Posts: 2
Joined: Wed Sep 22, 2021 2:35 pm

Re: snmp route nexthop request doesn't work as expected

Wed Dec 08, 2021 6:56 am

The issue still remains in version 7.1 stable.

Who is online

Users browsing this forum: No registered users and 18 guests