Automation

 View Only
Expand all | Collapse all

Failed to configure DHCP server error

  • 1.  Failed to configure DHCP server error

    Posted Nov 07, 2013 08:13 PM

    Hi folks,

    I am setting a static IP address for one of my VMs and the following commands actually did set the IP information as desired but still generated an error related to DHCP at the PowerCLI prompt (attached).

    I only have one Network Interface in my VM.

    $GuestInterface = Get-VMGuestNetworkInterface -VM WDS -GuestUser Administrator -GuestPassword testpassword

    Set-VMGuestNetworkInterface -VMGuestNetworkInterface $GuestInterface -GuestUser Administrator -GuestPassword testpassword -IPPolicy static -IP 192.168.1.96 -Netmask 255.255.255.0 -Gateway 192.168.1.1 -DNS 192.168.1.200

    Checking if anyone has any suggestions as to what may have gone wrong?

    Thanks,

    romatlo



  • 2.  RE: Failed to configure DHCP server error

    Posted Nov 07, 2013 08:34 PM

    Which OS is running inside the VM ?



  • 3.  RE: Failed to configure DHCP server error

    Posted Nov 07, 2013 08:37 PM

    Windows Server 2008 R2 SP1