Error: "A duplicate IP address was assigned" on Provisioning Server Target Devices

Error: "A duplicate IP address was assigned" on Provisioning Server Target Devices

book

Article ID: CTX200036

calendar_today

Updated On:

Description

Two IP addresses are assigned to individual PVS target devices streaming network adapters.
The behavior can occur on every boot, or intermittently.

 

Background

This can occur in environments with DHCP solutions which may assign different IP addresses to individual target devices, at pxe dhcp request stage and the subsequent windows dhcp request.
Expected behavior for PVS environments
  1. PVS target begins booting, PXE dhcp request receives an IP address, and this is used by PVS bootstrap
  2. PVS bootstrap injects this IP address into windows so switch from single IO to multi IO continues using this IP address.
  3. PVS target finishes booting, windows dhcp client completes a dhcp request, and should receive the same IP address as PXE dhcp request.
Undesired behavior
  • At step 3, windows dhcp request is supplied with a different IP address than PXE dhcp request, and results in streaming network adapter having both IP addresses.

 

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

To resolve this issue, depending on the source of the behavior, the following options can be implemented

  • Configure the DHCP servers for failover
  • DHCP reservations
    • Applicable if problem source was split scope, or infoblox
  • Contact InfoBlox to upgrade the InfoBlox DHCP Server.
    • Applicable only to infoblox dhcp solutions

Problem Cause

Any environmental DHCP solution which can supply 2 different ip addresses to a single pvs target device, at pxe dhcp request stage and windows dhcp request stage, can result in PVS targets having 2 ip address assigned to a single network adapter.


DHCP solution using split scopes

There is no method to ensure only one dhcp server will respond to dhcp request from individual target devices.
This will allow target devices to recieve different ip address at pxe dhcp request stage, and the windows dhcp request stage, and result in 2 ip addresses.
Configuring dhcp server ipv4 scope advanced options to include a delay does not prevent double ip addresses, and is not a suitable configuration, split scope remains unsupportted for PVS environments.


DHCP solution InfoBlox

InfoBlox assigns IP addresses based on DHCP discover/requests and includes the Client Identifier (UID) in the DHCP packet. 

  1. PXE boot does not populate DHCP packets with the UID (PXE implementation is independent on PVS design)
  2. Windows populates the Client Identifier field.
  3. Different IP addresses to be assigned by the InfoBlox device during the pxe dhcp request stage and windows dhcp request stage.

PVS does not support IP change, at any stage for a target device over individual boot cycles.

PVS uses the technology that exists for machines to PXE boot (It is probably outside of PXE boot specification to populate the Client Identifier field).

 

InfoBlox Feedback:

An additional feature was implemented in NIOS 6.6. The feature "ignore uid" allows DHCP to provide a lease irrespective of the client's UID. As the PXE boot does not have a UID and the DHCP lease, once the OS is running and has a lease the machine gets two separate IPs unless the "ignore uid" feature is enabled. This is not possible to implement on 6.4.9 and 6.4.10 and requires an upgrade to at least 6.6, preferably 6.6.10. It is also required to review the admin guide on limitations of this feature with regards to DHCP fail over if this is being used because ignore UID can only be set on a member or grid level. 

Issue/Introduction

This article provides a resolution for the error "A duplicate IP address was assigned” that occurs on Provisioning Server Target devices.

Additional Information

Network Trace Investigation

  • Capture network traces for source or destination ports 67 and 68.

  • Use Wireshark filter to see traffic with client identifier populated:
    bootp.option.type == 61