* hosts file quark in 5.1a
@ 2002-10-29 22:09 Steven Whatley
2002-10-31 12:37 ` Forskningsing MDC
0 siblings, 1 reply; 2+ messages in thread
From: Steven Whatley @ 2002-10-29 22:09 UTC (permalink / raw)
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.
We could not telnet to system using the name 'myunixbox'. We
determined that the problem was below:
$ cat /etc/hosts
...
206.133.019.018 hplj3
206.133.129.134 myunixbox
...
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
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: hosts file quark in 5.1a
2002-10-29 22:09 hosts file quark in 5.1a Steven Whatley
@ 2002-10-31 12:37 ` Forskningsing MDC
0 siblings, 0 replies; 2+ messages in thread
From: Forskningsing MDC @ 2002-10-31 12:37 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1470 bytes --]
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-31 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 22:09 hosts file quark in 5.1a Steven Whatley
2002-10-31 12:37 ` Forskningsing MDC
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox