Multiple Network Interfaces

digen1

Bit poster
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.
 
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.
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.
 
@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.
 
@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.
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.
 
Back
Top