VMWare Player on laptop - maintaining connection when wireless disconnected - networking

I'm a complete newbie to VMWare and troubleshooting networking issues.
I'm running the buildix app through VMWare Player on my laptop. Things work fine when I'm connected to my home wireless network.
However, when I'm not connected to a network, my wireless card is turned off (eg., to save power) or when I'm connected to another wireless network, the Buildix appliance / VMWare player fails to get an ip address.
I only want the appliance to be able to communicate with my laptop.
I've tried this in all 3 networking modes : Host-Only (which is what I believe I want), NAT and Bridged, all with no success.
I've also taken a look at the settings by running vmnetcfg.exe in the VMWare Player install dir, but can't see anything obvious here.
Can someone please assist?
Regards
Marty

Host-Only mode is probably the way to go in your case. The problem is NAT and Bridged mode are relying on some third-party DHCP server to provide an IP address, and that server is not available when you are running disconnected.
VMware Workstation (not sure about Player) provides a built-in DHCP server if your machine is configured onto the right virtual network switch. You can also adjust which virtual switch has the DHCP server, what IP addresses it gives out, etc.
If Player does not support this feature, you may be forced into setting the IP address of the virtual machine manually. This is dependent on what OS you are running.

Related

Segregating lab Hyper-V environment using NAT Switch network

I'm creating a Hyper-V lab network on my machine and wanted them to have internet access as well as communication to each other in the lab. I used Powershell to create a new NAT switch for the ethernet adapter and all works as expected. My lab machines are on the same subnet and can talk to each other and have external internet access.
My question is how can I ensure that my lab machines can't affect my home machines? I can ping other machines in my home network from lab machines which concerns me that my lab could possibly send out DHCP IPs, other settings, or viruses to my home machines.
Sorry new to this and want to learn how to ensure the separation of the two networks? Or is the only real way to separate the two is to only use the NAT switch when I absolutely need internet?
Thanks!
By having a proper router somewhere in front and putting the home network under the same style of NAT setup. That will mean you can not reach the home network from the lab.
That said, you do not ahve to worry about DHCP - DHCP is only local broadcast domain and does not cross routing (unless you use a forwarder which has to be excplicitly set up in the target network).

port forwarding to a virtual machine using Virtualbox

I want to forward a port to a VM. However i dont want the VM to be behind my host PC, i want it to be connected directly to the router so that packets coming on that port go directly to the VM without passing through my host PC.
In other words, i want the VM to look like any other machine on the network.
EDIT: i used bridged adapter, but i couldnt make it connect to the network.
Thank you
The VM will use the Ethernet port in all cases and the OS in it.
Typically if you have Windows and a VM with a bridged port, you will see the traffic flow when you take a capture on the Windows machine. IP won't be the one from the Windows machine but the traffic, like said, will flow through the same physical interface.
Secondly, you need to use a bridged adapter. For the details you can find help here: Bridged networking not working in Virtualbox under Windows 10

Configuring vmware networking to access static IP

I have a dedicated virtual debian server running with my website, and now have a copy of that so that I can try some configurations by running it virtually on my own PC. It runs fine, but I'm unable to access the machine through http.
The problem is that my machine has a fixed ip, something like 194.247.x.x . My home network however has computers in the range of 192.168.1.x
Is it possible to not change anything in my virtual machine and still configure vmware networking so that I'm able to access the websites it's running?
The only way I can see this happening for you is to use NAT (Network Address Translation) between your home network and your VM.
To do this, you could use a free software based router - something like Vyatta (www.vyatta.org) - and create a VM with two NICs - one with an IP on your home network, and the other with an IP on the same network as your VM. You then configure NAT to translate your home IP to your web server IP and then you're done.
There's nothing 'de-facto' VMware that will allow you to do this (other than using vShield - which will do NAT'ing anyway)...

How to connect wireless network adapter to VMWare workstation?

