From owner-freebsd-isp Sun Jun 17 19:59:12 2001 Delivered-To: freebsd-isp@freebsd.org Received: from roulen-gw.morning.ru (roulen-gw.morning.ru [195.161.98.242]) by hub.freebsd.org (Postfix) with ESMTP id AFE8537B406 for ; Sun, 17 Jun 2001 19:59:03 -0700 (PDT) (envelope-from poige@morning.ru) Received: from NIC1 (seven.ld [192.168.11.7]) by roulen-gw.morning.ru (Postfix) with ESMTP id AD44ABB; Mon, 18 Jun 2001 10:59:01 +0800 (KRAST) Date: Mon, 18 Jun 2001 10:59:32 +0700 From: Igor Podlesny X-Mailer: The Bat! (v1.52 Beta/7) UNREG / CD5BF9353B3B7091 Organization: Morning Network X-Priority: 3 (Normal) Message-ID: <8546644020.20010618105932@morning.ru> To: "John Brooks" Cc: freebsd-isp@FreeBSD.ORG Subject: Re: IP resolving to Octal In-Reply-To: <000501c0f79d$ff696fc0$0b00a8c0@dle> References: <000501c0f79d$ff696fc0$0b00a8c0@dle> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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