d3l0n
Contributor
Contributor

Network configuration for failover

Hello,

I have ESX 3.5 server with two physical NICs, I want to have a failover in place in case one NIC lost connection the other NIC will takeover to do that I'm planning to connect each NIC to a different physical switch, but I don't know how I can have the ESX 3.5 recognize that it's connected to switches, and how I can make sure the instances on ESX server are connected to the two physical NICs for the same purpose? I don't have a connection to ESX using VI Client only to the shell/command line.

Thank you,

0 Kudos
3 Replies
JeffDrury
Hot Shot
Hot Shot

It looks like you will need to create a virtual switch and then add both NIC's to the vSwitch using the command line. If both NIC's are used as uplinks for the vSwitch you will have seamless failover between your two physical switches. There is a great command line reference for ESX here: http://www.b2v.co.uk/b2vguide2vmware3.htm

The specific command for adding an additional physical NIC to the vSwitch is:

# esxcfg-vswitch -L vmnic1 vSwitch1

This command will add vmnic1 to vSwitch1. You can also use esxcfg-vswitch -l to list your current vSwitch configuration.

Let me know if this helps.

0 Kudos
Texiwill
Leadership
Leadership

Hello,

Check out my Topology Blogs for some help on how to set this up. ESX treats all pNICs as uplinks from pSwitches to vSwitches and if you have separate pSwitches then everything is great!


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

Blue Gears and SearchVMware Pro Blogs: http://www.astroarch.com/wiki/index.php/Blog_Roll

Top Virtualization Security Links: http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links

--
Edward L. Haletky
vExpert XIV: 2009-2022,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
atbnet
Expert
Expert

Here is what I use for the most reliable connection for an ESX/ESXi Server with 2 NICs.

http://www.vmadmin.co.uk/index.php/resources/35-esxserver/103-esxnetwork2pnic

Andy, VMware Certified Professional (VCP),

If you found this information useful please award points using the buttons at the top of the page accordingly.

Andy Barnes
VCP / VCA-DT / MCITP:EA / CCIA
Help, Guides and How Tos... www.VMadmin.co.uk

If you found this information useful please award points using the buttons at the top of the page accordingly.
0 Kudos