Hi all,
I currently use a dedicated Ubuntu linux server for development and testing of web sites. I now need to be more flexible and take my work on the road with me. So, I've installed PD 4.0 and setup a Ubuntu Linux VM, but I'm having a few problems getting the network configuration perfect.
Requirements:
* My laptop (the host) running Leopard 10.5.5 will not always be connected to a network, but must still be able to run the server and allow traffic (ssh, nfs, http etc) in both directions between the host and the VM.
* Network addresses should be static in order that I can configure various names for the host and the server (using /etc/hosts in both the host and VM).
* When available, the VM must be able to use the host's internet connection (WI-FI and USB Mobile Broadband).
So, configuring PD to use its internal DHCP server to dish out addresses I can meet almost all of my requirements, apart from having static address to configure in my /etc/hosts. If I switch the PD DHCP server off and configure the 'Parallels Shared Networking Adapter' on the host with a static address and the 'eth0' interface on my Linux VM with a static address it nearly works, only that the Linux VM doesn't know the default gateway, and I don't know the default gateway to configure it. I should at this point mention that I am using shared networking rather than bridged.
So, I guess the crux of my question is: When using shared networking, if I configure my network on the host and VM with static addresses, how can I find out, in order to configure, the magic address PD is allowing the VM to use as a gateway on the host computer?
For example:
Host Airport Interface (not too relevant): IP 10.76.1.20, netmask 255.255.255.0, gateway 10.76.1.1
Host Parallels Shared Networking Adapter: 10.76.2.1, netmask 255.255.255.0
Linux VM etho: IP 10.76.2.10, netmask 255.255.255.0, gateway ????
Any thoughts?
:wq
I currently use a dedicated Ubuntu linux server for development and testing of web sites. I now need to be more flexible and take my work on the road with me. So, I've installed PD 4.0 and setup a Ubuntu Linux VM, but I'm having a few problems getting the network configuration perfect.
Requirements:
* My laptop (the host) running Leopard 10.5.5 will not always be connected to a network, but must still be able to run the server and allow traffic (ssh, nfs, http etc) in both directions between the host and the VM.
* Network addresses should be static in order that I can configure various names for the host and the server (using /etc/hosts in both the host and VM).
* When available, the VM must be able to use the host's internet connection (WI-FI and USB Mobile Broadband).
So, configuring PD to use its internal DHCP server to dish out addresses I can meet almost all of my requirements, apart from having static address to configure in my /etc/hosts. If I switch the PD DHCP server off and configure the 'Parallels Shared Networking Adapter' on the host with a static address and the 'eth0' interface on my Linux VM with a static address it nearly works, only that the Linux VM doesn't know the default gateway, and I don't know the default gateway to configure it. I should at this point mention that I am using shared networking rather than bridged.
So, I guess the crux of my question is: When using shared networking, if I configure my network on the host and VM with static addresses, how can I find out, in order to configure, the magic address PD is allowing the VM to use as a gateway on the host computer?
For example:
Host Airport Interface (not too relevant): IP 10.76.1.20, netmask 255.255.255.0, gateway 10.76.1.1
Host Parallels Shared Networking Adapter: 10.76.2.1, netmask 255.255.255.0
Linux VM etho: IP 10.76.2.10, netmask 255.255.255.0, gateway ????
Any thoughts?
:wq