Ping/Access Host Machine FROM Hyper-V VM - windows-8.1

I am not sure if this query is valid for this forum.
I have the following setup
1. Host Machine: Windows 8.1 Pro
2. Hyper-V enabled
3. VM [Windows 7] configured with internet access (using ICS from host machine, working fine)
4. RDP enabled to access VM from HOST
Now my question is how to configure Hyper-V in such a way that, from VM machine I will be able to access my Host machine Files, IIS, printer etc [IIS website is my primary focus]

You can only do this through the network layer by using IP address for example.
'VM to HOST' access through the virtualisation layer is impossible.

Related

Azure Nested Virtualization Networking

I created a Server 2019 VM in Azure and want to use nested virtualization. On the 2019 VM, I created a Windows 10 VM in Hyper-V. The problem is that the Windows 10 VM does not have internet connection. Even though a virtual switch was created on the 2019 VM, the nested Windows 10 VM is not able to reach the Azure gateway.
Here's the Server 2019 Network settings
This is the Hyper-V Switch
And finally this is the Windows 10 VM network settings. It never gets an IP address from the host and even when assigned a static IP it cannot route to the gateway. What am I missing?
The overall problem I'm trying to solve is to have Apache Guacamole able to connect to nested VMs, which isn't possible with NATing.
You cannot reach the internet because your default gateway is blank.
You are getting auto configured IP addresses without default gateway (169....) (probably) because you do not have a DHCP server.
You can configure the DHCP server on the Hyper-V host running in Azure
or on a nested Hyper-V VM if needed.
see: https://www.nakivo.com/blog/hyper-v-nested-virtualization-on-azure-complete-guide/

Azure Nested Virtualization - seamless access to guest VMs

I successfully set up nested virtualization in Azure. Using NAT port forwarding, I can RDP to the guest VMs without any issue. For us, this is not a complete solution as we need to access the guest machine (just on the internal network) by machine name not just through a unique port for each machine. For example, if I have a guest VM called guest1, I should be able to launch explorer and go directly to \guest1\c$ (from not just the host, but from outside the host as well) just as would able to if guest1 were a non-nested VM. All we can do right now is RDP to guest1, that too through a unique port, so guest1:port1 for guest1 and guest2:port2 for guest2.
Is this possible? Thanks in advance!
PS: I followed the instructions here (very useful): https://www.thomasmaurer.ch/2017/07/how-to-setup-nested-virtualization-in-microsoft-azure/

Virtual lab using Vmware

I am trying to create a virtual lab using Microsoft server 2016 as DNS server and 3 Client virtual machines (Windows 10, Windows 7 & Kali Linux).
and i gave them the below static IP v4
Windows Server 2016
client machines Windows 7
the same IP settings for machines Windows 10 with IP: 192.168.1.200 and for Kali 192.168.1.199
All the machines were able to ping each other but they did not have internet connection.
what is the reason and how can i fix it.
Note that the virtual machine are on VMware Workstation Pro and the lan sittings for all of them is Bridged
Check adapter setting
1.use dyanamic ip when turn on your windows machine which is your server
2.Then make dynamic IP to static
3.then go to adapter setting enable and desible network
its work .

LAMPP website can't be viewed by other computers?

I have a VMware workstation which has Ubuntu in it and I've also installed LAMPP on it, I have already created a full running website using php. I could access the website on my local computer(where the vmware is installed) by using the ip address however if i try using other computers, I couldn't open the website. What am I missing?
One possible cause is that you probably have the VM interface card in NAT mode. If the interface is in NAT mode, your Ubuntu VM will be "hidden" behind the VM host.
Change the Virtual Machine network interface card to bridged mode, in Virtual Machine settings -> Network Adapter.
After setting the interface do Bridged mode, if you have a DHCP server on your network, you only have to renew the IP address of the Ubuntu machine (if it didn't do it automatically).
Check the new IP address of the Ubuntu machine (should be an IP address of your LAN). Use this IP to contact the web server.

Allow VirtualBox machine to access IIS site on host machine

I am running a virtual machine using VirtualBox and I'd like the virtual machine to able to access a site that is hosted in IIS on the host machine (my computer).
How is this possible?
Give your VM networking capabilities, connecting to the same network as the host machine will allow the two to communicate / allow you to browse the site from the VM.
http://www.virtualbox.org/manual/ch06.html

Resources