Re: if_le unit number change?

From: Joao Barros <joao.barros_at_gmail.com>
Date: Wed, 26 Nov 2008 18:39:50 +0000
On Wed, Nov 26, 2008 at 3:21 PM, Ivan Voras <ivoras_at_freebsd.org> 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
Received on Wed Nov 26 2008 - 17:39:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC