Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-6241

Dnsmasq programming error when deploy IPv6 and IPv4 in one VM with IPv4 as default network

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.2.0, 4.3.0, 4.4.0
    • 4.4.0
    • Virtual Router
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      If one VM is created with both IPv4 and IPv6 network, and use IPv4 network as default network, then the programming of IPv6 network would be wrong in the VR.
      Deploying Vm with a multiple NIC's when mixing IPv4/IPv6 networks results in incorrect entries
      in /etc/dhcphosts.txt on VR's. As a consequence dnsmasq doesn't provide IPv6 addresses in that case.
      Below is a content of /etc/dhcphosts.txt on one of the VR's after spinning 2 VM's. First one had a 3 NIC's -
      one of them IPv4. Second 2 NIC's - only IPv6. As You can see first entry in incorrectly formatted.
      06:aa:38:05:48:2d,set:,,vm-test1,infinite
      id:00:03:00:01:06:d8:fa:05:48:31,[3ffe:a1ca:c10d:1:3333:3333:3333:3335],vm-test2,infinite

      Create 3 shared networks - one ipv4 only and two ipv6 only
      Deploy VM with two NIC's in two ipv6 networks above
      Observe, that everything works as expected
      Deploy VM with 3 NIC's in all of the above defined networks, first NIC in ipv4
      network
      Observe that NIC's in ipv6 networks didn't get IP@ assigned,
      content of dhcphosts.txt on VR's serving ipv6 networks is incorrect.

      Attachments

        Activity

          People

            yasker Sheng Yang
            yasker Sheng Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: