Accessing TCP/IP apps within the VM from Mac OS X

Discussion in 'Parallels Desktop for Mac' started by editcorp, Mar 3, 2007.

  1. editcorp

    editcorp Bit poster

    Messages:
    3
    I've got Windows Xp Pro installed in the VM and everything seems to work great
    while accessing things from within the VM. The problem comes in when I'm trying
    to access those same resources from Mac OS X. I can't "see" any of the WinXP ports
    (ping, traceroute, etc all fail) from outside the VM.
    In other words:
    WinXP in VM to itself: works
    WinXP in VM to Mac OS X: works
    WinXP in VM to Internet: works
    Mac OS X to WinXP in VM: fails
    Internet to WinXP in VM: fails

    Basically I want to access applications running in the VM from Mac OS X just as if
    those resources were on a real WinXP box. Shouldn't I be able to do this? I've
    disabled the Windows Firewall in case that was the problem without any affect.
    I've also tried both Shared and Host-Only networking options without success.

    mlg
    --
     
  2. sidssp

    sidssp Hunter

    Messages:
    182
    Yes, you should be able to do that. What kind of resource or service are you trying to access? Have you configure OS/X firewall to allow that?
     
  3. editcorp

    editcorp Bit poster

    Messages:
    3
    I've tried accessing MS SQL Server as the app without luck. I've tried turning off
    the Mac firewall as well (no joy). I can access other SQL Servers on the intranet
    from this Mac so that's not the issue. What I find interesting is that I can't even
    ping the VM from the Mac on which it's running. It's sort of like a one way mirror
    such that I can see out (VM out) but not in. BTW, in case it matters...The Parallel
    Sharing Folders works just fine in either direction. Thinking about it, that's still
    networking only from the VM POV, so...

    When I set things up, I used the express install for Windows XP Pro and outside
    of trying the Host Only networking option instead of Shared, everything else is
    default. The VM is using an IP of 10.211.55.3, subnet 255.255.255.0 and
    gateway of 10.211.55.1.

    mlg
    --
     
  4. darkone

    darkone Forum Maven

    Messages:
    804
    so youre using shared networking then.... using bridged networking you should get this all to work fine.
     
  5. dkp

    dkp Forum Maven

    Messages:
    1,367
    You can't use shared networking. The VM is hidden behind NAT just as user's PC's are hidden behind a corporate firewall. Use bridged networking, and give Windows an address in the same subnet as your Mac, and of course, the same default router, name services, netmask. At this point Windows will be a peer of your Mac on your network. If that network is a wireless net you may have other challenges.
     
  6. editcorp

    editcorp Bit poster

    Messages:
    3
    Thanks everyone! It's now working fine.

    Just to let you know, even after changing the network type I still couldn't access
    the VM apps from the Mac. I knew I had disabled the Windows Firewall, but what
    I didn't look at was the Cisco VPN settings. Since I wasn't using the VPN at the
    time, I didn't pay that close of attention to it. Well, I should have! the "stateful
    firewall" setting was set to "always on" which means even when I don't have the
    VPN engaged. This appears to have been blocking things. When I turned that
    off life became good once again. :)

    Thanks for all your help!
    Michael
    --
     

Share This Page