Multiple Network Interfaces

Discussion in 'Installation and Configuration of Parallels Desktop' started by digen1, Apr 20, 2016.

  1. digen1

    digen1 Bit poster

    Messages:
    2
    Hi,

    I have a Linux OS(configured as a proxy) installed as a VM inside of Parallels. The OS has the following interfaces,

    eth0 - 192.168.10.1
    eth1 - 192.168.5.1

    What I'd like to do is access the IP associated with eth1 interface from within inside of the Mac. i.e for example SSH into it and,
    have the eth0 interface use the Internet available through the Wi-Fi of the Mac OSX.

    In a nutshell, internet traffic from my Mac OSX is routed through the VM. Any pointers in configuring this will be much appreciated.
     
  2. Sasti@Parallels

    Sasti@Parallels Parallels Support

    Messages:
    272
    Hello digen1,
    If I understand this correctly, you would like to use your VM as a proxy to route your Mac host's internet traffic. I was able find a similar configuration arrangement to share VM's VPN with Mac host in this article. Let us know if it helps.
     
  3. digen1

    digen1 Bit poster

    Messages:
    2
    @Sasti@Parallels : Thanks for the response.

    I tried the instructions given in the link. Let me elaborate more so that you can understand it little better.

    Mac OSX(Host)
    Connecting to the internet via Wi-Fi. Getting an IP address via DHCP - 192.168.1.0/24 network.

    VM in Parallels IP address settings(Guest - Linux OS)
    eth0 - 192.168.10.1(static IP address)
    eth1 - 192.168.5.1 (static IP address)

    VM Network Settings (Parallels)
    Network1 - Bridged (Wi-Fi)
    Network2 - Host-only network

    Deleting default route,
    sudo route -n delete 192.168.1.0/24 192.168.1.1

    Obviously, once I do the above, I lose internet access in the host(Mac OSX).

    Adding route,
    sudo route -n add 192.168.5.0/24 192.168.5.1

    Irrespective of the Internet, even after setting the above route, unable to ping 192.168.5.1

    Let me know if you need any additional information.
     
  4. Sasti@Parallels

    Sasti@Parallels Parallels Support

    Messages:
    272
    Hello digen1,
    Could you try updating to the latest build of Parallels Desktop 11, http://kb.parallels.com/111603 and see if the issue remains the same. Thx, SK.
     

Share This Page