Help Setting Up Second Subnet on 2nd NIC ESXi 5.0  Vcenter 5.0 Private IP

Posted on 2014-01-13
Medium Priority
Last Modified: 2014-01-14
I am trying to set up a second vSwitch (vSwitch 1) to use private IP.  Need to use for MS Network Load Balancing.

vSwitch0 is set up on a network and we are using DNS and routing.

What is the best way to go about this?  What needs to be set up in vCenter and the host and what needs to be set up on the switch to make this work.
Question by:Conrad_Bel
  • 3
  • 2
LVL 126
ID: 39777333
What are you Load Balancing, VMs?

IP Addresses are only setup on the Host, for Management Networks and VMKernel Portgroups.

The vSwitch is like a physical switch, the traffic will pass through to the correct network, depending on what physical network uplinks you give it.

IP Addresses are allocated to VMs, which are connected to a vSwitch, which uplinks via physical nics, are connected to a physical switch.

Author Comment

ID: 39777982
I am load balancing VM's.  I am trying to set up a second NIC on my 2 VM's with a 192 address.
LVL 126

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 39778005
Okay, if you are wanting to really isolated the traffic for the 2nd NIC.

Create a new vSwitch, it does not have to have any physical network interfaces attached to this vSwitch.

But what it does need, is a new Virtual Machine Portgroup ,e.g. called 192 Network.

Then in the VM, add a new network interface and select the 192 Network,  Network Label.

Traffic on the 192 network will just commincate between the two VMs on this network, and private vSwitch.

if you need traffic to reach this private network from outside the host, you will need to connect physical network interfaces to the new vSwitch.

(you could use the existing Virtual Machine Network if you wanted, because 10 and 192, are not going to conflict with each other, because on different network subnets, so both 10 and 192 traffic could be on the same network).

If you want to isolate traffic see above.

Author Comment

ID: 39780900
Thanks very much for your input and advise.  I was able to add a second portgroup without adding the NIC.  This solved my issue.
LVL 126
ID: 39780913
Very good glad to help.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
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:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSpā€¦
Suggested Courses

627 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