From owner-freebsd-questions Sun Jan 19 14:37:14 2003 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 C425737B401 for ; Sun, 19 Jan 2003 14:37:12 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2284243E4A for ; Sun, 19 Jan 2003 14:37:11 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id h0JMb484079236 for ; Sun, 19 Jan 2003 22:37:04 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id h0JMawO8079235 for freebsd-questions@FreeBSD.ORG; Sun, 19 Jan 2003 22:36:58 GMT Date: Sun, 19 Jan 2003 22:36:58 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: Local IPs and Subnets Message-ID: <20030119223658.GA79076@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <004401c2c001$1e61ee70$6501a8c0@grant> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <004401c2c001$1e61ee70$6501a8c0@grant> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-2.2 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_02_03,USER_AGENT, USER_AGENT_MUTT version=2.43 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 Sun, Jan 19, 2003 at 04:24:15PM -0500, Grant Peel wrote: > The other NIC on each machine will be used to connect to a seperate switch > to LAN them together. (fxp1). I am still baffled by calculating subnets. >=20 > My question is simple. What subnet and broadcast IP should I use when I s= et > the IP on each NIC to 192.168.0.1 , 2 , 3 ? That's a matter of choice for a private network, but the 192.168.x.y address range is usually treated as /24 networks --- it is in what used to be the old C class part of the IP space before CIDR became de-rigeur. So: Network number: 192.168.0.0 Netmask: 255.255.255.0 or 0xffffff00 or /24 Broadcast: 192.168.0.255 Which gives you a total of 254 address from 192.168.0.1 to 192.168.0.253 to use for your hosts. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message