VLANs networks receiving IPs from DHCP by a Windows Server running on ESXI 5.5

I would like to know the best practice to distribuite IPs by windows server DHCP for a multiple VLAN environment using Vmware ESXI 5.5?

The switch interface that is connected to the ESXI server is in trunk mode.

I made a home lab to test this and worked, but I don´t think that this is the "correct" way. This is what I did:

- Lan with vlan 10 (
- Lan with vlan 20 (
- Lan with vlan 30 (

With a virtualized windows server in ESXi I installed 3 network cards in windows, and installed DHCP server with 3 scopes.
- nic 1 = (assigned with VM NETWORK VLAN 10)
- nic 2 = (assigned with VM NETWORK VLAN 20)
- nic 3 = (assigned with VM NETWORK VLAN 30)

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AkinsdNetwork AdministratorCommented:
If you meant standard practice, then yes

In other to pass multiple vlans through a switched connection, the switchport must be in trunk mode.

Also noteworthy is the fact that configuration decisions are based on preference.
That's why it is important to have a goal, then meet it.

As such, there is no correct or incorrect way if the design is working.
Bryant SchaperCommented:
This will work for a lab, but ideally you would use an IP Helper on your router to forward the DHCP requests to your DHCP router. on a cisco for example, ip helper-address x.x.x.x

What this does is encapsulates the broadcast to it can be sent over an ip network, the DHCP server, assuming sites and services has the subnets assigned, sees the source interface of the router and returns an IP on that network.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
edu87Author Commented:
I did the setup on my Cisco SG300 by enabling the DHCP Server Relay and pointing to my Windows Server DHCP  and worked perfectly.

I dont´t know if is just the switch SG300 Cisco, but I did not need to enable IP HELPER feature. Just made the settings of DHCP Server Relay following this tutorial and now is working ok:

Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

AkinsdNetwork AdministratorCommented:
IP-Helper Address (Cisco command) = DHCP relay

I would like to know the best practice to distribuite IPs by windows server DHCP for a multiple VLAN environment using Vmware ESXI 5.5?
= Trunking
Bryant SchaperCommented:
That works too, I think you would have to use the ip helper-address if your were crossing a router edge
edu87Author Commented:

I think SG300 is a little bit different:

But there is one option for Ip Helper, and I didn´t understand why I don´t needed to set it:

Bryant SchaperCommented:
the commands are similar but not the same.  DHCP relay handles DHCP, ip helper handles broadcast, which DHCP is, so you could send other broadcast traffic across as well like, dns, tftp and netbios.
edu87Author Commented:
I tryed to set the IP helper with port 67, and a message says that DHCP is already reserved. So I assume that in this case I must use the DHCP Relay.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.