Networking between virtual machines on different hosts

Hello

I need some advice on the basic approach to networking between virtual machines, each running on a different host machine.

Consider the following configuration:

I have a few processes that are running in a Machine virtual Ubuntu. Call this guest1.  I guest1 race inside a real computer running Windows XP SP3 and VMware Workstation 7.x; Call this host 1.

I have a copy of this virtual machine that I put on another machine.  Call this Guest2.  I have Guest2 running on a separate physical computer, also runs Windows XP SP3 and VMware Workstation 7.x; Call this host 2.

Now, I would like to guest1 and 2 comments to make networking with eachother.  I wish they were able to ping, SSH, etc., among others.

This is where I am stuck. I tried setting the virtual machines to use the bridged network mode.  I tried to connect my router on each computer and manually assigning IP addresses to each host and each virtual computer.  When I do this, guest1 can Host1 and Host2 ping, but cannot ping Guest2 and vice versa.

What is the right way to do this kind of network?  This seems like an obvious application, if you want to perform simulations on multiple virtual machines residing on different computers on the network.

I apologize if this is the answer elsewhere, I had to dig and was not able to find the solution.

Thanks in advance!

Charles

Guests must be on the same subnet, like 'real' hardware machines.

1 when you copied the VM and then started, what did answer you the question of copy/move? (this determines if a new MAC address is applied)

2 view each guest and ' ipconfig/all' results 'ifconfig - a' by the hosts.

Lou

Tags: VMware

