VMware Cloud Community
thebrown1
Contributor
Contributor

Need to setup DHCP, DNS in my VMware environment

I am trying to setup a private network on my VMware environment, this is for testing purposes only, I am studying for my MCSA/MCSE certs.

VMware ESXi 5.0 and using vSphere Client

Have a SonicWall Firewall that is enabled as a passthrough

SBS 2008 with DHCP enabled (not in the VMware environment)

VMWare environment:

  1. O.S. 2 Windows Server 2003 std (1 to be assigned as a Domain Controller with DNS / the other will just join the domain )
  2. I only have 1 physical NIC installed on my VMware machine

I want to have DHCP enabled within my VMware environment without conflicting with my private LAN. I understand that I need to have 2 virtual NIC's on my vitrual servers. I know that I am supposed to use the vSphere Client, highlight the virtual Server name on the left hand side, click on "Edit Settings", click on "Add", choose "Ethernet Adapter", and click "Next". The point I am stuck at is in the "Network Connection" part with the drop down menu, all that is avaliable to me is "VM Network" and "Connect at power on" is checked. I am confused on this part as I am still new to using VMware. Can someone please help me with how I am to configure my secondary NIC's so they run on their own private LAN so I can setup my testing environment and run DHCP, DNS without causing issues on our LAN?

Thank you in advance for the help.

Reply
0 Kudos
2 Replies
RDPetruska
Leadership
Leadership

Thread moved from VMware Server 2 to VMware ESXi 5

Reply
0 Kudos
Virtualinfra
Commander
Commander

thebrown1 wrote:

I want to have DHCP enabled within my VMware environment without conflicting with my private LAN. I understand that I need to have 2 virtual NIC's on my vitrual servers. I know that I am supposed to use the vSphere Client, highlight the virtual Server name on the left hand side, click on "Edit Settings", click on "Add", choose "Ethernet Adapter", and click "Next". The point I am stuck at is in the "Network Connection" part with the drop down menu, all that is avaliable to me is "VM Network" and "Connect at power on" is checked. I am confused on this part as I am still new to using VMware. Can someone please help me with how I am to configure my secondary NIC's so they run on their own private LAN so I can setup my testing environment and run DHCP, DNS without causing issues on our LAN?

Thank you in advance for the help.

Welcome to this community

Imagine you have physical server and it has got 2 NIC. 1 Nic has to comfigured with DHCP and another nic has to configured with DHCP.

So both the nic has to be connected to the same physical switch in NIC with DHCP has to go to VLAN that is configured for DHCP and another one to private vLAN. So the NIC configured with DHCP will take DHCP IP and the NIC configures with static will work as it is.

Now consider the same in virtual environment,, you need to create 2 virtual machine port group, 1 for VM network DHCP and another 1 for VM Network Private vlan.

For creating multiple port group, click on esxi host and go to configuration and select networking and clikc edit setting on the vswitch and add new port group for DHCP and the esxi host physical should have visible to DHCP VLAN in physical swithc so that it send packet to DHCP server.\\

Once you do this now you will get 2 option under editsetting and network adapter in that tab 1 for VLAN with DHCP and another one for private vlan. you need create this in virtual switch in vmware environment then only you will get that.

What ever the concept is applicable for physicall server and physical switch same is applicable here also.

Award points for the helpful and correct answer by clicking the below tab:)

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0
Reply
0 Kudos