أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Virual machines hyper veam make VM network with your local network as one network
this is too simple, you may keep network mode in vmware as a Bridge mode and connect to your local host machine lan and and in vmware guest machine you use direct router ip of lan side and dns server provided by your isp.
I will show you the steps by connecting Windows XP machine to external network. The diagram below shows our scenario.
Windows XP is installed as virtual machine in VMware Workstation 9. At first configure static IP address in Windows XP machine as 192.168.50.102 and gateway of router’s IP as 192.168.50.100. When testing servers static IP address will be mostly used.
Now open the virtual machine settings of Windows XP machine in VMware Workstation. Select Network Adapter in Hardware tab. Here, choose the option, Bridged: Connected directly to the physical network. Then click OK button. Note: – If you choose replicate physical network connection state, IP address of virtual machine is automatically changed if you moved between networks which is assigned by DHCP server of the particular network. This works if the machine is configured to get IP address automatically from DHCP in Local area connectionproperties.
Your Windows machine is now connected to physical network. You can now Ping your default gateway (R1), and PC (Physical machine’s IP address) from Windows XP machine and vice-versa. You can also ping your virtual machine’s IP address from you machine, outside of VMware workstation application. If your configuration is right but it’s not pinging then type “ipconfig /flushdns” in the command prompt of PC (Physical machine). This will solve the problem by flushing (deleting) cache DNS records from PC.