Virtual lab using Vmware - dns

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 .

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/

VMWare Fusion - External access private IP when no network available

I have IIS running in Windows 8 in a VM on my Mac. With the Networking set to Bridged mode I can access IIS from my Mac using the IP address. This works fine when I'm connected to my network.
What I need to be able to do is access IIS from my Mac when there is no network connection available, and I can't figure it out.
Background: This is so that I can demo a web app to clients in situations where I have no 3G coverage and they don't have wifi I can connect to.
Turns out you need to go to Virtual Machine -> Network Adapter -> Network Adapter Settings, then select Private To My Mac.
The VM won't be able to connect to the internet, but your Mac should be able to connect to the VM on the IP that it's assigned, even when there's no internet connection.
Remember to add rules, or turn off Windows firewall in order to let traffic through to IIS though.

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.

Ping/Access Host Machine FROM Hyper-V VM

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.

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