VMware Cloud Community
j8177e5
Contributor
Contributor

DHCP on ESXi

Hi Everyone,

I am fairly new to VMWare and just started playing around with ESXi. I have installed and configured ESXi on a server in our office. Is there a way to have ESXi provide DHCP to all new virtua machines I create? In our office, we have three VLANs (192.168.1.0, 192.168.2.0, 192.168.3.0). We also have a DHCP server that assign IP addresses for the 192.168.1.0 network. The ESXi server is on the 192.168.3.0 network. Right now all virtual machines are being assigned addresses in the 192.168.1.0 network. Can ESXi assign addresses for the x.x.3.0 network?

0 Kudos
2 Replies
Dave_Mishchenko
Immortal
Immortal

Welcome to the VMware Community forums. ESXi doesn't have any built in DHCP functionality. The virtual switches you create are pretty much like physical switches. Typically you would set up DHCP relay or you could setup a firewall VM on all 3 subnets that provides this.




Dave

VMware Communities User Moderator

New book in town - vSphere Quick Start Guide -http://www.yellow-bricks.com/2009/08/12/new-book-in-town-vsphere-quick-start-guide/.

Do you have a system or PCI card working with VMDirectPath? Submit your specs to the Unofficial VMDirectPath HCL - http://www.vm-help.com/forum/viewforum.php?f=21.

0 Kudos
J1mbo
Virtuoso
Virtuoso

Do you mean that there are 3 VLANs, or that there are three subnets which are all running over a single broadcast domain?

Once the VMs are within their own broadcast domain, BOOTP forwrding will provide what you are looking for - requires configuration of router/firewall to provide the forwarding, and new BOOTP zones on the DHCP server.

Please award points to any useful answer.

0 Kudos