Network: Route traffic from Mac to my Parallels

Discussion in 'Parallels Desktop for Mac Feature Suggestions' started by DanielH48, Sep 8, 2023.

  1. DanielH48

    DanielH48 Bit poster

    Messages:
    2
    Please put in your suggestion box, that Parallels should make it easy to make VM's and Mac part of same private network in shared network mode.

    Today VM's can connect to each other. My VM's can also connect to resources on my local network, but I can't get my Mac to connect to resources on my VM, since there is no routing between my 192.x.x.x network, and the 10.x.x.x network.

    You already write "Parallels Desktop will work as a virtual router for your virtual machine". Great, then route the ip from my Mac in 192.x.x.x or whatever, to the network setup in Parallels network setting, which in my case is 10.x.x.x

    What is most strange to me is that the Parallels Network settings in Parallels Desktop Preferences already have a checkmark in "Connect Mac to this Network" but the Mac is nowhere to be found? Nor is an ip address on the Mac to the 10.x.x.x network?

    I could change to Bridged Network, but as a traveller, that is a hazard.
     
    MatthewR20 likes this.
  2. DanielH48

    DanielH48 Bit poster

    Messages:
    2
    Found this guide that fixed it. Please make a button that runs the script.
    I had the same issue but resolved it by doing a few things, I'm not if all steps are required:
    1. Uncheck "connect mac to this network" on all networks listed in Preferences -> Network
    2. (test -- still not working)
    3. sudo ifconfig bridge100 down
    4. sudo ifconfig bridge100 up
    5. sudo ifconfig bridge101 down
    6. sudo ifconfig bridge101 up
    7. (test -- still not working)
    8. restart parallels
    9. (test -- working!)
    In my case bridge100 == shared network and bridge101 is my host-only. If you have more than two bridge networks you will need to find out what ones are owned by parallels.
     
  3. BallO

    BallO Hunter

    Messages:
    127
    Hey Daniel, do you think this is related to the inability to route traffic from a VM to the Mac using the VM as a router?

    In short, I can setup a VM to connect to the WAN (via a USB wifi adapter as an example) and share this connection to other VMs via ipmasquerade, but not the Mac host. This wasn't a problem in prior versions I used with Catalina where I could set the VM's host-only IP as my router on the Mac host and everything worked great. I've gotten someone at Parallels to admit this is a problem, but no explanation whatsoever as to what exactly is the impediment.
     
  4. incab

    incab

    Messages:
    1
    I've noticed a default route that breaks my access to certain local intranet addresses. Upon deletion it temporarily restores the network.

    netstat -nr
    Code:
    Routing tables
    
    Internet:
    Destination        Gateway            Flags               Netif Expire
    default            10.0.0.1           UGScg                 en0
    default            link#18            UCSIg           bridge100      !
    default            link#20            UCSIg           bridge101      !
    10/24              link#14            UC                    en0      !
    sudo route delete 10/24
    Code:
    delete net 10
     

Share This Page