Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.


Go Back   Vista Forums > Misc Newsgroups > Virtual PC

RB

Vista - Static IP for Virtual PCs - No network connectivity

Reply
 
01-14-2009   #1
Solomon


 
 

Static IP for Virtual PCs - No network connectivity

If anyone can help me out there I would be very grateful. Pulling My hair out!

I have a win2k3 server running two other win2k3 virtual PCs. The host has
network settings of
IP 192.167.0.3
SM 255.255.255.0
DG 192.168.0.1
DNS 192.168.0.1

I have internet access when I use NAT on the VPCs set their IP to DHCP and
their DNS to 192.168.131.254. However, I cannot browse to the VPCs from other
machines on the network or the host. If I set the VPCs to a static IP, I lose
internet connectivity and still cannot browse from the network. If I set them
to use the physical host adapter (and not use NAT), I can get to the Internet
on the VPCs but my host loses internet connectivity. I have never been able
to browse to a VPC from another computer on the network or the host (ping
times out).

We have a Linksys router with DHCP enabled. I eventually would like to run
IIS on a VPC and route port 80 to the static IP address. I understand why
most of these are happening, just not sure what the solution is for getting
these VPCs as full citizens of our network.

Thanks.
Sol

My System SpecsSystem Spec
01-14-2009   #2
Steve Jain [MVP]


 
 

Re: Static IP for Virtual PCs - No network connectivity

On Wed, 14 Jan 2009 14:52:01 -0800, Solomon
<Solomon@xxxxxx> wrote:
Quote:

>If anyone can help me out there I would be very grateful. Pulling My hair out!
>
>I have a win2k3 server running two other win2k3 virtual PCs. The host has
>network settings of
>IP 192.167.0.3
>SM 255.255.255.0
>DG 192.168.0.1
>DNS 192.168.0.1
>
>I have internet access when I use NAT on the VPCs set their IP to DHCP and
>their DNS to 192.168.131.254. However, I cannot browse to the VPCs from other
>machines on the network or the host. If I set the VPCs to a static IP, I lose
>internet connectivity and still cannot browse from the network. If I set them
>to use the physical host adapter (and not use NAT), I can get to the Internet
>on the VPCs but my host loses internet connectivity. I have never been able
>to browse to a VPC from another computer on the network or the host (ping
>times out).
>
>We have a Linksys router with DHCP enabled. I eventually would like to run
>IIS on a VPC and route port 80 to the static IP address. I understand why
>most of these are happening, just not sure what the solution is for getting
>these VPCs as full citizens of our network.
>
>Thanks.
>Sol
Is the host getting a DHCP IP too? If not, are you sure that DHCP is
not assigning .3 to your VM?

What IPs are you using when you set the VM to static IP? Are you sure
they're free? Are you matching up the GW and DNS to the host also?

--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
My System SpecsSystem Spec
01-14-2009   #3
Solomon


 
 

Re: Static IP for Virtual PCs - No network connectivity

Yeah, the host definitely has a static IP. When I run IPCONFIG on the VM, I
get a different IP address.

I am relatively sure the VMs are not using an already assigned IP, but I
will check. I am using the same DNS and GW.

I should be using NAT, correct? Not Loopback or something else?

Thanks for getting back to me so quick!

Solomon

"Steve Jain [MVP]" wrote:
Quote:

> On Wed, 14 Jan 2009 14:52:01 -0800, Solomon
> <Solomon@xxxxxx> wrote:
>
Quote:

