Debian 5 VM need networking help

Ctoynbee

Bit poster
Hi,

I have a debian VM running in Parallels on my macbook pro.


Im going to use it as a development environment (LAMP).

I have the LAMP stuff set up I just need help with the networking for the VM.

Initially I just adding a line in my hosts file so the hostname debian.local would resolve from my laptop e.g.

debian.local 192.168.1.45

but I have to use the laptop on two different local networks both running dhcp so when I move from one network running ip addresses 10.46.14.* to the other networking 192.168.1.*

the ip address changes and I have to change my hosts file.

I just need a solution where the debian vm hostname is always resolvable from the laptop running the VM without changing the host file each time.

Many thanks,

Chris.
 
Hi,
I just need a solution where the debian vm hostname is always resolvable from the laptop running the VM without changing the host file each time.

Hi, I think that adding to VM (via menu Virtual Machine -> Configure) second network adapter in HostOnly-mode could solve the problem.
 
Back
Top