Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2001 10:59:32 +0700
From:      Igor Podlesny <poige@morning.ru>
To:        "John Brooks" <john@day-light.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: IP resolving to Octal
Message-ID:  <8546644020.20010618105932@morning.ru>
In-Reply-To: <000501c0f79d$ff696fc0$0b00a8c0@dle>
References:  <000501c0f79d$ff696fc0$0b00a8c0@dle>

next in thread | previous in thread | raw e-mail | index | archive | help

I  met  such kind of difference trying use ping 0xIPIPIPIP. In FreeBSD
it  works at is should (imho), but Linux's networking doesn't give any
respect to this notation form. I thnik it's its drawback, not BSD's...

> I assisted a friend to setup a new FreeBSD4.3 box (the first in his
> network). Network has 50+ linux boxes resolving from hosts files in this
> format (don't ask me why, it's his format):

> 010.000.010.012   charity.cs.domain.edu
> 010.000.010.013   patience.cs.domain.edu
> 010.000.010.014   virtue.cs.domain.edu
> ...

> On linux this apparently worked, on BSD it gets converted to octal and
> returned in dotted decimal. "charity" resolved to an IP of 8.0.8.10 instead
> of 10.0.10.12. Anyway, we worked through all issues first and then set up
> DNS which is working properly - he now thinks BSD is "way cool".

> My question is why would BSD and Linux interpret the same hosts file in such
> a different manner? Which should be considered the correct behavior?

> --
> John Brooks




> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message



-- 
 Igor                            mailto:poige@morning.ru



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8546644020.20010618105932>