ESXi

 View Only
Expand all | Collapse all

ESXi DHCP disable

  • 1.  ESXi DHCP disable

    Posted Jul 22, 2011 12:58 PM

    Hi,

    i installed the latest ESXi (Free Version) on my Host.

    Can anybody tell me, how i can disable the DHCP Service on the Host?

    by

    Tobi



  • 2.  RE: ESXi DHCP disable

    Broadcom Employee
    Posted Jul 22, 2011 01:02 PM

    Welcome to the Communities.

    Do you have two option.

    Use DHCP, or use Static IP.

    To change DCHP to Static IP. go to local console > F2 > Login > Configure Management Network > IP Configuration > Check Set static IP addrress and network configuration.


    Please, don't forget the awarding points for "helpful" and/or "correct" answers. 

    Mauro Bonder - Moderator



  • 3.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 01:04 PM

    ESXi does not have a DHCP Server role.  If you are getting a DHCP address, that means your management network is housed on a DHCP segment.



  • 4.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 06:07 PM

    Hi,

    i think i wrote the answer false.

    the guests are getting a ip-address from the dhcp server, this should not be.

    So i want to disable that any guest get a ip from dhcp automatic.

    by

    tobi



  • 5.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 06:10 PM

    Either configure static IP settings within the VMs or attach them to a vSwitch/network for which you didn't define a scope on the DHCP server.

    André



  • 6.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 06:13 PM

    Hi,

    and how can i change this so that i does not get a DHCP IP?

    by

    tobi



  • 7.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 06:18 PM

    The default for most operating system installs is to use DHCP. There is no way to disable this from the ESXi host. If the guest OS is set to DHCP and DHCP is available on the network the guest will pick up an address.



  • 8.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 06:24 PM

    Check your network switch to see if it can block DHCP requests.



  • 9.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 06:54 PM

    hi,

    i have a guest which have a pxe server installed on it.

    whit this i want install a new guest. but the guest get no anwer

    i think this is dhcp or don´t you think so?



  • 10.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 07:16 PM

    PXE relies on DHCP, however that does not necessarily mean these two services have to be installed on the same system. Easiest way is to see which services rare running on the PXE system.

    André



  • 11.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 07:19 PM

    Please provide a more complete description of what you need to do. PXE installs depend on DHCP so ????



  • 12.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 07:30 PM

    Hi,

    i create a guest with a pxe system on it, there is also a dhcp server included.

    from this host i want to install guests on the esxi host system and dedicated roots outside from esxi.

    now i want to install a guest with pxe but he doesn´t get a reply from the pxe-system

    this is why i want to disable the dhcp-server on the host-system

    what is to do



  • 13.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 07:37 PM

    Just to make sure I understand this correctly. You have two DHCP servers on your network!?

    In this case I would create a new vSwitch (without any uplinks to a physical switch) and connect the PXE server as well as the clients you want to install to this vSwitch. This way you can make sure the client gets an address from the PXE-DHCP. Once installed reconfigure the clients and attach them to the production vSwitch(es).

    André



  • 14.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 07:50 PM

    Hi,

    on the pxe dhcp must run.

    But i think on esxi ist also dhcp activ, because all installations von guest, eg debian, get an dhcp adress from the esxi host.

    that is what i think.

    why the guest does not get a pxe answer i don´t know. so i think this must be the dhcp from the host



  • 15.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 08:11 PM

    As mentioned earlier by DSTAVERT, the ESXi host does not provide DHCP.

    So either there's another DHCP server on your network which answers faster than your VM or the DHCP server on the PXE server is not configured correctly. I'd suggest you configure e.g. a Windows VM for DHCP and then run ipconfig /all to see which DHCP server provided the IP settings.

    Btw. which error message do you get? Is it "No DHCP or proxy offer received" or "No boot filename received"?

    André



  • 16.  RE: ESXi DHCP disable

    Posted Jul 22, 2011 07:39 PM

    ESXi does not provide DHCP so it isn't possible to disable it. As mentioned earlier you might look at creating an isolated network specifically for creating guests. You may be able to disable the PXE server DHCP service and use your network DHCP service.