From owner-freebsd-net@FreeBSD.ORG Thu Jan 4 18:56:28 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45EAA16A506 for ; Thu, 4 Jan 2007 18:56:28 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id EEEF413C45E for ; Thu, 4 Jan 2007 18:56:27 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 2973BEB5B6A for ; Fri, 5 Jan 2007 02:56:27 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id VjHX3lZUYBlg for ; Fri, 5 Jan 2007 02:56:15 +0800 (CST) Received: from [192.168.1.32] (unknown [221.217.208.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id D5FDAEB58FC for ; Fri, 5 Jan 2007 02:56:15 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:x-enigmail-version:content-type; b=BPQZ30Fx9ebcGvXetzgmOAP8OGMd+mnpV1rE0o9VtsgPBq3z0LWu8iYjq8NlPmqWr MNh8noYCc2n6xb+PQPEPg== Message-ID: <459D4D88.2030708@delphij.net> Date: Fri, 05 Jan 2007 02:55:04 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: freebsd-net@freebsd.org X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigE8E5B60124D080CEC28E3C00" Subject: Different behavior of ping'ing INADDR_BROADCAST? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2007 18:56:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE8E5B60124D080CEC28E3C00 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear colleagues, I have a strange question about our way of handling INADDR_BROADCAST, the behavior looks different from all other operating systems I have tried, except Mac OS X ;-) By ping'ing 255.255.255.255 from FreeBSD (mostly RELENG_6 with some unrelated patches) or Mac OS X, I got response from another subnet (I guess that there is some configuration problem in the network, though), but no boxes (running various operating systems) on local network responds the ping. However, with OpenBSD, Linux and Windows, ping'ing 255.255.255.255 would get response from local network. Just curious why there is such difference. Literally, I think INADDR_BROADCAST is supposed to reach local network nodes, no? Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigE8E5B60124D080CEC28E3C00 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFnU2IOfuToMruuMARA7W5AJ4+h4Hwd5AQxMOAo1hderRpNGVLFACfRORw ANomTBdSE7dEsT2ktkE10LU= =8q9u -----END PGP SIGNATURE----- --------------enigE8E5B60124D080CEC28E3C00--