Solved

Network configuration recommended for ESX networking in Physical switch

Posted on 2011-03-16
5
1,026 Views
Last Modified: 2012-05-11
Hi there,

This questions is for the optimal configuration required for Vsphere virtual switch's Network Load balancing.  consider this environment:

2 Nexus 5010 switches (all supporting 10 GB ports)
Virtual switch which is used for VMport group and virtual machine port groups using two 10 GB uplinks using VLAN tagging
Each 10 GB uplink on the Vswitch is connected individually to the two Nexus switches
Nexus switches are uplinked using 2 x 10 GB port channel

The question are the following:

1 How should be the end port for the Uplinks used on the vSwitch be configured as on the physical switch?  should that be configured as an " access port",  " Trunk".   As in this scenario each 10 GB uplink from the virtual switch would be connected to the two different switches.
2  If both the uplinks are connected to a single physical switch,   how should they be configured on the phyiscal switch ?  should they be configured as "Trunk",  "Access" or "LACP" or "etherchannel"
3 If the ports on the physical switch are configured as "LACP" or "etherchannel" should the Network Load Balancing on the virtual switch be left to the default policy of "Port ID using the orginating port ID",  would the "LACP" configured on the physical switch work without using "IP hash" policy on the virtual switch
4  Can the virtual switch be configured with "Port ID using originating port ID" and still the end ports configured for channel group in the physical switch.
5  Considering the same virtual switch configuration and a physical switch, which only has a 10 GB uplinks and no 10 GB access ports,  can the uplinks used with the vSwitch be connected to the 10 GB uplink port on the physical switch.  would it work with that configuration.

0
Comment
Question by:Jaydeep_verma
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:lrpage
Comment Utility
I am not a switch guru but here is the configs we use for our esx on our nexus 5020 switch.  Most of these settings I either got from support from cisco or vmware when I asked similar questions.

switchport mode trunk
switchport trunk allowed vlan 116-400
no cdp enable
spanning-tree port type edge trunk
duplex full

we have vlans from 116-400 so we limit that
0
 
LVL 3

Author Comment

by:Jaydeep_verma
Comment Utility
Thanks Irpage...    So considering your configuration where the endports are configured as Trunk,  what is the Network Load balancing that you have configured on teh virtual switch? is that "originating port ID".    In your configuration does all the vSwitch uplinks go to a single Nexus 5020 switch or two switches and the wires being crisscrossed,   if so what is the LAG that you are using between the switches?

Just of curiousity do you know if a port channel group can be done on the physical switch for the vSwitch upliinks and if done so would it work with the Network Load Balancing feature of "originating port id"
0
 
LVL 3

Accepted Solution

by:
lrpage earned 500 total points
Comment Utility
sorry not a cisco guy just know those are the settings we have and they work.  They might not be optimal but they are effective
0
 
LVL 3

Author Comment

by:Jaydeep_verma
Comment Utility
Well I am not doubting that your configuration is wrong and I am very much aware that it is possible to have it that ways.     The question actually is not a pure Cisco question but configuraiton of Vmware uplinks on a Cisco switch.

This is required as the ESX nics that are used on the vSwitch are all essentially uplinks and they cannot be connected as just an access port on the physical switch.   I am aware that the port can be confirgured as a trunk with VLAN tagging but need to know if the end ports can also be confgured as channel port groups and what would be the Load Balancing configured on the vSwitch in that case.
0
 
LVL 3

Author Closing Comment

by:Jaydeep_verma
Comment Utility
It sure was helpful to get the configuration
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now