if_le unit number change?

Joao Barros joao.barros at gmail.com
Wed Nov 26 10:39:53 PST 2008


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


More information about the freebsd-current mailing list