How can I connect wireless network adapter to VMWare workstation ?(My Host OS is Windows 7 Ultimate, my Guest OS is Fedora 13 & my VMWare version is 6.5.0)
I'm running Windows 7 on my Dell Vostro A860 laptop & my wireless network adapter is Atheros.
Workstation doesn't have a wireless NIC type, so direct wireless hardware access is out. If you just want to access through the extant host wireless connection, bridging is your answer.
I think the only way to get a wireless NIC dedicated to the VM would be using a USB wireless NIC as a USB-passthrough device on the VM. When you have Workstation running and a USB device plugged in, it should give you an option to change whether that device is connected to the host or to the VM.
Add a local loop network in your normal PC (search google how to)
Click start -> type "ncpa.cpl" hit enter to open network connections.
While pressing Ctrl key, select both your wireless and recently created local loop network. right click on it and create the bridge.
Now in virtual network editor in vmware, select the network with type "Bridged" and change Bridged to option to the recently created bridge.
You will then have access to network via wifi card.
Use a Linux Live cd/usb and boot an that to be able to directly connect to your wifi hardware or use linux as the main OS with direct access to the wifi card and then use windows as a guest os, I know that this maybe not the ideal way but it will work.
I also encountered a similar problem. I run Ubuntu 11.04 on VMware on a Windows 7 host OS. Virtual machines can't expose the physical wireless cards. All of that is using a virtualization layer.
Since there is only one WiFi hardware on the computer its not possible to connect one WiFi hardware to multiple WiFi networks, if you want to that I think you have to map WiFi hardware to guest OS and how host you'll have to use some other hardware (may be Ethernet) but I'm sure that it will work in that way as no VM software allow us to allocate Hardware to Guest except for USB, you can also get USB WiFI and allocate that to VM only.
Change your network adapter to a bridged connection, this will directly connect to your computers physical network.
Here is a simple way to connect with your WIFI -
Click on Edit from the menu section
Virtual Network Editor
Change Settings
Add Network
Select a network name
Select Bridged option in VMnet Information -> Bridge to : Automatic
Apply
That's it. You might be asked password to connect. Add it and you would be able to connect to the network.
Kind Regards,
Rahul Tilloo

adding Virtual PC 2007 to host network

I am using Virtual PC 2007 with Windows xp Pro as the Guest.
Is it possible to add the Virtual PC to the network of the guest PC and to the domain of the Guest PC?
I enabled NAT shared networking but that only allows internet access on the guest..
Thanks
This shouldn't be a problem when you add the guest to host's physical adapter:
In the settings for your VM, go to Networking and instead of "Shared networking (NAT)", select the NIC that's connected to the network on your host (e.g. "Realtek RTL8116 Gigabit Ethernet", or whatever your NIC is; this is equivalent to VMWare's Bridged Mode). That way, the guest will appear as a real computer on your network, and will work like a physical box on the network.
IIRC, MS VPC bypasses the default Windows firewall on the host, so only the guest's firewall applies; for other FW products, you may need to enable something like "permit packets not destined for this host".
Just to add to the above answer-
1.
Inside the Local Area Connection
Properties- VM Network Services Driver
wasnt installed without which the NIC
option wont appear in the Virtual
machine Network Adapter Configuration.
I reinstalled the Virtual PC and that
entry Virtual Machine Network
Driver appeared.
2.
Another helpful resource-
http://blogs.msdn.com/virtual_pc_guy/archive/2007/01/15/fixing-broken-virtual-networking.aspx
Shouldn't be a problem as long as you can connect to a domain controller from the virtual computer.
If you know the IP address of a domain controller, try to ping it. Then try to ping it using the computer name, to see if name resolution is working correctly. What happens when you join a domain using Control Panel | System. Do you receive an error message?
I have not used Virtual PC, only VMWare workstation on Linux, so I do not know how the networking setup is on Virtual PC. On VMWare, you can choose between bridged and NAT networking for a virtual machine. I have been able to set up Windows guest computers as members of a windows domain using both kinds of network setup.

Resources