VMware Cloud Community
stewharr
Contributor
Contributor

Staticall assigning IP in kickstart discovered from DHCP

In ESXi 5.1 and 5.5 kickstarts I would like to discover the IP of the host via DHCP, then statically assign it to the Management Interface for the host.  Any tips on how I can accomplish this?  Thanks.

0 Kudos
2 Replies
vfk
Expert
Expert

William Lam has a good write up regarding kickstart scripts, check the following links VMware Kickstart | virtuallyGhetto

Keep in mind that you have to reserve the IP addresses on your dhcp servers for each esxi host.

--- If you found this or any other answer helpful, please consider the use of the Helpful or Correct buttons to award points. vfk Systems Manager / Technical Architect VCP5-DCV, VCAP5-DCA, vExpert, ITILv3, CCNA, MCP
0 Kudos
markdjones82
Expert
Expert

You are trying for the host to get the IP from DHCP to get the kickstart file, but then you want the host to switch to using static IP?  What would be wrong with using DHCP on the hosts themselves?  With reservations this shouldn't be a problem and would be the most efficient way.

Please mark helpful if this provided any help

http://www.twitter.com/markdjones82 | http://nutzandbolts.wordpress.com
0 Kudos