Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2581

sys.inet6.routes: multiple issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 3.10.0
    • Fix Version/s: None
    • Component/s: Environment Detection
    • Labels:
      None
    • Environment:
      Scientific Linux 6.x
    • Platform:
      RHEL or CentOS

      Description

      Aside from the issues mentioned in CFE-2580, there are several other distinct issues with sys.inet6.routes:

      • dest always appears to be "0:0:0:0:0:0:0:0"
      • dest_prefix appears to be wrong in the few cases I've seen
      • source_prefix appears to be wrong in the few cases I've seen
      • missing routes (in this case, the default route is nowhere to be found)
      • routes with incorrect next_hop (seems like some addresses are being truncated?)

      In order to best illustrate this, here is the entirety of sys.inet6.routes, and the output from `ip -6 route`:

            "routes": [
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "60",
                "flags": [
                  "down",
                  "net",
                  "local"
                ],
                "interface": "lo",
                "metric": 1024,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "60",
                "flags": [
                  "down",
                  "net",
                  "local"
                ],
                "interface": "lo",
                "metric": 1024,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "18",
                "flags": [
                  "down",
                  "net",
                  "local"
                ],
                "interface": "lo",
                "metric": 1024,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "18",
                "flags": [
                  "down",
                  "net",
                  "local"
                ],
                "interface": "lo",
                "metric": 1024,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "20",
                "flags": [
                  "down",
                  "net",
                  "local"
                ],
                "interface": "lo",
                "metric": 1024,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "1c",
                "flags": [
                  "down",
                  "net",
                  "local"
                ],
                "interface": "lo",
                "metric": 1024,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "20",
                "flags": [
                  "down",
                  "net",
                  "local"
                ],
                "interface": "lo",
                "metric": 1024,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "13",
                "flags": [
                  "down",
                  "net",
                  "local"
                ],
                "interface": "lo",
                "metric": 1024,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "80",
                "flags": [
                  "up",
                  "net",
                  "local"
                ],
                "interface": "em1",
                "metric": 0,
                "next_hop": "89:15:186:146:1f:4000:8:2610",
                "refcnt": 3,
                "source_prefix": "00",
                "use": 18
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "80",
                "flags": [
                  "up",
                  "net",
                  "local"
                ],
                "interface": "em1",
                "metric": 0,
                "next_hop": "110:15:186:146:1f:4000:8:2610",
                "refcnt": 1,
                "source_prefix": "00",
                "use": 83
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "40",
                "flags": [
                  "up",
                  "net",
                  "local"
                ],
                "interface": "em1",
                "metric": 256,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 1
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "20",
                "flags": [
                  "down",
                  "net",
                  "local"
                ],
                "interface": "lo",
                "metric": 1024,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "40",
                "flags": [
                  "up",
                  "net",
                  "local"
                ],
                "interface": "em1",
                "metric": 256,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "80",
                "flags": [
                  "up",
                  "net",
                  "local"
                ],
                "interface": "em1",
                "metric": 0,
                "next_hop": "69:ff15:1:0:0:0:0:ff02",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 1
              },
              {
                "dest": "0:0:0:0:0:0:0:0",
                "dest_prefix": "08",
                "flags": [
                  "up",
                  "net",
                  "local"
                ],
                "interface": "em1",
                "metric": 256,
                "next_hop": "0:0:0:0:0:0:0:0",
                "refcnt": 0,
                "source_prefix": "00",
                "use": 0
              }
      
      unreachable ::/96 dev lo  metric 1024  error -113 mtu 65536
      unreachable ::ffff:0.0.0.0/96 dev lo  metric 1024  error -113 mtu 65536
      unreachable 2002:a00::/24 dev lo  metric 1024  error -113 mtu 65536
      unreachable 2002:7f00::/24 dev lo  metric 1024  error -113 mtu 65536
      unreachable 2002:a9fe::/32 dev lo  metric 1024  error -113 mtu 65536
      unreachable 2002:ac10::/28 dev lo  metric 1024  error -113 mtu 65536
      unreachable 2002:c0a8::/32 dev lo  metric 1024  error -113 mtu 65536
      unreachable 2002:e000::/19 dev lo  metric 1024  error -113 mtu 65536
      2610:8:4000:1f::/64 dev em1  proto kernel  metric 256  mtu 1500
      unreachable 3ffe:ffff::/32 dev lo  metric 1024  error -113 mtu 65536
      fe80::/64 dev em1  proto kernel  metric 256  mtu 1500
      default via 2610:8:4000:1f:146:186:15:65 dev em1  metric 1  mtu 1500
      

        Attachments

          Activity

            People

            • Assignee:
              a10003 Eystein Maloy Stenberg
              Reporter:
              phalenor Andrew Cobaugh
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel