corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Network/VM/WebServer gurus


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Network/VM/WebServer gurus
Dom
Member

Registered: 13th Sep 03
User status: Offline
30th Dec 09 at 17:30   View User's Profile U2U Member Reply With Quote

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
31st Dec 09 at 00:04   View User's Profile U2U Member Reply With Quote

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
31st Dec 09 at 00:48   View User's Profile U2U Member Reply With Quote

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

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
1st Jan 10 at 04:28   View Garage View User's Profile U2U Member Reply With Quote

Simplifying the IP scheme as you have done is probably the better solution than routing in to the virtual machine.
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
2nd Jan 10 at 12:54   View Garage View User's Profile U2U Member Reply With Quote

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

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
one for IT Bods Gambit Geek Day 27 2007
8th May 03 at 13:13
by DAYZEE
 
computer people... CorsaLad Geek Day 2 2108
12th Dec 04 at 16:24
by willay
 
website/php/http gurus Dom Geek Day 6 310
30th Jun 05 at 16:18
by Ian
 
Background IP address Dan Lewis Geek Day 5 227
26th Jun 08 at 11:46
by loafofbrett
 

Corsa Sport » Message Board » Off Day » Geek Day » Network/VM/WebServer gurus 29 database queries in 0.0140040 seconds