One Day One GNU/Linux Command
=============================

nameif -- NAME network InterFaces based on MAC addresses.

Summary :

nameif is used to rename the network interfaces based on MAC
addresses. It is useful, when you have more then one network 
interfaces/cards & you want to specify the name (eth0, .. ) 
for each interfaces. 

Example:

# nameif -- Read the config info from /etc/mactab file.

# nameif -s -- Same as above. But error messages goto the syslog.

# nameif eth0 00:0D:87:77:74:5C -- Name the card with specified MAC 
                                   as eth0 and error goto syslog.

Note: 

1. Nameif should be run before the interface is up.
   Otherwise it will fail.
2. Format of the /etc/mactab file:-
   # Comments
   eth0 00:0D:87:77:74:5B
   eth1 00:0D:87:78:7D:6B

Read: man nameif

HTH :)
--
Bharathi S

_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to