Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!ucsd!ames!hc!lanl!unm-la!unmvax!turing.unm.edu!mike From: mike@turing.unm.edu (Michael I. Bushnell) Newsgroups: comp.unix.wizards Subject: Re: Unique number generator? Message-ID: <1205@unmvax.unm.edu> Date: 15 Sep 88 02:10:06 GMT References: <775@goofy.megatest.UUCP> <5412@csli.STANFORD.EDU> <2093@stpstn.UUCP> Sender: news@unmvax.unm.edu Reply-To: mike@turing.unm.edu.UUCP (Michael I. Bushnell) Organization: University of New Mexico, Albuquerque Lines: 21 In article <2093@stpstn.UUCP> aad@stpstn.UUCP (Anthony A. Datri) writes: >In article <5412@csli.STANFORD.EDU> gandalf@csli.stanford.edu (Juergen Wagner) writes: >>Since the hostid is unique, and since there shouldn't be an upper limit to >>those numbers, just use > >Don't all MicrovaxII's have the same hostid? Huh???? Not a chance. They all have SIMILAR system ID registers, but that is a very different thing. The hostid is a variable maintained by the kernel, very analogous to the hostname. It is set by sethostid and read by gethostid. You get 32 bits of data. It is intended that this be the "canonical" Internet address for the machine. Gateways should choose their most "external" address. -- N u m q u a m G l o r i a D e o \ Michael I. Bushnell \ HASA - "A" division /\ mike@turing.unm.edu / \ {ucbvax,gatech}!unmvax!turing.unm.edu!mike