Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-135

controller dhcp-service not run when controller-dhcp-enabled=false

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Boron
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 6693

    Description

      Currently, the default implementation for DHCP server is not using the controller (controller-dhcp-enabled=false by default). The flag only affected the rules, but didn't disable the DHCP service itself. Therefore if a DHCP packet is somehow punted to the controller, the dhcpservice will handle it and even respond. This can probably cause severe IP conflicts.

      Until https://git.opendaylight.org/gerrit/#/c/44785/ is merged, this constantly happens when the DHCP packets are reaching table=46 (PNAT), and therefore punted to the controller by mistake. This causes the controller DHCP server to respond to them.

      Probably need to implement the following:
      1. The DHCP Server should only respond to DHCP requests punted from its table. DHCP requests arriving from other tables should be ignored.
      2. The DHCP server should not run at all when the controller-dhcp-enabled flag is false)

      Attachments

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

        Activity

          People

            ravit.peretz@hpe.com Ravit Peretz
            koby.aizer@hpe.com Koby Aizer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: