1NAMEIF(8)               Linux's Administrator's Manual               NAMEIF(8)
2
3
4

NAME

6       nameif - name network interfaces based on MAC addresses
7
8

SYNOPSIS

10       nameif [-c configfile] [-s]
11       nameif [-c configfile] [-s] {interface macaddress}
12
13

NOTE

15       This  program  is  obsolete. For replacement check ip link.  This func‐
16       tionality is also much better provided by udev methods.
17
18

DESCRIPTION

20       nameif renames network interfaces based on mac addresses. When no argu‐
21       ments  are  given  /etc/mactab  is  read.  Each line  of it contains an
22       interface name and a Ethernet MAC address. Comments are allowed  start‐
23       ing with #.  Otherwise the interfaces specified on the command line are
24       processed.  nameif looks for the interface with the given  MAC  address
25       and renames it to the name given.
26
27       When the -s argument is given all error messages go to the syslog.
28
29       When  the  -c  argument  is  given  with  a file name that file is read
30       instead of /etc/mactab.
31
32

NOTES

34       nameif should be run before the interface is up, otherwise it'll fail.
35
36

FILES

38       /etc/mactab
39
40

SEE ALSO

42       ip(8), udev(7)
43
44

BUGS

46       Only works for Ethernet currently.
47
48
49
50net-tools                         18 Oct 2000                        NAMEIF(8)
Impressum