virtual-pc


How to connect 2 virtual hosts running on the same machine?


I have 2 virtual hosts running on my Windows XP laptop. One is Ubuntu running inside vmware player. The other is MS virtual PC (so I can test with IE6 ). The Ubuntu virtual host is running my web application with apache. I can point my browser on my laptop at the Ubuntu IP and view my web app. I read this post How to connect to host machine from within Virtual PC image and was able to get my Virtual PC to ping my physical machine using the loopback adapter. But I'm stuck on getting my Virtual PC to see my web application running in the Ubuntu vmware player host.
I think the best is to configure both Virtual machine with "Bridged network interface" so that they all get an IP Address from the same DHCP (the same as your host machine) and they will be in the same network.
Otherwise the only common thing between two NAT is the host machine.
Perhaps configuring a special routing from one subnet (vmware NAT) to the other (VPC NAT) can work, but honestly I never tried it.
I would prefer my first solution, with a firewall enabled on both VM (and configure exceptions one by one).
Vmware peer2peer two pc which is run linux ubuntu connection and testing ping:
1.Vmware workstation Edit-->Virtual Network Editor
Remove all of network of the list and create a network with pushing Add Network button.
Choose Vm1 and Vm8 and add to list.
2.Choose Vm1 from the list and tick radio button Bridged(connect VMs directly to the external
network) and choose from Bridged to: Your custom Ethernet adapter for example: Broadcom Netlink(TM)
Gigabit Ethernet and push Apply button.
3.Success your ethernet adapter and your virtual adapter is bridged.
4.You have to configure Ip adress, subnet mask and default gateway, for example my host machine
Ip address: 1.1.1.1 Subnet mask:255.255.255.0 Gateway:1.1.1.2
For Client machine:
Ip address: 1.1.1.2 Subnet mask:255.255.255.0 Gateway:1.1.1.1
5.Now you can send ping from one ubuntu machine to other ubuntu machine from terminal
firstly, ifconfig and you can see your host ip address and ping ip address.
6.Success..

Related Links

software/solution for direct booting machine will 'wake on lan' another computer and log in virtual PC
How to connect 2 virtual hosts running on the same machine?
Virtual PC (XPMode) - Setting up Loopback Adapter for guest to talk to host
Windows Virtual PC Development Setup?
VirtualPC: Can't boot into anything
Virtual PC Hard Disk spanning multiple files?
Quicker way to create duplicate Virtual PC images?
Hyper V to Virtual PC
Copied virtualPC files, what do I have to change in settings?
What's the difference between SysPrep and NewSid?

Categories

HOME
uml
hyperlink
saml-2.0
access
dojo
web-hosting
hpc
echo
naivebayes
code-generation
android-intent
null-pointer
fileserver
symfony-console
windows-xp
google-maps-autocomplete
jquery-callback
draft-js-plugins
pylons
delimiter
wcag
rpgle
winexe
tpm
rselenium
laravel-eloquent
biztalk-rule-engine
joomla2.5
dynamic-jasper
engine.io
apiary.io
magento-1.9.2.4
urlsession
spring-mvc-test
news
magento-1.9.3
laravel-elixir
sharp-snmp
tcc
contract
wc
monkey-testing
puredata
dynamic-linq
xbmc
magento-2.0.7
activeperl
qtranslate
appdomain
arules
check-mk
py2neo
jtree
docpad
ziparchive
refinerycms
jtwig
cfchart
false-sharing
realsense
jnlua
dynatree
tfs-workitem
opserver
batik
uncompress
botan
google-refine
snoop
telepat
diff3
public-html
imagefilter
mdichild
template-deduction
live555
grails-plugin-rabbitmq
terminate
scriptaculous
hibernate-entitymanager
away3d
font-awesome-4.0.0
dopostback
pyunit
flex-mobile
automationelement
tournament
jqueryform
mathematical-notation
asynchronous-wcf-call
sqlobject

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App