1NAMEIF(8) Linux's Administrator's Manual NAMEIF(8)
2
3
4
6 nameif - name network interfaces based on MAC addresses
7
9 nameif [-c configfile] [-s]
10 nameif [-c configfile] [-s] {interface macaddress}
11
13 nameif renames network interfaces based on mac addresses. When no argu‐
14 ments are given /etc/mactab is read. Each line of it contains an
15 interface name and a Ethernet MAC address. Comments are allowed start‐
16 ing with #. Otherwise the interfaces specified on the command line are
17 processed. nameif looks for the interface with the given MAC address
18 and renames it to the name given.
19
20 When the -s argument is given all error messages go to the syslog.
21
22 When the -c argument is given with a file name that file is read
23 instead of /etc/mactab.
24
25
27 nameif should be run before the interface is up, otherwise it'll fail.
28
29
31 /etc/mactab
32
34 Only works for Ethernet currently.
35
36
37
38net-tools 18 Oct 2000 NAMEIF(8)