> >If anyone can help me out there I would be very grateful. Pulling My hair out!
> >
> >I have a win2k3 server running two other win2k3 virtual PCs. The host has
> >network settings of
> >IP 192.167.0.3
> >SM 255.255.255.0
> >DG 192.168.0.1
> >DNS 192.168.0.1
> >
> >I have internet access when I use NAT on the VPCs set their IP to DHCP and
> >their DNS to 192.168.131.254. However, I cannot browse to the VPCs from other
> >machines on the network or the host. If I set the VPCs to a static IP, I lose
> >internet connectivity and still cannot browse from the network. If I set them
> >to use the physical host adapter (and not use NAT), I can get to the Internet
> >on the VPCs but my host loses internet connectivity. I have never been able
> >to browse to a VPC from another computer on the network or the host (ping
> >times out).
> >
> >We have a Linksys router with DHCP enabled. I eventually would like to run
> >IIS on a VPC and route port 80 to the static IP address. I understand why
> >most of these are happening, just not sure what the solution is for getting
> >these VPCs as full citizens of our network.
> >
> >Thanks.
> >Sol
>
> Is the host getting a DHCP IP too? If not, are you sure that DHCP is
> not assigning .3 to your VM?
>
> What IPs are you using when you set the VM to static IP? Are you sure
> they're free? Are you matching up the GW and DNS to the host also?
>
> --
> Cheers,
> Steve Jain, Virtual Machine MVP
> http://vpc.essjae.com/
>
My System SpecsSystem Spec
01-15-2009   #4
Bill Grant


 
 

Re: Static IP for Virtual PCs - No network connectivity

No, you should not be using Shared Networking (NAT). To be able to direct
traffic from your Linksys to a vm, that vm must look like another machine on
your private LAN. It should be set to the physical NIC option and it should
get its config from DHCP on the Linksys. The host machine and the vms should
all have IP addresses in the same IP subnet and use the Linksys as the
gateway.

Set the vm to the physical NIC option and set it to obtain an IP and
DNS automatically. When you boot it up it should get its config from DHCP.

This setting should not affect how the host connects to the Internet.
If it does, there may be a problem with the driver for your network card.
Some drivers do not work well with VMNS (Virtual Machine Network Services)
which is the code that allows the vms to use the physical NIC.

"Solomon" <Solomon@xxxxxx> wrote in message
news:04041C5A-B862-4668-B4D4-614B91E319A1@xxxxxx
Quote:

> Yeah, the host definitely has a static IP. When I run IPCONFIG on the VM,
> I
> get a different IP address.
>
> I am relatively sure the VMs are not using an already assigned IP, but I
> will check. I am using the same DNS and GW.
>
> I should be using NAT, correct? Not Loopback or something else?
>
> Thanks for getting back to me so quick!
>
> Solomon
>
> "Steve Jain [MVP]" wrote:
>
Quote:

>> On Wed, 14 Jan 2009 14:52:01 -0800, Solomon
>> <Solomon@xxxxxx> wrote:
>>
Quote:

>> >If anyone can help me out there I would be very grateful. Pulling My
>> >hair out!
>> >
>> >I have a win2k3 server running two other win2k3 virtual PCs. The host
>> >has
>> >network settings of
>> >IP 192.167.0.3
>> >SM 255.255.255.0
>> >DG 192.168.0.1
>> >DNS 192.168.0.1
>> >
>> >I have internet access when I use NAT on the VPCs set their IP to DHCP
>> >and
>> >their DNS to 192.168.131.254. However, I cannot browse to the VPCs from
>> >other
>> >machines on the network or the host. If I set the VPCs to a static IP, I
>> >lose
>> >internet connectivity and still cannot browse from the network. If I set
>> >them
>> >to use the physical host adapter (and not use NAT), I can get to the
>> >Internet
>> >on the VPCs but my host loses internet connectivity. I have never been
>> >able
>> >to browse to a VPC from another computer on the network or the host
>> >(ping
>> >times out).
>> >
>> >We have a Linksys router with DHCP enabled. I eventually would like to
>> >run
>> >IIS on a VPC and route port 80 to the static IP address. I understand
>> >why
>> >most of these are happening, just not sure what the solution is for
>> >getting
>> >these VPCs as full citizens of our network.
>> >
>> >Thanks.
>> >Sol
>>
>> Is the host getting a DHCP IP too? If not, are you sure that DHCP is
>> not assigning .3 to your VM?
>>
>> What IPs are you using when you set the VM to static IP? Are you sure
>> they're free? Are you matching up the GW and DNS to the host also?
>>
>> --
>> Cheers,
>> Steve Jain, Virtual Machine MVP
>> http://vpc.essjae.com/
>>
My System SpecsSystem Spec
01-16-2009   #5
Magnusb


 
 

Re: Static IP for Virtual PCs - No network connectivity

Have you setup your DHCP to assing static ips using MAC address? If so
then the problem is maybe that the VM is using the same MAC address for
the NIC as the host.

I think it is possible to change which MAC the VM is using (think it is
the help file or try google)
My System SpecsSystem Spec
01-16-2009   #6
Mark Rae [MVP]


 
 

Re: Static IP for Virtual PCs - No network connectivity

"Magnusb" <magnusb@xxxxxx> wrote in message
news:MPG.23dac6eb1dafd941989690@xxxxxx
Quote:

> I think it is possible to change which MAC the VM is using
It is.
Quote:

> think it is in the help file
Specifically, at the bottom of the topic entitled Troubleshooting Virtual PC


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

My System SpecsSystem Spec
01-16-2009   #7
Bo Berglund


 
 

Re: Static IP for Virtual PCs - No network connectivity

On Fri, 16 Jan 2009 16:32:16 +0100, Magnusb <magnusb@xxxxxx> wrote:
Quote:

>Have you setup your DHCP to assing static ips using MAC address? If so
>then the problem is maybe that the VM is using the same MAC address for
>the NIC as the host.
>
>I think it is possible to change which MAC the VM is using (think it is
>the help file or try google)
Ther MAC of the host PC:s network card and the MAC of the virtual
machine's network card are NOT the same!!!!
Where did you get thta from?
VPC assigns a unique MAC address to each new network interface it
creates in a virtual machine and it is unique to that machine (as it
should).

--

Bo Berglund (Sweden)
My System SpecsSystem Spec
01-16-2009   #8
Bo Berglund


 
 

Re: Static IP for Virtual PCs - No network connectivity

On Wed, 14 Jan 2009 14:52:01 -0800, Solomon
<Solomon@xxxxxx> wrote:
Quote:

>If anyone can help me out there I would be very grateful. Pulling My hair out!
>
>I have a win2k3 server running two other win2k3 virtual PCs. The host has
>network settings of
>IP 192.167.0.3
>SM 255.255.255.0
>DG 192.168.0.1
>DNS 192.168.0.1
>
This will NOT work!
You have your PC and all others on different subnets!
192.167 versus 192.168!!!

--

Bo Berglund (Sweden)
My System SpecsSystem Spec
01-16-2009   #9
Mark Rae [MVP]


 
 

Re: Static IP for Virtual PCs - No network connectivity

"Bo Berglund" <boberglund@xxxxxx> wrote in message
news:vbm1n49rmn4sfpcspb2flm0g7j7v92gmhl@xxxxxx
Quote:
Quote:

>>If anyone can help me out there I would be very grateful. Pulling My hair
>>out!
>>
>>I have a win2k3 server running two other win2k3 virtual PCs. The host has
>>network settings of
>>IP 192.167.0.3
>>SM 255.255.255.0
>>DG 192.168.0.1
>>DNS 192.168.0.1
>
> This will NOT work!
> You have your PC and all others on different subnets!
> 192.167 versus 192.168!!!
192.167.0.3 is (almost) certainly a typo, as that's not even a private
address...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

My System SpecsSystem Spec
01-21-2009   #10
Magnusb


 
 

Re: Static IP for Virtual PCs - No network connectivity

In article <r8m1n4hjjjedf68q5rvjqgodnbupecqg76@xxxxxx>,
boberglund@xxxxxx says...
Quote:

> Ther MAC of the host PC:s network card and the MAC of the virtual
> machine's network card are NOT the same!!!!
> Where did you get thta from?
> VPC assigns a unique MAC address to each new network interface it
> creates in a virtual machine and it is unique to that machine (as itost or two
> should).
I am pretty sure that at one time when I was trying to setup my dhcp at
home with static ip adresses bound to mac address I saw them having the
same MAC address. Don't remember if it was same as host or it was two VM
having same MAC.

But I might remember wrong. Guess it might be possible that two VMs have
same MAC if you have copied VMC files or something. But I guess that
networking would fail completly then.

My System SpecsSystem Spec
Reply

RB


Thread Tools


Similar Threads for: Static IP for Virtual PCs - No network connectivity
Thread Forum
Virtual PC loses network connectivity Virtual PC
old static IP network Vista networking & sharing
Access a static member on a nested static class. PowerShell
static ip address on a network bridge Vista networking & sharing
Unidentified Network for static ip address Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd