Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-1271

JunOS / Discovery of IPv6 netmasks

    XMLWordPrintable

Details

    Description

      The IPv6 interface network mask always shows up as /128 instead of the proper netmask. This happened after upgrading to a newer JunOS version (currently 14.2).

      It seems that, if something below "ipAddressPrefix.ipv6" is found, then ipv6AddrPfxLength is not being queried. I already opened a case with Juniper on this and the result was the following:

      snip
      The two MIBs being compared as per the case are:

      -> ipv6AddrPfxLength
      -> ipAddressPrefix

      These MIB objects are not directly comparable. They define different purpose. Please see below details.

      -> ipv6AddrPfxLength : This MIB is part of ipv6AddrTable and defined in RFC 2465

      ipv6AddrPfxLength OBJECT-TYPE
      SYNTAX INTEGER(0..128) UNITS "bits" MAX-ACCESS read-only STATUS cu
      rrent DESCRIPTION "The length of the prefix (in bits) associated with the IPv6 address of th
      is entry." ::=

      { ipv6AddrEntry 2 }

      -> ipAddressPrefix : This MIB is part of ipAddressTable and defined in RFC 4293

      ipAddressPrefix OBJECT-TYPE SYNTAX RowPointer MAX-ACCESS read-only STATUS current DESCRIPTION
      "A pointer to the row in the prefix table to which this address belongs. May be

      { 0 0 }

      if there is no such row."
      DEFVAL

      { zeroDotZero }

      ::=

      { ipAddressEntry 5 }

      From RFC 4293:
      The ipAddressTable is loosely based on the ipv6AddrTable but has changed considerably with the addition of several new objects and the removal of one of its indexes.

      The ipAddressTable from RFC 4293 doesn't have an object listing the ipv6 prefix length.

      Additionally, please refer below documentation on list of OIDs we support from RFC 4293. We support only the mandatory groups from R
      FC 4293.

      http://www.juniper.net/documentation/en_US/junos14.1/topics/reference/standards/snmp-std-mibs-junos-nm.html
      http://www.juniper.net/techpubs/en_US/junos13.2/topics/reference/standards/ipv6-std-mibs.html
      snap

      Can you please check and make sure you are using the IPv6 Prefix length (netmask) from ipv6AddrPfxLength? This implementation is existing and properly working on JunOS (even latest versions).

      Attachments

        1. disco-ham1de.log
          1.07 MB
          Florian Hibler

        Activity

          People

            landy Mike Stupalov
            fhibler Florian Hibler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: