Dom
Member
Registered: 13th Sep 03
User status: Offline
|
Right, i'm running WAMP on a XP virtual machine (using VMWare Workstation), which has the ip 192.168.112.129 and i have access to WAMP (type it into the browser, see wamps inital page, phpmyadmin etc) from the host system, windows 7, (ip - 192.168.1.20 - static from the router) perfectly fine.
Now i'm wanting to view the WAMP server from a laptop (ip - 192.168.1.3 - DHCP from router), but it isn't having any of it. I've switched on VNC on VM and i can access that from the laptop fine (just use the host systems ip, 192.168.1.20, to connect).
I've checked apache logs, nothing. I've switched off the firewall on the host system, laptop and VM system, nothing. I can ping the host fine from the laptop.
VM Workstation has created two network adaptors on the host - 192.168.241.1 and 192.168.112.1. The VM only has one adaptor, IP 192.168.112.129 and the Gateway is set to 192.168.112.2.
I'm running out of ideas, although i'm guessing when you try and access the WAMP server from the laptop via the host's ip (192.168.1.20) it isn't bridging the 'gap' between the hosts real adaptor and VM's virtual adaptors?
Anyone got any ideas?
Cheers
|
Andrew
Member
Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
|
Can you not change the VM machines to be on the same subnet and your physical machines?
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
they all were on the same subnet, have now solved it by switching VM to bridge the network which allowed the router to dish out an ip for it. Seems to work fine now....
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Simplifying the IP scheme as you have done is probably the better solution than routing in to the virtual machine.
|
pow
Premium Member
Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
|
I don't wanna use NAT you wanna use bridged mode to allow the DHCP server to give the virtual machine an address.
That SHOULD do it
|