Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Virtual PC / November 2005



Tip: Looking for answers? Try searching our database.

Can't get Virtual Switch to work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jake.harvey@gmail.com - 22 Nov 2005 18:52 GMT
Hey guys,

I have scoured this forum but can't find anything similar to my
problem.

I bought Virtual PC 7 for one reason and one reason only - I want to
test web sites I develop on OS X in Internet Explorer. So I have a web
server running on OS X, and I wanted to jump onto VPC and load Internet
Explorer from there. Sounded simple enough.

I found out I'd need to use "Virtual Switch" to do this, as the host
wouldn't be accessible by IP in Shared Connection mode. So, I updated
to 7.0.2, restarted my Mac just in case, set VPC to Virtual Switch
mode, and... no go.

I am greeted with a "Limited or no connectivity" message in the Local
Area Connection Status dialog in Windows. I have no internet access (I
do have internet access when in Shared mode).

Does anyone have any idea what is going on? I am starting to feel like
this was a silly use of $260...

Thanks!
Michael Vilain - 22 Nov 2005 21:21 GMT
> Hey guys,
>
[quoted text clipped - 19 lines]
>
> Thanks!

The only way I could get my version of VPC networking to work was to
connect my cable modem to a router and all my systems to the router.  It
handled the NAT translation so that the IP addresses on the MacOS and
those on VPC worked.  I assigned an IP to the web server, one for each
site (in /etc/httpd/httpd.conf) and added these IP addresses to
/etc/hosts.  On the VPC side, I modified
c:\WINDOWS\system32\drivers\etc\hosts to have the matching IP entries.  
Now, both my MacOS X system and XP on VPC can access the local apache
server running on the MacOS X system under Shared Network access.

Signature

DeeDee, don't press that button!  DeeDee!  NO!  Dee...

jake.harvey@gmail.com - 22 Nov 2005 22:03 GMT
I'm not sure I understand that. I have a similar cofiguration (machines
connected to router, router connected to DSL), but the problem is I
cannot see the IP of the real machine from inside VPC, so I wouldn't
know what IP addresses to set in the httpd.conf file.

My router assigns IPs in the 192.168.5.x range. The IP in the VPC
machine, however, is not in this range - it is in a mysterious
192.168.172.x range. I could not ping any machine on my network by its
assigned IP address, or the router at 192.168.5.1. I ran a scanner from
within VPC, hoping to uncover IP addresses that I could ping, but only
found one other - 192.168.172.254, which mysteriously turned out to be
the router that is supposed to be on .5.1.

So, I really wouldn't know what to put in the hosts file, considering
VPC can't see anything besides the router.

I was under the impression this could only be accomplished in Virtual
Switch mode.
jake.harvey@gmail.com - 22 Nov 2005 22:03 GMT
I'm not sure I understand that. I have a similar cofiguration (machines
connected to router, router connected to DSL), but the problem is I
cannot see the IP of the real machine from inside VPC, so I wouldn't
know what IP addresses to set in the httpd.conf file.

My router assigns IPs in the 192.168.5.x range. The IP in the VPC
machine, however, is not in this range - it is in a mysterious
192.168.172.x range. I could not ping any machine on my network by its
assigned IP address, or the router at 192.168.5.1. I ran a scanner from
within VPC, hoping to uncover IP addresses that I could ping, but only
found one other - 192.168.172.254, which mysteriously turned out to be
the router that is supposed to be on .5.1.

So, I really wouldn't know what to put in the hosts file, considering
VPC can't see anything besides the router.

I was under the impression this could only be accomplished in Virtual
Switch mode.
Steve Jain - 23 Nov 2005 00:52 GMT
>I'm not sure I understand that. I have a similar cofiguration (machines
>connected to router, router connected to DSL), but the problem is I
[quoted text clipped - 14 lines]
>I was under the impression this could only be accomplished in Virtual
>Switch mode.

What is selected for the network card under the VM?  Make sure you've
got the correct network card select, i.e. the one plugged into the
network.

