[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 922
  • Last Modified:

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

Help,
I am trying to set up a second vSwitch (vSwitch 1) to use private 192.168.0.0 IP.  Need to use for MS Network Load Balancing.

vSwitch0 is set up on a 10.0.0.0 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.
0
Conrad_Bel
Asked:
Conrad_Bel
  • 3
  • 2
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
 
Conrad_BelAuthor Commented:
I am load balancing VM's.  I am trying to set up a second NIC on my 2 VM's with a 192 address.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
 
Conrad_BelAuthor Commented:
Thanks very much for your input and advise.  I was able to add a second portgroup without adding the NIC.  This solved my issue.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Very good glad to help.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now