From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 20:21:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80B7037B401 for ; Mon, 7 Jul 2003 20:21:02 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF77A43FA3 for ; Mon, 7 Jul 2003 20:21:00 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 82E4451A9D; Tue, 8 Jul 2003 12:50:58 +0930 (CST) Date: Tue, 8 Jul 2003 12:50:58 +0930 From: Greg 'groggy' Lehey To: DanB Message-ID: <20030708032058.GH24420@wantadilla.lemis.com> References: <3F0A32A6.F316255@chatusa.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUk9VBj82R8Xhb8H" Content-Disposition: inline In-Reply-To: <3F0A32A6.F316255@chatusa.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd Subject: Re: netmask 0xfffffff8 broadcast 205.238.xx.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 03:21:02 -0000 --SUk9VBj82R8Xhb8H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 8 July 2003 at 2:55:34 +0000, DanB wrote: > inet 205.238.xx.1 netmask 0xfffffff8 broadcast 205.238.xx.7. Need a > netmask convertor to change 0xfffffffc to 255.255.xxx.xxx. Anybody > know of a good one? Aaah. The other answers explained the question, which wasn't immediately obvious. Note that you can do things like this as well: ifconfig xl0 205.238.xx.1/29 That gives you 29 bits of net mask, which is what you have above. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers --SUk9VBj82R8Xhb8H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD4DBQE/CjiaIubykFB6QiMRAuzGAJ9GvZLsBpz9Hu1r/EqDZcu1jvz+agCY/Dv3 9JmH830131eU1vEnu4kmhA== =SQw0 -----END PGP SIGNATURE----- --SUk9VBj82R8Xhb8H--