Solved

connect 2 network adapters in virtual machine

Posted on 2010-11-11
5
1,890 Views
Last Modified: 2012-08-14
Hi,

i have a virtual machine with 2 virtual NICs that i added. I'd like to connect them directly with each other so that i can send traffic from one nic to the other. Is this possible with vmware?

Thanks.
0
Comment
Question by:Commsquare
5 Comments
 
LVL 23

Expert Comment

by:jakethecatuk
ID: 34111608
anything can be done in theory - but more information would be needed.

what is the IP of NIC1
what is the IP of NIC2

however, I'm struggling to understand what you are trying to do here.  are you trying to push data out of one NIC and into the second NIC on the same machine?  why?
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 34111848
No..this can't be done in the way you mention and let me share why. VMs don't have NICs...not phys NICs. So, when you want to isolate traffic over a single NIC for a single VM, you have to dedicate a physical NIC on the host to that VM. You do so by adding a vSwitch and dedicating a single phys NIC to that new vSwitch, then assign the VM Netwk Port group of that vSwitch to the VM you want. So, it's quite complicated. As "jake" mentions...in theory, yes, it can be done, but is quiet a tedious task. As he mentions, what is it really you are trying to accomplish?

Regards,
~coolsport00
0
 
LVL 4

Expert Comment

by:mail2vijay1982
ID: 34112068
create the seperate Virtual switch and put only those 2 Vm's  :-)
0
 
LVL 28

Expert Comment

by:bgoering
ID: 34112299
There is no such thing as a virtual crossover cable. Typically there will some kind of switch involved. If that is OK you can simply connect each virtual nic t the same vswitch and traffic between the nics will never leave the host. That would be your only option on hosted platforms like VMware Workstation or VMware server. It is also your only option on vSphere or Virtual Infrastructure platforms prior to 4.0.

On ESX or ESXi 4.x if you need to meet the following requirements:
Have an Intell 55xx or later processor implementing VT-d, or AMD processor with IOMMU support.
The above have to be enabled in the BIOS of your server.
I think that your NICs have to be on a seperate PCI card than other physical nics on your server.

If the above requirements are met you MAY
0
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 34112324
Whoops - accidently hit submit before I finished...

If the above requirements are met your MAY be able to dedicate two physcical nics to your virtual machine, and connect them directly via a crossover cable.

See http://www.vmware.com/files/pdf/techpaper/vsp_4_vmdirectpath_host.pdf for more information on VMDirectPath I/O

Good Luck
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

785 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