From owner-freebsd-questions Thu Apr 27 8:11:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mrs-2.smartworld.net (mrs-2-fix.smartworld.net [216.70.64.26]) by hub.freebsd.org (Postfix) with ESMTP id D153E37B5CE for ; Thu, 27 Apr 2000 08:11:49 -0700 (PDT) (envelope-from dnormandin@freewwweb.com) Received: from webserver (cust87.tnt1.dial.cal1.uunet.ca [209.167.219.87]) by mrs-2.smartworld.net (8.9.1a/8.9.1) with SMTP id LAA23548 for ; Thu, 27 Apr 2000 11:11:35 -0500 (CDT) Message-ID: <009301bfb05b$34f5cde0$57dba7d1@webserver> From: "Duke Normandin" To: "freebsd-questions" Subject: OT - subnet masks Date: Thu, 27 Apr 2000 09:11:10 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I need some clarification to the text book that I'm studying, please! The book says, "subnet masks permit you to suballocate network addresses." The example used is: class C address: 205.101.55 default subnet mask: 255.255.255.0 Q. When a person acquires an IP address, is he given just the netid portion of the IP, or both the netid & hostid? I ask this because the textbook example now jumps to using: subnet mask: 255.255.255.224 I understand that there are only 8 common subnet mask octets used, but Q. is it my choice which octet I choose, depending on the the number of network segments I require && the number of hosts on each segment? I can follow the example (255.255.255.224) above to the point of "seeing" that 6 subnets are available for the subnet mask of 11100000; and that the available hostids will range from 1-30. I just can see how I would determine which of the 6 available subnets (above) to use. Or can I use anyone one of the six that "works for me"? Tia.... -duke -duke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message