Have you verified that the Windows is set to DHCP?  Have you tried
renewing the IP address in Windows?  1. start->run->"cmd", "enter",
"ipconfig /renew"

Signature

Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
"This posting is provided "AS IS" with
no warranties, and confers no rights.
You assume all risk for your use.
I am not am employee of Microsoft."

jake.harvey@gmail.com - 23 Nov 2005 05:31 GMT
I assume the correct network card is selected, since I have internet
access in VPC when I am in Shared mode.

It is configured to use DHCP. Running ipconfig /renew while in Virtual
Switch mode eventually returns this message:

"An error occurred while renewing interface Local Area Connection :
unable to con
tact your DHCP server. Request has timed out.
Steve Jain - 23 Nov 2005 05:42 GMT
>I assume the correct network card is selected, since I have internet
>access in VPC when I am in Shared mode.

Not necessarily.

>It is configured to use DHCP. Running ipconfig /renew while in Virtual
>Switch mode eventually returns this message:
>
>"An error occurred while renewing interface Local Area Connection :
>unable to con
>tact your DHCP server. Request has timed out.

With that message, then Windows is not seeing your router.   Make sure
that the correct network card is selected, since you have no
connectivity.  

Are you using a wired or wireless network?

Signature

Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
"This posting is provided "AS IS" with
no warranties, and confers no rights.
You assume all risk for your use.
I am not am employee of Microsoft."

jake.harvey@gmail.com - 23 Nov 2005 16:31 GMT
I am on a wired network.

I have the following options avaiable to me:

(Default)
Built-in Ethernet
PCI Ethernet Slot GIGE, Port 2
PCI Ethernet, Port 2

I have tried all 4 selections, and in every case I get the "Limited or
no connectivity" warning, and ipconfig /renew returns the same message.
Steve Jain - 23 Nov 2005 21:22 GMT
>I am on a wired network.
>
[quoted text clipped - 7 lines]
>I have tried all 4 selections, and in every case I get the "Limited or
>no connectivity" warning, and ipconfig /renew returns the same message.

Which one is the patch cable plugged in to?  That's the only one that
matters.

Signature

Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
"This posting is provided "AS IS" with
no warranties, and confers no rights.
You assume all risk for your use.
I am not am employee of Microsoft."

jake.harvey@gmail.com - 24 Nov 2005 00:10 GMT
Built-in Ethernet, which is also (Default).
Barry Margolin - 29 Nov 2005 02:41 GMT
> Hey guys,
>
[quoted text clipped - 17 lines]
> Does anyone have any idea what is going on? I am starting to feel like
> this was a silly use of $260...

Do you have a router on your network?  If the Mac is directly connected
to your cable or DSL modem, they may only give out one address per modem
unless you pay extra.  When you use Virtual Switch, it's as if you had
two computers connected to the modem with a hub, and if the ISP only
gives out one address then VPC won't be able to get an address.

So you'll either have to pay for multiple IP's from your ISP (probably a
recurring charge of $5-10/month, if they offer it at all) or get a
router.

Signature

Barry Margolin, barmar@alum.mit.edu
Arlington, MA

jake.harvey@gmail.com - 30 Nov 2005 04:19 GMT
I have a router with other machines connected to it. The problem is the
router just isn't visible to the VPC machine when in Virtual Switch
mode.
Barry Margolin - 30 Nov 2005 13:42 GMT
> I have a router with other machines connected to it. The problem is the
> router just isn't visible to the VPC machine when in Virtual Switch
> mode.

Do you have any kind of MAC address security enabled on the router?  
When using Virtual Switch, the virtual machine will have a different MAC
address from the host machine.  Check your router's log to see if it
reports anything about the VPC's MAC address, which you should be able
to get from ipconfig/all in Windows.

P.S. Please remember to quote the context in your replies.  This is
Usenet, not a threaded forum like Google makes it seem to you.

Signature

Barry Margolin, barmar@alum.mit.edu
Arlington, MA

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.