[BusyBox] nameif applet for 0.61.pre

Nick Fedchik fnm at fusion.ukrsat.com
Wed Dec 11 00:12:03 UTC 2002


On Wed, 11 Dec 2002, Glenn McGrath wrote:
> On Tue, 10 Dec 2002 16:00:17 +0200 (EET)
> Nick Fedchik <fnm at fusion.ukrsat.com> wrote:
>
> > I tested the applet on my 6-NICs box using new interface names, defined
> > in the /etc/mactab file.
>
> >From looking at the source code i can see the /etc/mactab file has to be
> in the format <ifname-1> <mac-address-1>\n<...-2> <...-2> etc.
Yes.
> Is it documented anywhere, i couldnt find any.
make menuconfig
See: Networking Utilities -> nameif --> Help

CONFIG_NAMEIF:

Naming Interfaces based on MAC address.
Renamed interfaces MUST be in the down state.
It is possible to use file (default: /etc/mactab)
with list of new interface names and MACs.
File format:
new_if_name    XX:XX:XX:XX:XX:XX
Maximum interface name length: IF_NAMESIZE = 16

Is something incorrect?

-- 
Nick Fedchik <fnm at fusion.ukrsat.com>
FNM3-RIPE (-UANIC), UkrSat ISP



More information about the busybox mailing list