Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1153

Switch interfaces appearing as hosts when using IPv6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      commit 8fc739af473d6823061fb8ffe28cb5e21280418e
      ONOS_FEATURES=webconsole,onos-api,onos-core,onos-cli,onos-openflow,onos-app-mobility,onos-app-tvue,onos-app-proxyarp, onos-gui

      Description

      I am seeing some extra hosts appear in ONOS. After some investigating, it looks like the macs of these new hosts are from switch interfaces.

      Steps to reproduce:
      Start ONOS (I've seen this on both 1 node and 7 node ONOS clusters. Logs are from a single node cluster)
      Start Mininet with no controller set
      Assign Switches
      Delete a switch s5(in mn)
      add switch s5, and re-add links to h5, s2, s1, s6 (in mn)
      3 hosts now appear in ONOS hosts store(note I haven't done any pings yet):

      id=8A:FA:22:06:27:61/-1, mac=8A:FA:22:06:27:61, location=of:0000000000006000/5, vlan=-1, ip(s)=[]
      id=DA:D0:3B:47:2B:0F/-1, mac=DA:D0:3B:47:2B:0F, location=of:0000000000001000/3, vlan=-1, ip(s)=[]
      id=DA:DB:32:07:13:D6/-1, mac=DA:DB:32:07:13:D6, location=of:0000000000002000/5, vlan=-1, ip(s)=[]

      These macs correspond to the switch interfaces:
      (<Intf s5-eth4>, '8a:fa:22:06:27:61')
      (<Intf s5-eth3>, 'da:d0:3b:47:2b:0f')
      (<Intf s5-eth2>, 'da:db:32:07:13:d6')
      which should be linked to s6, s1, and s2 respectively.

      onos> links of:0000000000005000
      src=of:0000000000005000/2, dst=of:0000000000002000/5, type=DIRECT, state=ACTIVE
      src=of:0000000000005000/4, dst=of:0000000000006000/5, type=DIRECT, state=ACTIVE
      src=of:0000000000005000/3, dst=of:0000000000001000/3, type=DIRECT, state=ACTIVE
      src=of:0000000000006000/5, dst=of:0000000000005000/4, type=DIRECT, state=ACTIVE
      src=of:0000000000002000/5, dst=of:0000000000005000/2, type=DIRECT, state=ACTIVE
      src=of:0000000000001000/3, dst=of:0000000000005000/3, type=DIRECT, state=ACTIVE

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              charles Charles Chan
              Reporter:
              jhall Jon Hall
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: