View Full Version : unix machine unique identifier

23rd March 2005, 07:10 AM
Does each Linux machine have a unique identifier ? If so, how do I get it ?

23rd March 2005, 03:23 PM
When people need identifiers for machines, they usually use the MAC address of the ethernet card, as shown by the ifconfig command (HWaddr). This is not a perfect way of doing things since the card may get changed and a machine can have several cards etc. I don't think the installation of Linux/ Unix software creates any unique identifier.

24th March 2005, 04:46 AM
And it is technically possible to have two cards with the same MAC address. Yes, I've actually seen it happen. Freaked the whole IT department out.

24th March 2005, 06:10 AM
mac addresses are not on the same subnet, it will not have any effect on the network operation.

24th March 2005, 06:55 AM
The host name is an identifier used to name machines, but certainly doesn't have to be unique.

You can register machines with the Linux Counter (http://counter.li.org/) and get an id, but that's totally voluntary and doesn't have much use outside the counter.