Shared network with access to LAN

Discussion in 'Installation and Configuration' started by Darren_Coleman, Aug 5, 2015.

  1. Darren_Coleman

    Darren_Coleman Bit Poster

    Messages:
    10
    Hi

    I'm running Windows Server 2012 in a VM on my Parallels Desktop 10 install on my Mac (latest OSX). This is currently set up as the default "shared" networking, so the VM has a 10.211.55.x subnet. The Mac (and other computers) are on a 192.168.1.x subnet.

    I would like to be able to give users on the 192.168.1.x subnet access to my VM without having to run it in bridged mode. I don't want the VM(s) to get IPs in the 192.168.1.x range (i.e. use the DHCP server on the network) because there aren't really enough IPs to spare, and I have already set the various 10.211.55.x IPs I'm using for websites, etc within the VM as static.

    How would I go about routing traffic through to the VM? I've tried setting sudo sysctl -w net.inet.ip.forwarding=1 and putting a route to 10.211.55.0/255.255.255.0 on our router, neither works though. The router can't even ping 10.211.55.1 (the gateway on the VM) or 10.211.55.2 (my Mac Parallels network IP).

    Thoughts?
     
  2. ghtop

    ghtop Bit Poster

    Messages:
    48
    Since the 10.211.55.x subnet is NATed off the OS X host, your only real option is port forwarding via Parallels preferences. But Bridged mode is much simpler in the long run, so it may be worth the cost in extra IPs.
     
  3. Darren_Coleman

    Darren_Coleman Bit Poster

    Messages:
    10
    That's the thing, I don't really have the spare IPs on the 192.168.1.x subnet. :(
     

Share This Page