Linux : How to generate UUID for network interface on RHEL/CentOS

By | March 11, 2014

UUIDs (Universal Unique Identifier) for network interface card can be generated using the following command :

Example :

Then you can add it to your NIC config file (assuming your interface is eth0) :

Add/modify the following :