From owner-freebsd-questions@FreeBSD.ORG Mon Dec 28 08:09:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 753191065679 for ; Mon, 28 Dec 2009 08:09:26 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id D6D148FC14 for ; Mon, 28 Dec 2009 08:09:25 +0000 (UTC) Received: (qmail invoked by alias); 28 Dec 2009 08:09:24 -0000 Received: from adsl-109.79.107.54.tellas.gr (EHLO [192.168.73.90]) [79.107.54.109] by mail.gmx.com (mp-eu004) with SMTP; 28 Dec 2009 09:09:24 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/xIFF9I6rx5EcHniCUgI9WMshvJcF5EoCWYNfB2g gS+A/VOc1TVmB8 Message-ID: <4B386798.30607@gmx.com> Date: Mon, 28 Dec 2009 10:08:56 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Len Conrad References: <200912262310826.SM01748@W500.Go2France.com> <4B373A0F.1050005@gmx.com> <200912271336889.SM01748@W500.Go2France.com> In-Reply-To: <200912271336889.SM01748@W500.Go2France.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59 Cc: freebsd-questions@freebsd.org Subject: Re: which IP+gateway for Freebsd guest VM in VMware workstation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 08:09:26 -0000 On 12/27/2009 2:36 PM, Len Conrad wrote: >> Take a look here: >> http://www.freebsd.org/doc/en/books/handbook/config-network-setup.html > > thanks, I've been setting up FreeBSD for 10 years, and have multimple FreeBSD VMs running in several ESXi hosts. Sorry, I didn't mean to offend you. I just didn't know your experience with FreeBSD. [snip] > The physical Ethernet adapter has a fixed public IP. I have only one public IP from the ISP. In the VMWare Virtual Network Editor, this i/f is listed as VNnet0, Type Bridged, Connected column is "-", and Subnet Address is "-" [snip] > I'd like to stay with bridged. You have only one IP address from your ISP, you can't use bridged, since bridged configuration will connect the guest's ethernet to another physical ethernet and that's all. You'll have to have another IP address to assign to the guest. Since you don't, you have to use some form of NAT to share the host's IP with the guest(s). > [snip] > ifconfig shows em0 with .98 and correct broadcast IP, but "status: no carrier" This is interesting, why a virtual ethernet would report "no carrier"? It probably indicates a "hardware" problem. Or at least a wrong combination of FreeBSD driver + VMware virtual hardware version. Could you boot another version of FreeBSD just to check if the em interface finds the ethernet's carrier? Assuming that you are trying to install 8.0 release, try the latest from the 7 branch... I recall that there were some problems with FreeBSD-8.0-CURRENT regarding em network interfaces a few months ago, but I never saw them myself and I was a heavy user of VMware workstation the months before 8.0 release. [snip] > I'd like to be able to ssh/ftp into the FreeBSD VM from Internet, so I'd prefer to stay away from DHCP for the FreeBSD VM networking. I am not really sure if you can achieve this, without a second IP address from your ISP. Can VMware workstation do any other form of NAT besides translating the host's IP to the guest's IP??? Anyway, investigate a bit more on the "no carrier" problem and post back to the list. Perhaps, another list that's a good candidate for such questions is: http://lists.freebsd.org/mailman/listinfo/freebsd-emulation Though it mainly is for solutions running *on* FreeBSD, guys and girls there, tend to be knowledgeable about solutions running on *something* and having FreeBSD as a guest OS. HTH, Nikos