unable to ping win7 from virtual xp


  1. Posts : 2
    Windows 7 Ultimate
       #1

    unable to ping win7 from virtual xp


    I am using a virtual xp from Virtual PC 2007. I cannot ping to the Windows 7 host using the host name. If I use the IP address it works fine. I am trying to connect from the virtual xp to the Windows 7 SQL Server instance. I can connect using the IP address but given that it may change I would rather use the machine name and not the IP address.

    Thanks

    David
      My Computer


  2. Posts : 9
    Windows 7
       #2

    I haven't set up virtual xp on a Win7 box, so all I can tell you right now is something of a hack.

    In the XP system, edit C:\Windows\System32\drivers\etc\hosts with notepad.
    Add a line at the bottom:
    <your IP> name_of_the_win7_host

    Obviously, since you're putting in the IP, you'll have to keep it current, but this at least adds a level of indirection so you can edit it in one place but refer to the name wherever you want.

    I'll check around to see what I can find for a more elegant solution in the meantime.

    Cheers!
    Greg Oliver [MSFT]
      My Computer


  3. Posts : 2
    Windows 7 Ultimate
    Thread Starter
       #3

    Thanks, this was one possibility but the problem is that my DHCP server has a tendency to change the IP addresses of the machines attached to it so this would not work as a permanent solution.

    I should add that I have not tried this with xpmode (seeing as that may have all the correct settings)

    David
      My Computer


  4. Posts : 9
    Windows 7
       #4

    On page 14 of this document you'll find information about configuring networks.

    Download details: Windows Virtual PC Tips

    Let us know how it works out.

    Cheers!
    Greg Oliver [MSFT]
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:27.
Find Us