Menu

#2621 Solaris 11 snmpd doesn't return router IP Address for ipRouteNextHop.0.0.0.0 OID

64-bit
closed
None
3
2015-05-08
2015-04-21
Sowrabha
No

In solaris 11,ipRouteNextHop returns 0.0.0.0. instead of returning default ip address.

snmpwalk -v 2c -c public localhost RFC1213-MIB::ipRouteNextHop.0.0.0.0

RFC1213-MIB::ipRouteNextHop.0.0.0.0 = IpAddress: 0.0.0.0

This bug also exits in Solaris 10 branded with Solaris 11 global zone:

/usr/sfw/bin/snmpwalk -v 2c -c public localhost

RFC1213-MIB::ipRouteNextHop.0.0.0.0
RFC1213-MIB::ipRouteNextHop.0.0.0.0 = IpAddress: 0.0.0.0

1 Attachments

Discussion

  • Niels Baggesen

    Niels Baggesen - 2015-04-27

    What version of net-snmp are you using?

     
  • Niels Baggesen

    Niels Baggesen - 2015-04-28
    • status: open --> pending
    • assigned_to: Niels Baggesen
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1 @@
    +route.patch (750 Bytes; text/x-patch)
    
     
  • Niels Baggesen

    Niels Baggesen - 2015-04-28

    Please try the attached patch. It should fix the problem

     
  • Niels Baggesen

    Niels Baggesen - 2015-05-04

    The fix has been applied for 5.5 onwards

     
  • Niels Baggesen

    Niels Baggesen - 2015-05-04
    • status: pending --> closed
     
  • Sowrabha

    Sowrabha - 2015-05-08

    I am sorry for the delayed response. I am using net-snmp version 5.4.1.
    And the suggested fix works fine.
    Thanks a lot Niel :)

     

    Last edit: Sowrabha 2015-05-08

Log in to post a comment.