From owner-freebsd-net Sun May 10 15:58:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23581 for freebsd-net-outgoing; Sun, 10 May 1998 15:58:12 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from roma.coe.ufrj.br (jonny@roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA23518; Sun, 10 May 1998 15:58:01 -0700 (PDT) (envelope-from jonny@coe.ufrj.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id TAA01239; Sun, 10 May 1998 19:57:58 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199805102257.TAA01239@roma.coe.ufrj.br> Subject: Re: home network In-Reply-To: <199805102239.PAA21595@hub.freebsd.org> from "Jonathan M. Bresler" at "May 10, 98 03:39:31 pm" To: jmb@FreeBSD.ORG (Jonathan M. Bresler) Date: Sun, 10 May 1998 19:57:58 -0300 (EST) Cc: jonny@coe.ufrj.br, x5gb7uk9@wna-linknet.com, freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org #define quoting(Jonathan M. Bresler) // Joao Carlos Mendes Luis wrote: // > #define quoting(Arnold J. Rimmer) // > // ed0: flags=8843 mtu 1500 // > // inet 192.168.1.2 netmask 0xff000000 broadcast 192.168.1.255 ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ // > // ether 00:00:c0:0f:62:9b // > // > Hey, your netmask is wrong ! // // no! it is not wrong! // // the netmask is limited by two factors: // upper limit: address space that you are allowed to use // from rfc1918 the maximal netmask is 255.255.0.0 // or 192.169/16, to use the correct description. // lower limit: 4 addresses which is a /30. // our network connections to uunet and crl // are both /30 networks (if they could use /31 or /32 // networks they would) // // between those two limits you are free to define the // netmask on whatever bit boundary suits your needs. Hi Jonathan, Look again: 0xff000000 is /8, which is not between /16 and /30. The broadcast address indicates a netmask of /24, but it may have been set manually. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 ( Job ) jonny@coppe.ufrj.br M.Sc. Student Electrical Engineering Universidade Federal do Rio de Janeiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message