Bridged-Network Problems

Home Forums Virtualization Virtual Server & Virtual PC Bridged-Network Problems

This topic contains 5 replies, has 2 voices, and was last updated by Avatar rsnooks 9 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Avatar
    rsnooks
    Member
    #147776

    Hey,

    Just installed Windows Virtual PC for Windows 7 to play around with Exchange as part of a course… and have run into a problem.

    My network is fine and dandy, all the VMs are communicating with each other as expected… except they cannot communicate with the host PC.

    I have setup all the VM Network Adapters to use the Ethernet Adapter of the host PC using Bridge Mode and have setup the VMs to use IP’s ranging from 192.168.1.1 – 192.168.1.25 with Gateway being 192.168.0.1 (Router).

    The host PC is 192.168.0.2, but i am unable to ping anything from 192.168.1.x to 192.168.0.x and vice-versa.

    I’m pretty much a newbie (hence the courses ;)) and don’t know where i’ve gone wrong.

    Any help would be great!

    Avatar
    Dumber
    Participant
    #200907

    Re: Bridged-Network Problems

    And what is the subnets mask you are using? /24 (or 255.255.255.0?)

    Avatar
    rsnooks
    Member
    #345274

    Re: Bridged-Network Problems

    Hi Dumber,

    The subnet mask for the VMs is set to 255.255.255.0, same as the host PC.

    Avatar
    Dumber
    Participant
    #200912

    Re: Bridged-Network Problems

    So you are different subnets.
    First of all, you can’t use a gateway located in a different subnet.
    Second, if your router can have multiple IP addresses, you need to configure a static route on this device.

    Anyhow, keep them in the same subnet, or create a routing mechanism within it.

    Avatar
    rsnooks
    Member
    #345275

    Re: Bridged-Network Problems

    Dumber;197356 wrote:
    So you are different subnets.
    First of all, you can’t use a gateway located in a different subnet.
    Second, if your router can have multiple IP addresses, you need to configure a static route on this device.

    Anyhow, keep them in the same subnet, or create a routing mechanism within it.

    They are in different subnets?

    But i have them both set as 255.255.255.0

    Sorry, i don’t understand.

    Avatar
    Dumber
    Participant
    #200915

    Re: Bridged-Network Problems

    rsnooks;197191 wrote:
    I have setup all the VM Network Adapters to use the Ethernet Adapter of the host PC using Bridge Mode and have setup the VMs to use IP’s ranging from 192.168.1.1 – 192.168.1.25 with Gateway being 192.168.0.1 (Router).

    The host PC is 192.168.0.2, but i am unable to ping anything from 192.168.1.x to 192.168.0.x and vice-versa.

    Hmmm that’s a subnetting question.
    ok, in short, since I don’t have the time to fully explain it:

    you are using 2 subnets:
    192.168.0.0 /24 (or instead of /24: 255.255.255.0)
    192.168.1.0 /24

    This will give you the following usable IP addresses which can communicate with each other without routing:
    192.168.0.1 – 192.168.0.254
    192.168.1.1 – 192.168.1.254

    So to resolve the issue you have, I would suggest to switch the IP addresses of your virtual machines to the same subnet as where your clients (your PC for example) belongs to.

    About IP and subnetting please review this thread:
    http://forums.petri.com/showthread.php?t=44120 or go to http://www.learntosubnet.com/

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.