?
Solved

Can't add additional LAN NIC to vswitch in ESX 4.0

Posted on 2011-05-09
17
Medium Priority
?
811 Views
Last Modified: 2012-05-11
Hello Experts;

I'm having an issue with one of my ESX servers boxes.

I have upgraded the NICs on one server and I want to add additional NIC to the LAN Switch for redundancy.

I added the NIC successfully, but as soon as plug the LAN cable to it, I will lose the connection connections and when I ping the server I get request timed out. I have to go and physically unplug the LAN cable out of the second NIC that I added  to make it work.  

I don't have any vlans or subnets so I can say it's conflicting


Any Idea why this is happening???

Thanks

Adam
0
Comment
Question by:atigris
  • 10
  • 7
17 Comments
 
LVL 124
ID: 35724268
You need to configure the switch if you are adding two physical NICs from the vSwitch to a physical switch.

Take a look at the knowledge base article http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004048

It covers etherchannel as well as other network connectivity options for ESX/ESXi

If both of the VM hosts have two nics going to the same vlan on the same switch you need to make both active with load balance based on IP hash on each vm esx host. You need to configure a port channel on the physical switch that spans the two ports for one of the vms, then configure another port channel for the other esx(i) host. If using a single vlan switchport mode can be access, if using vlans you will need mode trunk.
0
 
LVL 124
ID: 35724285
The only supported algorithm for load balancing traffic across multiple NICs between VMware's NIC Teaming is using “Route based on IP hash”

In VMWare, edit the vSwitch Properties, select NIC Teaming and change Load Balancing to Route based on IP hash"

and then you need to make some physical switch configuration changes for etherchannel, or aggreate ports, or channel group, it depends on the switch.
0
 
LVL 2

Author Comment

by:atigris
ID: 35724326
okay, Thanks for the quick reply.

in my case, all switches are on the same subnet, we are not using vlans. What configuration I need to do beside assigning the nic to the right vswitch?.

Thanks

Adam
0
A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

 
LVL 124
ID: 35724337
its the same, you are connecting two nics to the same physical network.

what is your switch?
0
 
LVL 124
ID: 35724344
you need to make changes to your virtual switch properties and changes on your switch configuration.
0
 
LVL 124
ID: 35724351
is it connectef to a managed switch?
0
 
LVL 2

Author Comment

by:atigris
ID: 35724370
The switches are unmanaged. I want to add the second NIC and connected to the other switch that I have for redundancy.

What additional configuration I should make?
0
 
LVL 124
ID: 35724388
if they are unmanaged switches you cannot configure them.

you need to create channel groups between two ports on the switch, Cisco, HP managed switches have these features.

you could try changing the virtual switch properties, ip hash and test
0
 
LVL 124
ID: 35724405
If you have an unmanaged switch, you would load balance based on virtual port id.

Check this on the virtual switch.
0
 
LVL 2

Author Comment

by:atigris
ID: 35724444
I was going to say you are wrong on this, but yes.  just checked the config on another client and it's set that way.

 NIcs
This is the default setup, why it does not work for me?
0
 
LVL 124
ID: 35724458
You are connecting two NICs, to different unmanaged switches?

Correct?
0
 
LVL 2

Author Comment

by:atigris
ID: 35724471
yes, 2 Nics configured one the same vSwitch0 to 2 different unmanaged switches on the same subnet.
0
 
LVL 124
ID: 35724478
and how are the two unmanaged switches connected?
0
 
LVL 2

Author Comment

by:atigris
ID: 35724549
I know they are connected on the same subnet, How they are connected? I don't know. I think they simple made Ethernet chain connection.

I think it should not matter what switch you put it on as long as they are on the same subnet, you can even connect both ESX Nics to the same switch and still should work!.
0
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1500 total points
ID: 35724589
Creating the NIC team on the ESX Server side is as simple as adding physical NICs to the vSwitch and setting the load balancing policy appropriately, and connecting them to a switch.

This will work for outbound traffic from the ESX server, but how does your unmanaged switch know where to send the inbound traffic?

normally with a managed switch you configure the two ports to create a bond or channel group.

do you want load balancing, failover, double the throughput?
0
 
LVL 2

Author Comment

by:atigris
ID: 35895960
It seems like there was a problem with the unmanaged switch it self, I tried different port and it worked.

0
 
LVL 2

Author Closing Comment

by:atigris
ID: 35895974
Thanks, This ticket can be closed.
0

Featured Post

Choose an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article I will be showing you how to subnet the easiest way possible for IPv4 (Internet Protocol version 4). This article does not cover IPv6. Keep in mind that subnetting requires lots of practice and time.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

840 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