[Webinar] Streamline your web hosting managementRegister Today

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

vmware esxi vswitch setup

there is 2 physical nic on my server. By default, there was only one nic (vmnic0)  in vswitch0, all my vms were in the "virtual machine port" under "vswitch0". I made some modification as below, does it make sense? (I create another vswitch called vswitch1, added another physical nic and then moved all my vm to the new switch)  will I benifit from the setting below comapre with the default setting?

vswitch
0
okamon
Asked:
okamon
  • 6
  • 6
4 Solutions
 
Paul SolovyovskySenior IT AdvisorCommented:
I would keep the management and vm network on the same vswtich with only two nics, this is because one nic failing will either cause your VMs to stop access to the network ro access to the management port.  If you have 4 nics then it would be preferred to have 2 port per vswitch and you can purchase 2 or 4 port network card cheaply.
0
 
okamonAuthor Commented:
thanks paulsolov. Actually I have another server with 4 ports. So I can do exactly the same as above, but leave vmnic0 and vmnic1 under vswitch0 and vswitch3 and vswitch4 under vswitch1? and besides this, what other configuration do I need to make? I think by default with the new vswitch the fault torelrant and load balance are not enabled right?
and do I have to make any change on my physical switch?

2nd question,  is the nic teaming required here?
0
 
Paul SolovyovskySenior IT AdvisorCommented:
If you use fault tolerance you would want a separate vswitch and separate vlan/subnet

If you have two 2 port nics I would take one port from each nic..so vmnic 0 and vmnic 2 on vswitch 0 and vmnic 1 and vmnic 3 for vswitch 1.  For standalone hosts I don't do the advanced configuration such as load balancing, trunking (unless vlans are already in place), etc..  Keep it simple
0
The 14th Annual Expert Award Winners

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

 
okamonAuthor Commented:
>>If you have two 2 port nics I would take one port from each nic..so vmnic 0 and vmnic 2 on vswitch 0 and vmnic 1 and vmnic 3 for vswitch 1

two ports? or you were trying to say 4 ports? and why it has to be "vmnic 0 and vmnic 2 on vswitch 0 and vmnic 1 and vmnic 3 for vswitch 1" can it be "vmnic 0 and vmnic 1 on vswitch 0 and vmnic 2 and vmnic 3 for vswitch 1"

and after I created 2nd vswitch and assigned the nic. I don't need to go into property and make any change? so the setting here is just for fault tolerance not load balancing correct?
0
 
Paul SolovyovskySenior IT AdvisorCommented:
If you have 2 physical nics with 2 ports it would make more sense to have 1 port on each nic going to each vswitch.  Therefore if one of the nics fails you still have full connectivity.
0
 
okamonAuthor Commented:
I am not sure what you mean 2 physical nics with 2 ports... usually 1 physical nic has 1 network port

I think you missed some of my questions above. my questions was
- why it has to be "vmnic 0 and vmnic 2 on vswitch 0 and vmnic 1 and vmnic 3 for vswitch 1" can it be "vmnic 0 and vmnic 1 on vswitch 0 and vmnic 2 and vmnic 3 for vswitch 1"

- after I created 2nd vswitch and assigned the nic. I don't need to go into property and make any change? so the setting here is just for fault tolerance not load balancing correct?
0
 
okamonAuthor Commented:
here is my setting for my 4 physical ports server. Please let me know if there any suggestion.
and I am not sure why one of the nic inside vswitch1 not shown as "Stand by"....?

vmswitch
0
 
Paul SolovyovskySenior IT AdvisorCommented:
that will work fine.  I was trying to make a point that if you have several network cards it's better to take a port from each network card so that if one of the network card fails it will not cause any of the vswitches to go become inaccessible.

You should also make vswitch 0 active/active, there is no reason to make it active/standby, I would also remove "VM Network" port group since you have a Production port group on vswitch 1 already
0
 
okamonAuthor Commented:
Thanks. And can you tell me why has to be "vmnic 0 and vmnic 2 on vswitch 0 and vmnic 1 and vmnic 3 for vswitch 1" can it be "vmnic 0 and vmnic 1 on vswitch 0 and vmnic 2 and vmnic 3 for vswitch 1" Did you do this on purpose?

I know vmware suggest to separate the management network from vm network, but I am not sure what is the advantage of doing this as if I still have them all on the vswitch0, there is still fault-torelant. Can you please explain to me?
0
 
Paul SolovyovskySenior IT AdvisorCommented:
I did not.  Usually if you have more than one network card they're sequential so network card 1 would be vmnic 0 and vmnic 1 and network card 2 would be vmnic 2 and vmnic 3.  Therefore it would be recommended for 0 and 2 to be on one vswitch and 1 and 3 on the another.  Actual placement will vary depending on configuration
0
 
okamonAuthor Commented:
Thanks. I guess you are talking about a physical network card with 2 ports on it..
I will appreciate it if you can also answer my last question in my last post.
0
 
Paul SolovyovskySenior IT AdvisorCommented:
The advantage of seperating the management network on its own vswitch is that each vswitch has its own IP Stack.  If there is an issue with the IP stack and you have your VMs and management on the same vswitch you will lose both your management and your VMs.  By segregating them on separate vswitches you minimize the chances of both going down
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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