Similar Questions

  • No network connection between the virtual machines on different hosts ESXi

    I have several 5.0 ESXi hosts in a cluster managed by vCenter Server 5 and I have network problems:

    1. [Host A] running a virtual machine can ping any other computer virtual running on the [host A] great!
    2. A virtual machine running on host [B] can ping any other virtual machine running on [B] home - very well!
    3. [host A] (from the ESXi console) can ping any virtual machine running on [B] home - even better!
    4. [B] home (from the ESXi console) can ping any virtual machine running [host A] - beautiful set!
    5. A virtual machine running [host A] can not ping any virtual computer running on host [B] and vice versa - bad, very bad!

    So basically the problem is that the virtual machines can communicate on hosts. It is a major problem that I need to fix, for obvious reasons.

    Networking on all hosts is configured exactly the same way: a unique and standard vSwitch with a pair of gigabit network cards grouped, vmkernels configured for the vMotion, NFS and network management and a group of ports configured for the VIRTUAL local area network used by the VMs. (vMotion works fine on hosts, storage vMotion works very well too.) All virtual machines are servers Windows (2003 and 2008).

    Reason #3 and #4 above, my assumption is that #5 must be the result of an ESXi/vCenter configuration issue and not a problem with the switches of material upstream. Is this a reasonable assumption?

    Whatever it is, can anyone offer suggestions on how can I fix? It is quite annoying as I'm pretty sure that these hosts are configured in the same manner as those of our production cluster, which does not at all these problems!

    Thanks in advance for any help you guys can provide.

    To be honest, it looks like a problem with your physical network-

    How is the physical network configured - are NIC connects it to the same physical switches? Are the virtual machines on the same subnet? If this is not the case, they are able to ping the gateway sbnet? Can you piing host IP address from the virtual machines?

    I also moved it to a forum more approiate.

  • How to create disk shared across virtual machines on different hosts

    Hello

    We implement Oracle RAC on two virtual machines, one on each of the two armies for redundancy. For our installation:

    • The two ESXi hosts two SAN access a logical unit number.
    • Two virtual machines on the hosts must have access to a single virtual disk on this LUN (or unit number logic itself) at the same time.

    We tried the following:

    • Creation of a data store associated with the LUN, and then creating a new hard drive on each virtual machine using the same virtual disk on the data store. This operation failed because as soon as a virtual computer runs, the other virtual computer cannot run since the first has a lock on the file from the disk.
    • Creation of a new hard drive on the virtual machine through RDM. This operation failed because only the first virtual machine has this option of disc. Once the ROW has been assigned to the LUN, the other virtual computer cannot create its own RDM for the LUN.

    I'm learning just VMware so I can miss a fundamental method to accomplish this, or perhaps, it is not possible at all. You know a way to create the installer I described?

    Welcome to the community,

    I can not specifically help with the Oracle RAC, however, I would recommend that you take a look at MSCS documentation for how to configure shared disks. There is a difference in the way in which you have installed the VM, for example all VMs on an ESXi host or on different hosts. Please keep in mind that MSCS is a cluster without sharing, which means that only one node at a time has access to a shared virtual disc/RDM.

    André

    PS: I forgot to add the link: http://kb.vmware.com/kb/1004617

  • Can you have different partitions on a virtual machine on different host machine partititons?

    I have a 2008 srver machine which has two partitions. I wish that my virtual machine which is Server 2008 (Workstation 8) to have one of its virtual disk on one of my partitions hosts and the other on the other partition. IS this possible? Any guidance would be greatly appreciated.

    With a new virtual machine you would just select the location for the new virtual disk when you create it. With an existing virtual machine, you could - with the virtual machine powered on and closed VMware Workstation (or at least tab of the virtual machine closed) - move the virtual disk files second to another partition and edit the .vmx virtual machine file and add the absolute path name of the virtual disk file.

    If you want, after (join) current .vmx file of the virtual machine as well as his latest vmware log file and let me know the path target if I can guide you.

    André

  • "this host is not no matter what networks of virtual machine, or you don't have the permission to access ' ESXi V4

    I'm sure I'll be stupid on this one, but what does do to ensure that networks of virtual machine?  I get this message when I look at network/properties of a VM adapter 1.

    When the virtual computer runs, my network card think the cable is disconnected.

    I went to the host properties and of course there is a 'Virtual Machine port group"and a"VMKernel Port", both connected to my physical card.

    I don't see anything obvious on the network are disabled or anything like that.

    Please give me a hint?  Virtual machines to run it, but without any network connectivity.

    Thank you

    Joe

    I had this on the virtual machines that I moved from VMware Server 2.0. I found that there is no entry for the "ethernet0.networkName" in the .vmx files Server 2 (and probably Workstation) do not seem to care and connect ethernet0 to the first configured network. ESXi 4 all confused. So for me, the solution was to add

    ethernet0.networkName = 'Hand Lan'

    for each file .vmx before adding them for ESX. If you have already added the machine, you will need to remove it before you edit the .vmx file.

  • Unable to ping Virtual Machines within ESXi host (vSphere Home Lab)

    I'm using VMware workstation 9, I have 4 virtual machines created inside the workstation.
    (192.168.1.0 network is defined inside VMware workstation VM network editor)

    Domain controller - 192.168.1.1
    ESX1 - 192.168.1.11 (2 NICs - vmnic0 and vmnic1 connected to n/w)
    Esx2 - 192.168.1.12 (2 NICs - vmnic0 and vmnic1 connected to n/w)
    Management Server - 192.168.1.5

    I have 2 virtual computers created inside the machine Esx1

    machine to SQL - 192.168.1.4
    vcenter1 - 192.168.1.2

    I have 1 computer virtual created inside the Esx2 machine

    vcenter2 - 192.168.1.3

    I can ping all the machines in the administration server - no problem

    Question - I can not ping vcenter1 to sql, cannot ping vcenter1 to vcenter2, cannot ping vcenter2 to sql.
    There is basically no communication between virtual machines with the Esx host and in the whole of the host. Firewalls is disable on all these machines virtual esx internal hosts.

    Any ideas how to solve this problem?

    Make sure that virtual network on ESXi hosts maps are Sunrise promiscous mode networking.

  • No ping between virtual machines

    Hello

    I use VMWARE 7 program... I installed two virtual machines (windows server 2008 and windows 7)... I have attached two pic for each other... .my problem is... There is no rattling between these two machines... I disabled the firewall in both entities... How you can help me in this...

    My respects

    Post edited by: a.p. - changed the subject of the "Greetings" to "no ping between virtual machines.

    I do a bit of practice for MCITP study... In windows server 2008, I use Bridge and in the Windows NAT using 07:00

    Well, I guess you should start your trip MCITP become familiar with the IP configuration and routing

    Addresses that you configured do not work that way. Assuming that the physical - bridged - network (if connected) is 192.168.100.x, you may be able to access the Windows Server 2008, but you will never be able to access the virtual from Windows 7 computer with the NAT configuration, because NAT is running on another network (vmnet8 - 192.168.201.x). Depending on the need or not to be able to access the outside world of the virtual machine, you should consider is instituted two virtual machines with an IP address in the range of vmnet1 (Host-Only - 192.168.80.x) or vmnet8 (NAT - 192.168.201.x). In the case of NAT, configure the virtual machine for DHCP or use IP addresses between x.x.x.3 and x.x.x.127.

    André

  • Two Virtual PC on different host with common shared HARD drive PC: problem

    I configured two virtual PC with win2003 to test Oracle RAC, one on desktop PC (host operating system is WinXP) and 2nd on my laptop (host operating system is Vista) both virtual PC is using shared drives, pointing to my desktop PC, but these shared drives do not work as hard shared common for virtual machines. When I'm all shared formatting HDD 1 PC other PC watch is not formatted.

    SinghBaba wrote:

    Please, I beg you. find the attached files.

    I tried - scsi1.sharedbus = "virtual" too, but...

    You try to share a virtual disk between two virtual machines using a SCSI reservation.

    VMware Server does not supports drive sharing between virtual machines sitting on different hosts (desktop & laptop).  You can't do that.

    Your two virtual machines need to be on the same host computer.

    Please read carefully the documentation, specifically the chapter "questions to consider when sharing disks"

  • flow of traffic between virtual machines

    If I had 2 machines virtual on the same slide in a M3 of b200 on the same vswitch, is communication on traffic between the 2 vms strictly inside the m3 Server?

    What if I had a virtual machines on a b200m3 and another virtual machine to another b200m3?

    same chassis and the chassis is connected to the FI

    Traffic between virtual machines will stay on the FI or it will mount the switch to basic?

    so, if is blade1 VM1 and VM2 is Blade2 and both on the same vlan
    Traffic will remain within FI or it will go up North to core?

    Both is possible! as I said above: If the entry and exit are on the fabric a RESP. B, it is switched.

    However, it could also be A penetration, exit on B or vice versa and then must go to the North (and get switched L2)

    What if

    Blade1 is VM1 and VM2 is on blade2 but on different VLANS, the traffic will have to hit the correct base gateway?

    Yes!

  • How to move virtual machines from one host to another without full VI and vMotion?

    Hello

    could you help me with a question?

    I have two installed hosts with ESXi 3.5 U5, which are connected to the shared iSCSI (Openfiler) - VMs storage are installed on the storage disk. My requirement is to have a cheap solution of DR - in case of failure of a host, I need to move and start VM on the host of work. How to achieve without going through VMware Infrastructure 3.5 and vMotion?

    I found this article:

    http://www.virtualizetips.com/2010/04/how-to-move-a-VM-without-vCenter-or-storage-VMotion/

    but RCLI needs Infrastructure of VMware ESXi does not have default CLI So, how to move VMs between hosts (of course I mean "cold" move) without byuing any additonal VMware SW? It is generally possible in my situation?

    Thank you.

    ARO

    Danas

    If the virtual machines are running in shared storage (two guests see the same storage iSCSI or NFS) then it's simple. If a host goes down, then look for the data store on the ESXi host work. Navigate through folders for each virtual machine, right-click on the VMX file and add to the inventory. You will then be able to turn on the virtual machine.

    To move a virtual machine from one host to another, as long as both hosts had the same processors, you can pause the VM on the single host, browse and add the virtual machine to the inventory on the second break host and the United Nations.

    If the virtual machines are on local storage, but the two hosts are connected to the same shared storage, clone virtual machines on a daily basis from local storage to shared storage. Use something like ghettoVCB http://communities.vmware.com/docs/DOC-8760 make the clone. In the case of a server failure, you will be able to browse the data store, add to the inventory on the shared storage and switch the cloned machine.

  • The list of all virtual machines to a host group in Virtual Machine port group

    Ladies and gentlemen,

    I would like to create a powershell script to list all my virtual machines to a host, but a group of Machine virtual PortGroup... It is possible...? I see only found Internet see the VirtualPortGroup of the host...

    Thanks in advance & looks

    All your VMS have a mapping single portgroup or it not with multiple NICs on different port groups?

    If they are all the same, then the following should work:

    Get-VM | Select Host, Name, @{N="PortGroup";E={$_.NetworkAdapters[0].NetworkName}} | Sort PortGroup, Name, Host
    

    If you found this information useful, please consider the allocation of points for correct or helpful.

    Alan Renouf

    http://Virtu-al.NET

  • Disable copying files between virtual machines

    When I go to several virtual desktops using VMware View 4, I am able to copy files between virtual machines. Virtual machines are located in various isolated networks. It is a security problem in my organization and how do I disable this feature? I am not able to find any related configuration in sight connection to the server. Thank you!

    I assume you are using RDP as the Protocol currently, correct?

    In this case, you will need to implement some GPO:s in the workstations to avoid copy and paste.

    Look in the 'Extras' folder on the view connection server, there are a number of ADM files that you can implement to restrict all sorts of things.

    Best regards

    Linjo

    If you find this information useful, please give points to "correct" or "useful".

  • Deploy multiple virtual machines on several hosts evenly?

    Hello people!

    I wrote a small script to deploy many virtual machines on several hosts at random.

    But I would rather deploy a virtual machine to each host in a table and then start over again until the number of virtual machines to deploy exhausted.  Distribution of the burden of deployment as evenly as possible.

    Anyone have a suggestion?  Example of nested loops?

    PowerShell beginner, here.

    Thank you

    romatlo

    One way to do this is with the modulo operator (%), something like this

    $numVMs = 11

    $tgtEsx = get-Cluster "Westcreek | Get-VMHost-name z420 *.

    1.. $numVMs | %{

    [New-VM-name 'Test $($_)' $tgtEsx[$_%$tgtEsx.Count - VMHost]

    }

  • VMWare Fusion 6, after upgrade cannot copy and paste between virtual machines, desktop missing files

    I upgraded from VMWare Fusion 5 to 6, and after the upgrade I can't copy/paste between virtual machines. In addition, the files that are on my desktop Mac are now missing and inaccessible on my Windows desktop.

    Tools update or reinstall?

  • IO emits virtual machines in a host

    Hi guys

    I have a 2 Server ESXi cluster build 1065491 for a month of monitoring reported some problems with virtual machines - ping has disappeared.

    After that, I found that VMs statement of losers pings were accommodated in the same server ESXi. Today, a problem has been reported with the vCenter apparatus which did not... do more research I found that all of the virtual machines that are hosted in this particular host appeared this message Windows - Linux

    Source: LSI_SAS

    Event ID: 129

    \Device\RaidPort0, restore the device, has been published.

    Source: disk

    Event ID: 153

    The operation of e/s to 142f8d address logical block to Disk 0 has been retried.

    kernel: mptscsih [40114.926402]: ioc0: quit the task! (sc = ffff8802116c3d80)

    kernel: [40114.926410] sd 0:0:0:0: [sda] CBD: Read (10): 28 00 00 05 57 80 00 00 40 00

    kernel: mptscsih [40115.055129]: ioc0: abandonment of the task: SUCCESS (rv = 2002) (sc = ffff8802116c3d80) (sn = 529576)

    any idea what could cause this problem? or how to fix it?

    Important that I moved a Windows 2012 VM without ESXi server to the problem and messages LSI_SAS and disc problems began to appear

    Thanks a lot guys

    Hello

    I do not understand the LSI SAS and mptscsi messages are coming inside the guests who are having a controller LSI. I agree to a point that the vmhba0 of LSI in the server maybe nothing to do with errors inside the guests because you do not have virtual machines in the local data store but CF.

    So, let's take a look at the usual suspects:

    1. as Memmad has pointed out, in the vmkernel journal, we can see if the FC lun is seen no problem and is reported.

    2 the ESX does very slowly during the execution of commands like esxcfg-scsidevs - m or esxcfg-rescan vmhbaX [X your CF Adapter]

    3 - is the lun configured for multi path in the face of questions, CF once again, it can be newspapers vmkernel. ?

    4. I'm sure that the paging file will be generated when the FC lun, but they have a check if the last file to update the directory of the virtual machine swap at the present time. This is to eliminate any delay in the swap file in writing of the customer due to CF issues.

    5. There was questions previous similar to yours as VM lose pings, decline in performance, but they were in iscsi and 4.1 KB here

    It seems that the guests are abandoned or their scsi reset commands that seems to be the issue here.

Maybe you are looking for