From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,d7b2ff5e92c2af12 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-10-31 04:37:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!tudelft.nl!surfnet.nl!newsfeed.sunet.se!news01.sunet.se!news.chalmers.se!not-for-mail From: bse@rho199.mtek.chalmers.se (Forskningsing MDC) Newsgroups: comp.unix.tru64 Subject: Re: hosts file quark in 5.1a Date: 31 Oct 2002 12:37:20 GMT Organization: Chalmers University of Technology Message-ID: References: <4757b87a.0210291409.3bd49484@posting.google.com> NNTP-Posting-Host: rho199.mtek.chalmers.se X-Trace: nyheter.chalmers.se 1036067840 29092 129.16.67.239 (31 Oct 2002 12:37:20 GMT) X-Complaints-To: abuse@chalmers.se NNTP-Posting-Date: 31 Oct 2002 12:37:20 GMT X-Newsreader: knews 0.9.5 Xref: archiver1.google.com comp.unix.tru64:9006 In article <4757b87a.0210291409.3bd49484@posting.google.com>, swhatley@hal-pc.org (Steven Whatley) writes: >Hi all, > >We found an interesting problem in our hosts file. We are going >through the process upgrading from Tru64 v4.0f to 5.1a. For some >strange reason after upgrading to v5.1a, some hostnames in the hosts >file were not being recognized. >The nemes and IPs have been changed to protect the innocient. > < parts snipped > > >It seems that any entry after a line that had leading 0's in the IP >address was not recognized. When we got rid if the leading 0's in >hplj3's IP adress, the >host myunixbox was recognized. > >206.133.19.18 hpjl3 If there is a leading 0 in part of the IP adress, that part is interpreted as an octal number. The use of four decimal numbers as an IP adress is by convention only The following presentations of IP adresses are equivalent (On Tru64 4.0f at least) 206.133.19.18 206.133.023.022 206.133.4882 3464827666 206.133.19.0x12 > >Now why were the leading zeros in there in the first palce, I have no >clue. But the problem has not been noticed on our Tru64 4.0g or >lower, IRIX, and HP-UX 11.0 systems, all of which have the exact same >/etc/hosts file. > >Has anyone else came across this? > >Thanks, >Steven -- B�rje Sennung IT-chef Maskinsektionen Telefon: +46 31 - 772 37 06 Chalmers Tekniska H�gskola Fax : +46 31 - 772 11 92 412 96 G�teborg Sweden E-mail : bse@me.chalmers.se