Solved

connect 2 network adapters in virtual machine

Posted on 2010-11-11
5
1,929 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

726 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