From owner-freebsd-questions Sat Oct 27 15:23:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from happy.cow.org (happy.cow.org [198.88.20.7]) by hub.freebsd.org (Postfix) with ESMTP id A853737B403 for ; Sat, 27 Oct 2001 15:23:57 -0700 (PDT) Received: (from ravi@localhost) by happy.cow.org (8.11.4/8.11.3) id f9RMNXG33590; Sat, 27 Oct 2001 18:23:33 -0400 (EDT) Date: Sat, 27 Oct 2001 18:23:33 -0400 From: ravi pina To: David Loszewski Cc: freebsd-questions@FreeBSD.ORG Subject: Re: subnetmask Message-ID: <20011027182333.K3456@happy.cow.org> Reply-To: ravi@cow.org References: <003a01c15f35$379e4830$3000b1d8@sickness> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003a01c15f35$379e4830$3000b1d8@sickness>; from stealth215@mediaone.net on Sat, Oct 27, 2001 at 06:17:50PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Oct 27, 2001 at 06:17:50PM -0400, David Loszewski said at one point in time: > I know by doing netstat -r I can find out a lot of useful info, but how > would I find out what my subnet is for my external Ethernet? ravi@happy:[ttypg][6:22pm](2):103:~> ifconfig xl0: flags=8943 mtu 1500 inet 198.88.20.7 netmask 0xffffff00 broadcast 198.88.20.255 [...] the netmask will tell you that. -r -- echo "send pgp key" | mail ravi@cow.org "i need to go watch a shitloaf of movies i rented today." -- Kris Wehner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message