Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


ESXi configuration question

Posted on 2010-01-12
Medium Priority
Last Modified: 2012-05-08
Hello all!

I'm new to the whole VM movement and have been doing some testing and wanted to know on a configuration issue.  I have ESXi 4.0 installed on a host machine.  The host machine has four built-in nics.  When connecting nic1 in the switch, the host machine gets a ip address from the dhcp server.  I'm all good up until here.  On the host I can set an static ip address.  If the host gets an ip of from dhcp, should I set the host static ip to what?  Something like  I've read something about have the "management console" on a different subnet.  What nic is assigned to the management console and do I need a management console nic if I do not intend to use vSphere?

Assuming I do set the host ip to, and I create a VM of W3K to test, do I connect nic2 and give the VM-W3K an ip address of 192.168.1.x on nic1 or nic2?  How do I assign a VM to a physical nic?

Am I making any sense?

Thanks for your patience.
Question by:braman1

Expert Comment

ID: 26295617
You can open virtual network settings  assign the physical adapter to say  vmnet02 then on the actually virtual machine choose vmnet02 as the adapter.
LVL 24

Accepted Solution

ryder0707 earned 2000 total points
ID: 26301410
For the host and all the VMs in it, you dont actually assign IP to NIC(s) directly

For the host, you assign static IP to a virtual network adapter, for example in esxi, the vmkernel port is the virtual network adapter, if you assign IP address to this adapter(from the console after you've installed it you choose "Configure Management Network), you dont actually assign an IP address to the physical NIC but to a virtual adapter and this virtual adapter will be connected to a virtual switch called vSwitch0
You can also have multiple NICs on the same vSwitch0, in this case you are creating load balancing setup for the virtual network adapter(vmkernel port)

In the same vSwitch0, you will have VM port group, this is normally labeled as VM network or you can rename it to whatever name you like such as prodLAN, for each VM you created in the esx host, you need to assign at least one virtual network adapter and choose from the available network to connect to, in this case is prodLAN, the port group for VMs(many VMs can use the same group)
So after you installed the guest OS, you can set the ip address manually for the virtual network adapter or set it to obtain automatically from DCHP if you have one in your physical network

So to summarize, since prodLAN and vmkernel port is connected to the same vSwitch0 and to the same physical NIC(s) whatever network that physical NIC(s) is/are connected to will become available to the host and VMs

So you see, you dont actually assign any IP address to physical NIC(s) directly, well its virtual rite?

Get it?


Author Closing Comment

ID: 31676196
After reading both responses and viewing the VMware webinar, I believe your response had more detail and followed true to the webinar demo.


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question