1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Multiple IPs, Virtual PC

Discussion in 'Windows Home Server' started by Qazz, May 25, 2009.

  1. Qazz

    Qazz Guest

    All,

    Has anyone tried to run Virtual PC on Windows 2003 Server in such a way that
    you use multiple IP's on one NIC so that you can forward all traffic on
    (say,) the second IP address to the Virtual PC?

    For example:

    Suppose the hardware NIC is set to x.y.z.100, and you add x.y.z.101 IP
    address to that NIC; The Host OS (Win2k3 Server with DNS Component) uses
    x.y.z.100, but adding a VM Guest running Win2k3 with the Web Services
    (Application Server) Component.

    Specifically, just for illustrative purposes, setting up a client side IPv4
    so that DNS points to x.y.z.100, but when that client opens a browser and
    points to http://x.y.z.101/ that the web running on the VC responds?



    Is there a way to make all traffic to x.y.z.101 route to the VM/Web server?
     
  2. Brian

    Brian Guest

    "Qazz" <Qazz@discussions.microsoft.com> wrote
    > Is there a way to make all traffic to x.y.z.101 route to the VM/Web
    > server?


    If I understand you correctly, then yes... That's the way a guest VM works.
    It shares the host's NIC, but has its own IP address assigned either
    manually or through DHCP.

    Brian
     
  3. Marcin

    Marcin Guest

    This happens to be rather common arrangement. Simply configure the Virtual
    PC guest such that it uses the host's NIC as its network adapter - and
    assign IP configuration either dynamically or statically...

    hth
    Marcin

    "Qazz" <Qazz@discussions.microsoft.com> wrote in message
    news:5C4E54F1-B894-499F-AD82-85B46A0E06E5@microsoft.com...
    > All,
    >
    > Has anyone tried to run Virtual PC on Windows 2003 Server in such a way
    > that
    > you use multiple IP's on one NIC so that you can forward all traffic on
    > (say,) the second IP address to the Virtual PC?
    >
    > For example:
    >
    > Suppose the hardware NIC is set to x.y.z.100, and you add x.y.z.101 IP
    > address to that NIC; The Host OS (Win2k3 Server with DNS Component) uses
    > x.y.z.100, but adding a VM Guest running Win2k3 with the Web Services
    > (Application Server) Component.
    >
    > Specifically, just for illustrative purposes, setting up a client side
    > IPv4
    > so that DNS points to x.y.z.100, but when that client opens a browser and
    > points to http://x.y.z.101/ that the web running on the VC responds?
    >
    >
    >
    > Is there a way to make all traffic to x.y.z.101 route to the VM/Web
    > server?
     
  4. Bill Grant

    Bill Grant Guest

    The thing to remember is that the networking software does not know or
    care whether a machine is a hardware box or a vm. You use exactly the same
    network procedures. The NIC in the vm has its own MAC address and its own
    IP address and looks just like any other machine on the network. You do not
    need multiple IPs on the host NIC.

    "Marcin" <marcin@community.nospam> wrote in message
    news:etgcCLW3JHA.2656@TK2MSFTNGP05.phx.gbl...
    > This happens to be rather common arrangement. Simply configure the Virtual
    > PC guest such that it uses the host's NIC as its network adapter - and
    > assign IP configuration either dynamically or statically...
    >
    > hth
    > Marcin
    >
    > "Qazz" <Qazz@discussions.microsoft.com> wrote in message
    > news:5C4E54F1-B894-499F-AD82-85B46A0E06E5@microsoft.com...
    >> All,
    >>
    >> Has anyone tried to run Virtual PC on Windows 2003 Server in such a way
    >> that
    >> you use multiple IP's on one NIC so that you can forward all traffic on
    >> (say,) the second IP address to the Virtual PC?
    >>
    >> For example:
    >>
    >> Suppose the hardware NIC is set to x.y.z.100, and you add x.y.z.101 IP
    >> address to that NIC; The Host OS (Win2k3 Server with DNS Component) uses
    >> x.y.z.100, but adding a VM Guest running Win2k3 with the Web Services
    >> (Application Server) Component.
    >>
    >> Specifically, just for illustrative purposes, setting up a client side
    >> IPv4
    >> so that DNS points to x.y.z.100, but when that client opens a browser and
    >> points to http://x.y.z.101/ that the web running on the VC responds?
    >>
    >>
    >>
    >> Is there a way to make all traffic to x.y.z.101 route to the VM/Web
    >> server?

    >
    >
     
  5. JN

    JN Guest

    If I understand the question correctly, the OPs (Qazz) question is a little
    more specific. I believe they are trying to see if they assign multiple IPs
    to the Host, could they just get one IP to respond to guest activity. They
    might be using the Guest as a NAT so they don't drain the IP pool of the
    network. For example:

    Host IPs
    192.168.1.10
    172.28.1.10

    Guest IP (NAT Client)
    192.168.2.20

    Now Guest OS wants to access an external resource. How do you make sure
    guest goes through 192.168.1.10 route rather than 172.28.1.10?



    "Bill Grant" <not.available@online> wrote in message
    news:%23z469cZ3JHA.1420@TK2MSFTNGP04.phx.gbl...
    > The thing to remember is that the networking software does not know or
    > care whether a machine is a hardware box or a vm. You use exactly the same
    > network procedures. The NIC in the vm has its own MAC address and its own
    > IP address and looks just like any other machine on the network. You do
    > not need multiple IPs on the host NIC.
    >
    > "Marcin" <marcin@community.nospam> wrote in message
    > news:etgcCLW3JHA.2656@TK2MSFTNGP05.phx.gbl...
    >> This happens to be rather common arrangement. Simply configure the
    >> Virtual PC guest such that it uses the host's NIC as its network
    >> adapter - and assign IP configuration either dynamically or statically...
    >>
    >> hth
    >> Marcin
    >>
    >> "Qazz" <Qazz@discussions.microsoft.com> wrote in message
    >> news:5C4E54F1-B894-499F-AD82-85B46A0E06E5@microsoft.com...
    >>> All,
    >>>
    >>> Has anyone tried to run Virtual PC on Windows 2003 Server in such a way
    >>> that
    >>> you use multiple IP's on one NIC so that you can forward all traffic on
    >>> (say,) the second IP address to the Virtual PC?
    >>>
    >>> For example:
    >>>
    >>> Suppose the hardware NIC is set to x.y.z.100, and you add x.y.z.101 IP
    >>> address to that NIC; The Host OS (Win2k3 Server with DNS Component) uses
    >>> x.y.z.100, but adding a VM Guest running Win2k3 with the Web Services
    >>> (Application Server) Component.
    >>>
    >>> Specifically, just for illustrative purposes, setting up a client side
    >>> IPv4
    >>> so that DNS points to x.y.z.100, but when that client opens a browser
    >>> and
    >>> points to http://x.y.z.101/ that the web running on the VC responds?
    >>>
    >>>
    >>>
    >>> Is there a way to make all traffic to x.y.z.101 route to the VM/Web
    >>> server?

    >>
    >>

    >
     

Share This Page