How do I configure a second physical NIC on ESXi 4

Posted on 2010-01-04
Last Modified: 2012-05-08
I am new to ESX and especially esxi. I have two servers running esxi4...It has two physical is used for the management console and is connected to our production network. I wanted to use the second NIC, in order for the hosts to talk to one another. This is what I have done....I configured a virtual switch on each server to use vmnic01. I have an 8 port netgear switch, where I have connected NIC from each server to....the switch is just going to be used to allow machines from one host to talk to machines from the other host. I wanted to configure the IP on the second adapter without making it the management NIC. From what I remembered ESX used the ifconfig cmd, but it is not a part of esxi...Any help would be gratley appreciated....
Question by:Buckley8
    LVL 18

    Accepted Solution

    Nice, but you missed the basic concept - your virtual (or physical) switch does NOT have IP. So you cannot configure IP for a switch.

    You must not think of switch ports as IP addresses, but as simple physical ports. IP is designated to a MACHINE, which is connected to a switch port, not to a switch port itself :)

    So, you configured it correctly, just don't try to add IP to that NIC, which is used for internal virtual switch. Just connect those NICs via your netgear physical switch and your machines should ping each other. You WON'T ping NIC adapter, but virtual machine.
    LVL 3

    Assisted Solution

    You have 2 ESX host with 2 physical NICs on them. One Physical NIC (may be vmnic0) will be used by service console. Another one (may be vmnic1) you have created a vSwitch so that it can be used by Virtual Machines hosted on ESX. If this is what your setup is then you do not want to assign any IP to the vSwitch.

    Just create a VM and assign the Virtual NIC from this vSwitch. Assign IP to virtual machine from inside the VM OS. Similarly if you create another VM on the other ESX host, assign IP in similar range and the VMs should be able to ping each other (provided the firewall is disabled inside each VM).

    However, if you want to access the "Hidden Service Console of ESXi 4.0", then the following post may help

    Some more article you may be interested to read.


    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Using a software based iSCSI solution, there is no requirement to purchase an hardware iSCSI initiator or TOE (TCP/IP Offload Engine) interface card. A standard network interface card, can be used to connect and existing ESXi server to a remote iSCS…
    This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
    Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
    This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

    755 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

    22 Experts available now in Live!

    Get 1:1 Help Now