Network Interface name change

Sami Halabi sodynet1 at gmail.com
Mon Apr 13 20:08:24 UTC 2015


Hi,
use: ifconfig em0 name em1

note that if u have em2,3,.. u need to start in descending order 3,2,1...
so u wont have collissions.

Sami
בתאריך 13 באפר׳ 2015 22:55,‏ "Raí" <rs at logitravel.com> כתב:

>
>
> El 13/4/2015, a las 19:45, Sami Halabi <sodynet1 at gmail.com> escribió:
>
> Hi,
> the simest way is to write a script that seeks for MACs and sets names
> upon system restart.
>
> of course if anyone has an elegant way or patch its bretter.
>
> Sami
>
> Thank you, I could write a script and launch it at the correct moment In
> the boot process, but my problem is that I do not know how to rename a
> network interface, in Linux one could use udev and declare the name for
> each Mac, but I do not know the Unix/BSD equivalent.
>
> Thanks
> Ray
>
>
>
>>


More information about the freebsd-net mailing list