How to configure host and guest OS to talk on the same network ?

Discussion in 'Virtual PC' started by Isaac, Jun 6, 2004.

  1. Isaac

    Isaac Guest

    Hi,

    I am newbie in Virtual PC. 8o)

    How to configure host and guest OSs to talk on the same
    network ?

    Host: XP / Guest: RedHat ES 3.0

    Thanks,
     
    Isaac, Jun 6, 2004
    #1
    1. Advertisements

  2. Isaac

    Steve Jain Guest

    If they're using the same NIC (and not Shared Networking), they are on
    the same network. Make sure that you've got the TCP/IP info properly
    assigned to the guest.

    Steve Jain, Microsoft MVP for Virtual PC for Windows
    Website: http://www.essjae.com
    *** All posts are provided AS-IS, no warranty, no QoS ***
     
    Steve Jain, Jun 6, 2004
    #2
    1. Advertisements

  3. Isaac

    Isaac Guest

    Hi,

    Thank you for your response.

    Can you explain more ?

    ON Host :
    1 - LAN ( 192.168.0.1)
    2- ADSL router ( Optain IP address automaticaly )

    On GUEST VM:
    Adapter 1: (Shared network - NAT) - > Optain IP address
    automaticaly.. runing perfectly
    Aadapter 2: Local only ( IP: 192.168.0.2 )

    I can access internet from HOST and GUEST, but ping not
    work beteween machines.

    Thanks.
     
    Isaac, Jun 6, 2004
    #3
  4. I have a configuration with two hosts (named 2 and 3,
    after the KVM ports they use), each with one guest. The
    guest NICs are configured to use the host NICs, and
    connect directly to the network. From host2 , I can ping
    guest2, and host3, but not guest3. The reverse is also
    true - from host3, I can ping guest3 and host2, but not
    guest2. Each guest OS can ping its local host NIC, but
    nothing beyond that (i.e. not the other host or the other
    guest).

    Each host has 2 NICs, one configured to use static IP
    addresses on the private network for the lab (all hosts
    and guests are on the same subnet), the other is
    configured for DHCP on the public network, with access to
    the Internet. Guest2 has a second virtual NIC connected to
    the public host NIC, and is able to receive the DHCP
    configuration, ping other IP addresses on the network, and
    even access the Internet. Guest3 does not have a second
    virtual NIC, and is not configured for access to the
    public network.

    Any suggestions? The problem seems to be that packets from
    the guest machines are not actually being placed onto the
    physical network. (I have not tried to sniff the network
    yet - my next step is to install a sniffer on one of the
    hosts.) I would start by assuming that this functionality
    is just broken, but it seems that others are getting this
    to work, and my DHCP connection is working.

    Thanks in advance!
     
    Peter Laudenslager, Jun 7, 2004
    #4
  5. Isaac

    Isaac Guest

    Any suggestions?


    Thanks in advance!


     
    Isaac, Jun 9, 2004
    #5
  6. Shared networking does not allow for Host <--> Guest networking - and local
    only networking does not do Host <--> Guest networking either. You should
    change the virtual machine to networking the host LAN adapter.

    --
    Cheers,
    Benjamin Armstrong
    ======================
    Virtual PC Program Manager

    This posting is provided "AS IS" with no warranties, and confers no rights.
    You assume all risk for your use.
     
    Benjamin Armstrong [MSFT], Jun 14, 2004
    #6
    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.