VMWare - 2nd NIC

Posted on 2011-05-12
Last Modified: 2012-08-14
hello, I am new to VMware and am not an IT pro. The ESXi  with different VMs is running fine, with 1 physically NIC,

In one of the VMs, I would like a VM webserver to connect directly to the adsl router,, such that external http requests from the adsl router reach the VM webserver

How can I do that ? in the past I had a webserver machine with 2 NICs (one internal & one external).

I've read about virtual switch in ESXi. Is this what I should be looking at ?

Is it better that I install a second NIC which connects the ESXi directly to the internet?

I'm lost.
thanks for help, Clifford
Question by:CliffordNg
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    The easiest way to complete this would be to Add a Second (2nd) NIC to the ESXi server.

    Create a new second vSwitch1, when  you create this virtual switch called a vSwitch, connect the 2nd NIC to this virtual switch.

    On this virtual switch create a new Portgroup, Portgroups are the Networks thatg the Vitual Machines connect to and use. Call it External Internet.

    In your VM, change the Network Interface Properties to connect to External Internet.

    This will then connect that VM to the External Internet.

    Author Comment

    hello, you mean to install a 2nd physical card in the machine, right ?

    LVL 116

    Accepted Solution

    That's correct, install a 2nd Network Interface card in the Phyiscal Machine.

    If you want to rwad more on networking in VMware ESXi, then I recommend the following:-

    I would also recommend reading through the Networking Sections of the following guides to gain a better understanding of Networking in VMware ESX/ESXi.

    Pages 13 - 73 Discuss Networking in Detail, iuncluding trunks, VLANs, switches, and load balancing

    ESXi Configuration Guide ESXi 4.1

    Virtual Networking

    Virtual Networking Concepts

    Author Closing Comment

    thanks, clear reply for rookies like me.
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    Good Luck, with it, any issues just ask or post another question.

    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

    Suggested Solutions

    Title # Comments Views Activity
    Wifi(LAN) GW being picked up 2 22
    ntp settings vcenter 4 45
    connect 10G with 1G 16 46
    Vmware Workstation 12 3 24
    There are times where you would like to have access to information that is only available from a different network. This network could be down the hall, or across country. If each of the network sites have access to the internet, you can create a ne…
    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.
    Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
    Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

    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

    18 Experts available now in Live!

    Get 1:1 Help Now