From owner-freebsd-current@FreeBSD.ORG Wed Nov 26 18:39:52 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1AD71065678 for ; Wed, 26 Nov 2008 18:39:52 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 6850E8FC13 for ; Wed, 26 Nov 2008 18:39:51 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so556438fkk.11 for ; Wed, 26 Nov 2008 10:39:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=M382x2G+d3+nIVe4hmgdnxg6y+n+bp0rFyJuzCNh28k=; b=TUaj3uAfoY0wQf+aM/HW+Phiv5bd1ztoXNt71S5v79Q61ylS0aodBScvWPYwjp/yzi HXK42vplj2ySmqd8bC9NXt+BGzLBET4FxWDSCUTg6Vg7uyDJegJJ6EWDoPL9IbQ3z9oq QY1HUlZl0w5T2qGcPOu7l4kGDJ0kbaQ7SSasY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XC3zyFhsbCszmhWwGv7Z+KAa9ewwzrVoGSbaFyj1W4kG8akLv+pqp0Ww8rlM+yab8h BZ0wAdSMhvyNGXcWntrOwbeDMJnjdoZMuyepof71A3JxXOnvxbk8nuCzgD6lQhZUSP9B jJwUs2Pdhgja9BvLWa7uCZZvh+hSMTb19az4o= Received: by 10.181.148.2 with SMTP id a2mr2044732bko.117.1227724790759; Wed, 26 Nov 2008 10:39:50 -0800 (PST) Received: by 10.180.236.13 with HTTP; Wed, 26 Nov 2008 10:39:50 -0800 (PST) Message-ID: <70e8236f0811261039i2e8d24eakbc88d3c526bb580@mail.gmail.com> Date: Wed, 26 Nov 2008 18:39:50 +0000 From: "Joao Barros" To: "Ivan Voras" , "Jia-Shiun Li" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1d6d20bc0811260656t101ddb0eu35296ac973c6ba10@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: if_le unit number change? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2008 18:39:53 -0000 On Wed, Nov 26, 2008 at 3:21 PM, Ivan Voras wrote: > Jia-Shiun Li wrote: >> I use vmware to run freebsd. >> >> recent update of 8-current changed the unit number of the virtual >> network interface, an emulated if_le. usually the unit number should >> start from 0 ,namely le0. But after updating the source, le0 becomes >> le1. This makes interface name mismatching that in rc.conf. I checked >> the commit log but there seems nothing related in sys/dev/le. So >> should this be caused by something else? > > I have the same thing, but I thought it was just my bad luck sice I'm > working on the kernel. If it's the same thing you should notice in your > dmesg that both "le0" and "le1" are actually "detected" (I presume > wrongly, or at least that one of them is wrong) but ifconfig recognizes > only "le1" and errors out at any operation with le0. I'm guessing you both have only 1 virtual interface configured for that VM? Can you check? You can also try changing the interface to the enhanced type if your VMWare version allows you to.You'll get an "em" instead of an "le" -- Joao Barros