Date: Sun, 27 Dec 2009 12:42:23 +0200 From: Nikos Vassiliadis <nvass9573@gmx.com> To: Len Conrad <LConrad@Go2France.com> Cc: freebsd-questions@freebsd.org Subject: Re: which IP+gateway for Freebsd guest VM in VMware workstation Message-ID: <4B373A0F.1050005@gmx.com> In-Reply-To: <200912262310826.SM01748@W500.Go2France.com> References: <200912262310826.SM01748@W500.Go2France.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/27/2009 12:10 AM, Len Conrad wrote: > > VMWare has lots of info how to set up the (Windows XP) VMWare Workstation networking side, but not much on setting up networking in the guest OS. > > I've tried NAT and bridging, no DHCP, and can't ping anything except the localhost IPs. > > XP ipconfig shows the fixed IP, plus 2 192.168.c.d IPs from VMnet1 and VMnet8. > > I'm sure this is really simple, but my experimentation has come up with zilch. Take a look here: http://www.freebsd.org/doc/en/books/handbook/config-network-setup.html The guest OS will have an em0 interface which is connected to a host interface VMnet1, VMnet8 or similar. Actually the guest's networking configuration is simpler than the host's one. You should configure the em interface with an appropriate IP address: 1) Bridging: WinXP fixed IP and FreeBSD fixed IP for example, WinXP 192.168.10.100 and FreeBSD 192.168.10.101 2) host to host: WinXP 192.168.c.d and FreeBSD 192.168.c.x for example, WinXP 192.168.20.100 and FreeBSD 192.168.20.101 3) NAT: WinXP 192.168.e.d and FreeBSD 192.168.e.x for example, WinXP 192.168.30.100 and FreeBSD 192.168.30.101 Keep in mind that using DHCP is much more easy as you don't have to search for the appropriate address yourself, the VMware's DHCP server will offer it. Using DHCP from the FreeBSD side is as easy as typing "dhclient em0". HTH, Nikos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B373A0F.1050005>