One way communication between vm's? - linux

We have 3 vm's set up in ESXi on one machine, and on another machine (host OS = MS Server 2012) we have 5 machines set up in VMware Workstation 11.
From the Workstation VM's I can ping and ssh into all 3 ESXi vm's, but from the ESXi vm's I can't ping or ssh to the Workstation VM's. I have tried this with the firewall enabled and disabled on the MS Server.
All vm's are running CentOS 6.x, the ESXi machines are full desktops, the Workstation machines are minimal installs.
All 5 Workstation vm's have 2 way comms with each other, as do all 3 ESXi vm's but comms only go one way between the two types.
Ned ideas for troubleshooting this, wide searches of the net yielded nothing helpful that I could find, nor did posting this problem on the VMware forums.

How is the networking setup for the Workstation VMs? Sounds like they may be NAT-ed, which would render them invisible.

Related

Run VMware inside nested VM hosted by Hyper-V

I work in an organization where we work on different projects, each of which has a developer image setup correctly with certificates, and many other things, which take more than a day to setup. We use Hyper-V for some images and VMware for others. As you know Hyper-V and VMware cannot run side-by-side.
As a developer I sometimes have to work on two different projects on the same day, solving bugs or whatever.
(I only have one dev PC with Windows 10 host OS - company policy)
Ideally I would want to run everything inside Qubes OS, but I am not allowed (yet...)
I would like to be able to run different VMs more or less at the same time. With different OS and other systems inside.
I found this article (thanks to Dan Scott-Raynsford, and others)
Run VMware nested inside Hyper-V
I was able to run the script from the Win 10 host OS, but it did not work for me for the OS versions I have. I can run VMware Player 12 nested inside Hyper-V running Win Server 2012 R2 images. But when I try to start the virtual machine inside the VMware player I get this error:
I tried this command:
bcdedit /set hypervisorlaunchtype off
But it did not solve the problem.
I was wondering if anyone made it work?
Or a better solution/suggestion for this problem?

Capturing packets on VMware machines

I have a windows PC installed VMware Workstation and Linux run on it. I want When windows communicate with Internet I can capture packets in Linux, how can I do that?
The vmware network is Bridge, and I set eth0 use command "ifconfig eth0 procmisc".
linux IP is 192.168.0.103, windows IP is 192.168.0.102
Run "tcpdump not host 192.168.0.103" with no result.
Thank you for you time and please help me
While I haven't used VMWare workstation before, I have used Oracle VirtualBox in a similar setup as you describe.
I suspect that the problem is that your network adaptor on the Linux VM is not actually accessing the physical network adaptor directly. You will be using one of the network mapping types described in http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006480 instead.
As such, you are not getting all the traffic that is going to your physical network adaptor. Instead you are getting the reduced set of traffic that VMWare is passing on to your guest.
The only way to get that is to do the snoop on your Windows host, using something like https://www.wireshark.org/

How to make virtual machines see each other and host

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running apache etc and the other as a Windows development environment.
The two environments are setup and running fine. However, they cannot ping (see) each other. I am wondering if there is a clear solution to this.
This is what is happening.
From Host:
Cannot ping either of 2 VM's (one linux, one windows)
From Either of the VM's:
Cannot ping host
Cannot ping each other
From other network machines (for instance my laptop from within my company network)
Successfully ping host at 192.168.0.64
Successfully ping VM1 (Linux) 192.168.0.43
Successfully ping VM2 (Windows) 192.168.0.84
What sayeth the group ?
Jay Lepore
CompuMatter

VBox network mode to test Win 2008 server?

I have 2 machines running on my VirtualBox, one is a Windows XP client the second one is a 2008 Server with DHCP and DNS installed and configured.
now i want to test my server setup with my client machine, i tried all the network mode in VirtualBox but none of them worked
NAT mode get dhcp setting from VirtualBox itself i think
Bridged mode get dhcp from my router
...
any idea what should i do ?
My first guess would be to configure both virtual machines to have a single virtual network adapter that is configured as "internal network" and set a static IP address on both virtual machines. That will effectively isolate both guests to their own private network for testing.
I suggest to you to set network adapters on both virtual machines in "Bridge Mode".
On Windows Server 2008 you must choose type: Intel PRO/1000 MT Server (82545EM)
In this way, your virtual machine will get an IP address on the same LAN of your host machine, and the three machines can communicate

Traffic monitoring tools for VMWare Server?

We want to monitor traffic usage for each of our virtual machines - we need to generate a monthly traffic report (in terms of bytes, for billing purposes).
How can we do this?
Our platform is VMWare Server 2, using bridged interfaces on Windows Server 2003
thanks,
ashley
I have not tried it yet, but there is a Linux app vnStat which may be what you are looking for.
There is vMonitor for windows but I have never tried it.
Are you using bridged interfaces? Are you running vmware server on Linux?

Resources