How to connect my virtual Machine from my desktop

Discussion in 'Virtual PC' started by ansur, Feb 6, 2009.

  1. ansur

    ansur Guest

    Hi

    I am using vista home premium stand alone notebook. I had create
    windows 2003 Virtual machine with SQL 2005 running in it. I need t
    connect SQL 2005 from my desk top which was sql client installed in it.

    can any opn pls help me to set the ip / dns settings in vista and VPC.

    Thanks a ton in advance

    Regard
    Anb
     
    ansur, Feb 6, 2009
    #1
    1. Advertisements

  2. ansur

    Bill Grant Guest

    There is no way for somebody to explain what you need to do without a bit
    more detail of your setup. How are the two physical machines connected? What
    network setting are you using on the vm?

    If the notebook and desktop are connected to the same physical network
    and set to get their network config from a DHCP server, this should work
    automatically if the vm is set to use the physical NIC in the host. The SQL
    server will look like an additional machine on the network to the networking
    software.
     
    Bill Grant, Feb 6, 2009
    #2
    1. Advertisements

  3. ansur

    ansur Guest

    Thank you Bill. :D

    Well, only one note book ehich act as both desktop and VM.
    my VM is sitting in e$.

    Thank You
    Anbu
     
    ansur, Feb 6, 2009
    #3
  4. ansur

    Bill Grant Guest

    The software for networking between the host machine and the virtual
    machine (Virtual Machine Network Services) works with the driver software
    for the network card in your host machine.

    If your host is not connected to a network, you need to install a
    Microsoft Loopback Adapter in the host machine. Look in the help files on
    the host machine on how to do this. When you have this installed you should
    see a Loopback Adapter option in the settings for the NIC in your VM. If you
    select this option, the guest and host can use this network to communicate.
     
    Bill Grant, Feb 7, 2009
    #4
  5. ansur

    Bill Grant Guest

    To install a loopback adapter in Vista, go to Control Panel | Add
    Hardware
    Select "Install the hardware that I manually select"
    Select Network Adapters
    Select Microsoft
    Select Microsoft Loopback Adapter
     
    Bill Grant, Feb 7, 2009
    #5
  6. ansur

    ansur Guest

    Thank you bill for your help. I had installed Microsoft Loopbac
    Adapter. but thit havent helped much. Let me explain in detail about m
    requirement and issue

    1. My notebook OS is vista home premium sp1 with drives c,d,e
    2. I had installed virtual PC consol
    3. my virtual pc files are in e$. having virtual PC for SQL 200
    4. In virtual PC console settings i had configured networking t
    shared networking for adapter 1
    5. after selecting this i am able to run ipconfig and it is giving I
    in virtual P
    IP
    But when i try to ping my laptop it is not able to ping and vicevers

    i believe i need to do some ip configure in laptop. can you pls advic
    me on this. Thanks a lot in advance.

    Regard
    Anb
     
    ansur, Feb 9, 2009
    #6
  7. ansur

    ansur Guest

    Thank you bill for your help. I had installed Microsoft Loopback
    Adapter. but thit havent helped much. Let me explain in detail about my
    requirement and issue.

    1. My notebook OS is vista home premium sp1 with drives c,d,e
    2. I had installed virtual PC console
    3. my virtual pc files are in e$. having virtual PC for SQL 2005
    4. In virtual PC console settings i had configured networking to shared
    networking for adapter 1.
    5. after selecting this i am able to run ipconfig and it is giving IP
    in virtual PC
    IP : 192.168.131.66
    subnet mask : 255.255.255.0
    default gateway : 192.168.131.254

    But when i try to ping my laptop it is not able to ping and viceversa

    i believe i need to do some ip configure in laptop. can you pls advice
    me on this. Thanks a lot in advance.

    Regards
    Anbu
     
    ansur, Feb 9, 2009
    #7
  8. ansur

    Bill Grant Guest

    You cannot use shared networking. You need to set the NIC in the vm to
    use the loopback adapter option. You need to manually configure the loopback
    adapter in the host and the NIC in the vm with IP addresses in the same IP
    subnet. (eg 192.168.21.1 mask 255.255.255.0 and 192.168.21.2 mask
    255.255.255.0).
     
    Bill Grant, Feb 9, 2009
    #8
  9. ansur

    ansur Guest

    Thank you bill for your great help and detailed setup details. now i a
    able to ping vm from host and reverse and able to access my portal
    million thanks for this help
     
    ansur, Feb 10, 2009
    #9
  10. Thank Bill,

    I was trying for hours to connect my visual studio to the oracle database which is running in an XP instance of virtual pc.

    Cheers.



    Bill Grant wrote:

    Re: How to connect my virtual Machine from my desktop
    09-Feb-09


    You cannot use shared networking. You need to set the NIC in the vm to
    use the loopback adapter option. You need to manually configure the loopback
    adapter in the host and the NIC in the vm with IP addresses in the same IP
    subnet. (eg 192.168.21.1 mask 255.255.255.0 and 192.168.21.2 mask
    255.255.255.0).

    Previous Posts In This Thread:

    How to connect my virtual Machine from my desktop
    Hi

    I am using vista home premium stand alone notebook. I had created
    windows 2003 Virtual machine with SQL 2005 running in it. I need to
    connect SQL 2005 from my desk top which was sql client installed in it.

    can any opn pls help me to set the ip / dns settings in vista and VPC.


    Thanks a ton in advance.

    Regards
    Anbu


    --
    ansur

    Re: How to connect my virtual Machine from my desktop

    There is no way for somebody to explain what you need to do without a bit
    more detail of your setup. How are the two physical machines connected? What
    network setting are you using on the vm?

    If the notebook and desktop are connected to the same physical network
    and set to get their network config from a DHCP server, this should work
    automatically if the vm is set to use the physical NIC in the host. The SQL
    server will look like an additional machine on the network to the networking
    software.

    Re: How to connect my virtual Machine from my desktop
    Thank you Bill. :D

    Well, only one note book ehich act as both desktop and VM.
    my VM is sitting in e$.

    Thank You
    Anbu


    --
    ansur

    Re: How to connect my virtual Machine from my desktop

    The software for networking between the host machine and the virtual
    machine (Virtual Machine Network Services) works with the driver software
    for the network card in your host machine.

    If your host is not connected to a network, you need to install a
    Microsoft Loopback Adapter in the host machine. Look in the help files on
    the host machine on how to do this. When you have this installed you should
    see a Loopback Adapter option in the settings for the NIC in your VM. If you
    select this option, the guest and host can use this network to communicate.

    Re: How to connect my virtual Machine from my desktop

    To install a loopback adapter in Vista, go to Control Panel | Add
    Hardware
    Select "Install the hardware that I manually select"
    Select Network Adapters
    Select Microsoft
    Select Microsoft Loopback Adapter

    Thank you bill for your help. I had installed Microsoft LoopbackAdapter.
    Thank you bill for your help. I had installed Microsoft Loopback
    Adapter. but thit havent helped much. Let me explain in detail about my
    requirement and issue.

    1. My notebook OS is vista home premium sp1 with drives c,d,e
    2. I had installed virtual PC console
    3. my virtual pc files are in e$. having virtual PC for SQL 2005
    4. In virtual PC console settings i had configured networking to
    shared networking for adapter 1.
    5. after selecting this i am able to run ipconfig and it is giving IP
    in virtual PC
    IP
    But when i try to ping my laptop it is not able to ping and viceversa

    i believe i need to do some ip configure in laptop. can you pls advice
    me on this. Thanks a lot in advance.

    Regards
    Anbu


    --
    ansur

    Thank you bill for your help. I had installed Microsoft LoopbackAdapter.
    Thank you bill for your help. I had installed Microsoft Loopback
    Adapter. but thit havent helped much. Let me explain in detail about my
    requirement and issue.

    1. My notebook OS is vista home premium sp1 with drives c,d,e
    2. I had installed virtual PC console
    3. my virtual pc files are in e$. having virtual PC for SQL 2005
    4. In virtual PC console settings i had configured networking to shared
    networking for adapter 1.
    5. after selecting this i am able to run ipconfig and it is giving IP
    in virtual PC
    IP : 192.168.131.66
    subnet mask : 255.255.255.0
    default gateway : 192.168.131.254

    But when i try to ping my laptop it is not able to ping and viceversa

    i believe i need to do some ip configure in laptop. can you pls advice
    me on this. Thanks a lot in advance.

    Regards
    Anbu


    --
    ansur

    Re: How to connect my virtual Machine from my desktop

    You cannot use shared networking. You need to set the NIC in the vm to
    use the loopback adapter option. You need to manually configure the loopback
    adapter in the host and the NIC in the vm with IP addresses in the same IP
    subnet. (eg 192.168.21.1 mask 255.255.255.0 and 192.168.21.2 mask
    255.255.255.0).


    Submitted via EggHeadCafe - Software Developer Portal of Choice
    MS Access DSNLess connection string sample
    http://www.eggheadcafe.com/tutorial...3-90a461cae05b/ms-access-dsnless-connect.aspx
     
    Günther Fürst, Jan 19, 2010
    #10
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.