[CentOS] GRabbing MAC address

Sat Mar 1 02:50:17 UTC 2008
John R Pierce <pierce at hogranch.com>

> ip also has a one-line output mechanism:
>
>     ip -o link show
...

I do wish the mothership would update its standard network configuration 
scripts to use ip(8) rather than the legacy ifconfig(8).  Rather than 
using the legacy eth0:1 style interface aliases,  allow a single 
/etc/sysconfig/network-scripts/ifcfg-eth0 to contain a list of aliases 
which get set with

    ip addr add ......

ditto optional static routes could be set with

    ip route add ...