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

DHCP server assigns two hosts the same IP address

    XMLWordPrintable

    Details

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

      Office controller with DHCP

      Description

      Symptoms:
      I had intermittent connectivity when I connected to the network this morning:

      Request timeout for icmp_seq 129
      Request timeout for icmp_seq 130
      Request timeout for icmp_seq 131
      Request timeout for icmp_seq 132
      Request timeout for icmp_seq 133
      Request timeout for icmp_seq 134
      64 bytes from 8.8.8.8: icmp_seq=135 ttl=56 time=15.750 ms
      64 bytes from 8.8.8.8: icmp_seq=136 ttl=56 time=16.775 ms
      64 bytes from 8.8.8.8: icmp_seq=137 ttl=56 time=15.985 ms
      64 bytes from 8.8.8.8: icmp_seq=138 ttl=56 time=16.138 ms
      64 bytes from 8.8.8.8: icmp_seq=139 ttl=56 time=16.307 ms
      64 bytes from 8.8.8.8: icmp_seq=140 ttl=56 time=15.827 ms
      64 bytes from 8.8.8.8: icmp_seq=141 ttl=56 time=15.416 ms
      64 bytes from 8.8.8.8: icmp_seq=142 ttl=56 time=15.807 ms
      64 bytes from 8.8.8.8: icmp_seq=143 ttl=56 time=16.515 ms
      Request timeout for icmp_seq 144
      Request timeout for icmp_seq 145
      Request timeout for icmp_seq 146
      Request timeout for icmp_seq 147
      Request timeout for icmp_seq 148
      Request timeout for icmp_seq 149
      

      Upon inspection of the DHCP server in ONOS, it appears to have assigned the same IP address (10.1.11.55) to two different hosts:

      onos> hosts  | grep 10.1.11.55
      id=34:36:3B:C9:B6:A6/-1, mac=34:36:3B:C9:B6:A6, location=of:0000010001010212/48, vlan=-1, ip(s)=[10.1.11.55]
      id=FC:C2:DE:B8:EF:E5/-1, mac=FC:C2:DE:B8:EF:E5, location=of:0000010001010212/48, vlan=-1, ip(s)=[10.1.11.55]
      onos> hosts  | grep 10.1.11.55
      id=34:36:3B:C9:B6:A6/-1, mac=34:36:3B:C9:B6:A6, location=of:0000010001010212/48, vlan=-1, ip(s)=[10.1.11.55]
      id=FC:C2:DE:B8:EF:E5/-1, mac=FC:C2:DE:B8:EF:E5, location=of:0000010001010212/48, vlan=-1, ip(s)=[10.1.11.55]
      onos> dhcp-
      dhcp-lease                    dhcp-list
      dhcp-remove-static-mapping    dhcp-set-static-mapping
      onos> dhcp-l
      dhcp-lease    dhcp-list
      onos> dhcp-lease
      Lease Time: 300s
      Renewal Time: 150s
      Rebinding Time: 200s
      onos> dhcp-list
      MAC ID: F8:A9:D0:3F:42:62/-1 -> IP ASSIGNED 10.1.11.67
      MAC ID: FC:C2:DE:B8:EF:E5/-1 -> IP ASSIGNED 10.1.11.55
      MAC ID: 34:36:3B:C9:B6:A6/-1 -> IP ASSIGNED 10.1.11.55
      MAC ID: 34:23:BA:A5:0C:3B/-1 -> IP ASSIGNED 10.1.11.53
      MAC ID: 20:A2:E4:C4:47:C8/-1 -> IP ASSIGNED 10.1.11.65
      MAC ID: 6C:71:D9:CB:CA:68/-1 -> IP ASSIGNED 10.1.11.66
      MAC ID: 78:31:C1:C1:19:4A/-1 -> IP ASSIGNED 10.1.11.52
      MAC ID: 60:03:08:A9:82:20/-1 -> IP ASSIGNED 10.1.11.54
      

        Attachments

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

          Activity

            People

            Assignee:
            sam Samanwita Pal
            Reporter:
            jono Jonathan Hart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: