Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I ultimately wish to run a FreeBSD virtual machine on my Vista computer to act as a server so I can test several projects. Im getting the FreeBSD vm set up with apache, php etc but how do I connnect to the vm from my computer? How do I configure/find the ip address I need to connect to?

I am using VMWare.

Thanks.

share|improve this question

2 Answers 2

if you did not choose static ip for the guest machine, it will be obtained via dhcp; if you have only one virtual machine, the ip will be always the same

on the bsd console type

ifconfig
route get 0.0.0.0

to see the ip address and the default gateway

you can "see" the vm by its ip address you found above

share|improve this answer
    
the IP will always be the same? If it's bridged to the host network, and you turn off the VM for >DHPC-lease-time, another device can get that address from the DHCP server –  warren Oct 6 '09 at 12:38
    
the most usual setting is NAT - therefore the address will be the same for only one vm; this is the prerequisite I built my answer from - a NAT-ed interface –  petre Oct 6 '09 at 15:16

VMWare is configured by default to bridge the Ethernet of the guest O/S with the host, with a private DHCP server. You can run the configuration utility to change this. When bridging the client O/S to the LAN, it is polite to turn OFF the DHCP server, or an angry SysAdmin will track you down.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.