Operating System - HP-UX
1832642 Members
2975 Online
110043 Solutions
New Discussion

Will hostid change with IP address?

 
Fredrik Uddin-Backman2
Frequent Advisor

Will hostid change with IP address?

Hi

Does the hostid change when changing IP address on an otherwise unchanged system (HP-UX 11.11)?
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: Will hostid change with IP address?

What exactly do you mean by "hostid"?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fredrik Uddin-Backman2
Frequent Advisor

Re: Will hostid change with IP address?

hostid = output from this command

echo `/bin/uname -i` 16op | dc

That gives me the hostid that in my case Legato Networker is licensed for.
Torsten.
Acclaimed Contributor

Re: Will hostid change with IP address?

The result of

# uname -i


is the unique machine identification number.
This is bound to the hardware - IP addresses, hostnames or anything doesn't matter at all.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Gokul Chandola
Trusted Contributor

Re: Will hostid change with IP address?

Hi,
Ans is NO.

Regards,
Gokul Chandola
There is always some scope for improvment.
Steven E. Protter
Exalted Contributor

Re: Will hostid change with IP address?

Shalom Fredrik,

hostid in this context is like a MAC address for a NIC card.

Its not going to change based on changing the IP address because its hardware based information.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mridul Shrivastava
Honored Contributor

Re: Will hostid change with IP address?

It won't change by changing IP address/hostname etc.

As mentioned above it is unique and generated based on product id and serial no. of system board. It changes when system board is changed that is when we have to retain the same, but HP CE takes care of that part as well.

So as long as u r doing configuration changes its not going to affect hostid.
Time has a wonderful way of weeding out the trivial
Torsten.
Acclaimed Contributor

Re: Will hostid change with IP address?

The unique machine identification number (aka Software ID) is calculated based on machines model and serial - or for very old systems based on the core I/O MAC address.

You will find the same value if you run "machinfo" on supported systems or run the STM info tool against the system or CPU.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fredrik Uddin-Backman2
Frequent Advisor

Re: Will hostid change with IP address?

Ok, thanks to you all