Red Hat Bugzilla – Bug 77457
hostid replies with same identifier = 7f0100
Last modified: 2016-11-24 10:01:36 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; SunOS 5.7 sun4u)
Description of problem:
running hostid command on different stations ; got the same result =
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.run hostid on each station
Actual Results: 7f0100
Expected Results: an unique identifier for each station
The hostid program just calls the gethostid() function from the C library.
If /etc/hostid doesn't exist (where you can set hostid to anything you want),
gethostid returns IP address of your hostname.
So it depends on how have you configured your networking.
7f0100 means your hostname's IP address is on lo interface, just don't do that.