Oh sorry, I read somehow you were to change NIC. With IP change it should not matter.
HP used to have this information on their site, but link I have doesn't work anymore. However, the rule of thumb so far was: Windows -> Since NW 5.7, Security ID (SID) UNIX -> via the command gethostid Linux -> from the IP address NetWare -> from the OS serial number
Solaris : From the hostid man page: gethostid() returns the 32-bit identifier for the current host, which should be unique across all hosts. This number is usually taken from the CPU board's ID PROM.
"There is no hostid or sysinfo command on HP-UX, but there are various ways to retrieve the host id--the 48-bit MAC address on the system network card." BTW - The Celestra product for HP-UX ships with a hostid command since the operating system does not supply one.
"The gethostid subroutine allows a process to retrieve the 32-bit identifier for the current host. In most cases, the host ID is stored in network standard byte order and is a DARPA Internet address for a local machine" There is the function sethostid() available for AIX which allows changing the host id.
SGI : The man page on hostid indicates that SGI will normally derive its host ID from the IP address. It also refers to the /etc/init.d/network file, where the host id is set upon startup. You can also use the hostid -h option, or the sethostid function to change the host id on SGI.
Tru-64: The gethostid function returns a host id derived from the IP address.
Of course, that used to be the fact during 6.x era and I didn't hear things have changed since...
If it's based only in the MAC address, changing only the IP address won't change the hostid, am I right? We'll have problems when we need to replace the NIC.
Is there any place where we can find this info? Like:
HP-UX -> Hostid based on MAC address AIX -> Hostid based on .... Windows -> Hostid base on ... etc etc
ble1
4 Operator
•
14.4K Posts
0
February 9th, 2007 06:00
HP used to have this information on their site, but link I have doesn't work anymore. However, the rule of thumb so far was:
Windows -> Since NW 5.7, Security ID (SID)
UNIX -> via the command gethostid
Linux -> from the IP address
NetWare -> from the OS serial number
Solaris : From the hostid man page: gethostid() returns the 32-bit identifier for the current host, which should be unique across all hosts. This number is usually taken from the CPU board's ID PROM.
HP-UX : http://dsportal.eservices.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,1171,00.html
"There is no hostid or sysinfo command on HP-UX, but there are various ways to retrieve the host id--the 48-bit MAC address on the system network card." BTW - The Celestra product for HP-UX ships with a hostid command since the operating system does not supply one.
AIX: http://www.rs6000.ibm.com/idd500/usr/share/man/info/en_US/a_doc_lib/libs/commtrf2/gethostid.htm#QF390cher
"The gethostid subroutine allows a process to retrieve the 32-bit identifier for the current host. In most cases, the host ID is stored in network standard byte order and is a DARPA Internet address for a local machine" There is the function sethostid() available for AIX which allows changing the host id.
SGI : The man page on hostid indicates that SGI will normally derive its host ID from the IP address. It also refers to the /etc/init.d/network file, where the host id is set upon startup. You can also use the hostid -h option, or the sethostid function to change the host id on SGI.
Tru-64: The gethostid function returns a host id derived from the IP address.
Of course, that used to be the fact during 6.x era and I didn't hear things have changed since...
bladd
5 Posts
0
February 8th, 2007 11:00
dpinink_silva
2 Intern
•
724 Posts
0
February 8th, 2007 12:00
ble1
4 Operator
•
14.4K Posts
0
February 8th, 2007 13:00
dpinink_silva
2 Intern
•
724 Posts
0
February 9th, 2007 05:00
Is there any place where we can find this info? Like:
HP-UX -> Hostid based on MAC address
AIX -> Hostid based on ....
Windows -> Hostid base on ... etc etc
I didn't see this in any docs I have.
dpinink_silva
2 Intern
•
724 Posts
0
February 9th, 2007 06:00