Solved

Add a 2nd NIC on a VM (VMWare 4.1)

Posted on 2012-03-20
26
2,280 Views
Last Modified: 2012-03-27
Good afternoon,

I need to add a second virtual NIC to a particular VM.  It will work on a different subnet that will be used as a backup network between servers.  Basically a cross-over cable between to VMWare Servers.  

I was able to create a Virtual switch with the specified subnet and assign it an actual Physical NIC but I don't understand how to associate a VM to it so that the VM will see another virtual NIC in the operating system.  

Thanks.

Pete
0
Comment
Question by:sndmnsix
  • 13
  • 12
26 Comments
 
LVL 3

Expert Comment

by:IT-Shrek
ID: 37745093
You need to assign a second NIC to the corresponding virtual machine and select the created network under Network Label. Save the VM configuration.

See the following Screenshot:

http://malaysiavm.com/blog/how-to-change-virtual-machine-network-adapter-manually/

Shrek
0
 

Author Comment

by:sndmnsix
ID: 37745098
Ok, thanks.  I'll check out the link and see.  I'll get back shortly.
0
 
LVL 118
ID: 37745100
Now that you have created the vSwitch virtual switch, you need to add a Virtual Machine Portgroup, you may already have completed.

Then Edit Settings of the VM, add another virtual network interface, and select the Newly Created Virtual Machine Portgroup Network label.

this will connect this nic to your newly created vSwitch and physical nic uplink.
0
 

Author Comment

by:sndmnsix
ID: 37745134
Sounds good.  So a Virtual Machine Portgroup is different than a VMkernel Port correct?
I only say this because I believe that's all I see associated with the vSwitch.
0
 
LVL 118
ID: 37745139
Yes, a VMKernel is a special portgroup that carries NFS and iSCSI traffic.
0
 
LVL 118
ID: 37745146
you have two options when creating a vSwitch, VMKernel and Virtual Machine portgroup, 50, 50 chance, you need a virtual machine portgroup.
0
 
LVL 118
ID: 37745153
edit switch, click properties, remove the VMKernel portgroup, and add a virtual machine portgroup.
0
 

Author Comment

by:sndmnsix
ID: 37745177
ok...I'll remove the VMKernel portgroup off the vSwitch.
0
 

Author Comment

by:sndmnsix
ID: 37745190
When I edit the VM, and goto the hardware tab to Add.. it says that the presence of a PCI Passthrough device prevents any other hot adds of devices.  

Does this make sense?
0
 
LVL 118
ID: 37745199
Do you have a PCI passthrough device in this VM?
0
 

Author Comment

by:sndmnsix
ID: 37745203
you mean like a PCI host bridge?
0
 
LVL 118
ID: 37745205
e.g. SCSI card not added for Backup Exec to tape drive?
0
 
LVL 118
ID: 37745210
anything youve added manually?

VM Direct Path is usually Used to add PCI devices in the host to a VM
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 118
ID: 37745213
if you are using PCI devices, you will have to shutdown VM to add another NIC.
0
 

Author Comment

by:sndmnsix
ID: 37745221
Unfortunately, I wasn't the guy that built this host.  It was put into production by a support company that was suspended so I'm trying to pick up where they left off.  

I've never added any hardware manually.  This is a Dell machine and it looks like everything in it is native.  

Where would I be able to see if VM Direct Path is present?  I'm sorry for my lack of knowledge on VMWare.  I'm sure that's quite apparent :)
0
 

Author Comment

by:sndmnsix
ID: 37745246
Would I actually have to give it a power off command through VSphere?  After I attempt to add a new nic, would I be able to start that VM backup using the same method?  It looks like but I wanted to make sure.
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 37745256
Does you VM have a device called PCI device?

Yes you will need to shutdown guest, add nic, power on guest vm.
0
 

Author Comment

by:sndmnsix
ID: 37745264
Yes, PCI device 0

It's an LSI Logic SAS Controller


What's the difference between Shutdown Guest and Power Off?
0
 
LVL 118
ID: 37745277
Okay, what does the SCSI controller do, or is it connected to tape drive.

Power OFF is the same as hitting the big switch, no controlled shutdown.

Shutdown Guest intructs the GuestVM to shutdown cleanly from within the Guest, justvas if you had selected shutdown in the OS logged in.
0
 

Author Comment

by:sndmnsix
ID: 37745331
I believe the SCSI controller is a RAID card for the primary storage arrays.

If I use the Shutdown Guest, will I be able to bring it back up through the VSphere Client?  I was hoping it wouldn't shutdown the entire host.
0
 
LVL 118
ID: 37745332
If you shutdown the Guest VM, it will not affect the host.

Later you can Power on.
0
 

Author Comment

by:sndmnsix
ID: 37745342
Ok, I'll go ahead and shut this VM down tonight and hopefully add the card.  I'll give you report on this later on.  Thanks for your help!
0
 
LVL 118
ID: 37745344
no problems.
0
 

Author Comment

by:sndmnsix
ID: 37745760
As it turns out, the backup schedule beat me to it.  Looks like if I don't do this before 7pm, I won't be able to.  I'm going to try this again tomorrow night and then report back.  Thanks.
0
 

Author Comment

by:sndmnsix
ID: 37774852
I had been called away on another project for awhile.  I'm going to attempt to add this NIC tonight as long as I can get users to kick out of the system in a timely manner.  Thanks for hanging in there.
0
 

Author Comment

by:sndmnsix
ID: 37775052
Everything worked beautifully on this 2nd NIC configuration!  Mission accomplished on this.  Thanks again.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
"Error while attempting to connect to View Composer" 4 221
delete phantom  datastores 5 52
vmware 4 62
Looking for good easy switch for lab at home. 13 83
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V 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…
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…

912 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