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

NAME

6       nameif - name network interfaces based on MAC addresses
7

SYNOPSIS

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

NOTE

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

DESCRIPTION

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

NOTES

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

FILES

37       /etc/mactab
38
39

SEE ALSO

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

BUGS

45       Only works for Ethernet currently.
46
47
48
49net-tools                         2008-10-03                         NAMEIF(8)
Impressum