From owner-freebsd-bugs Sat Aug 12 04:51:07 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id EAA24156 for bugs-outgoing; Sat, 12 Aug 1995 04:51:07 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id EAA24150 for ; Sat, 12 Aug 1995 04:51:03 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA08312; Sat, 12 Aug 1995 13:50:55 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id NAA07128 for freebsd-bugs@FreeBSD.org; Sat, 12 Aug 1995 13:50:54 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id KAA19047 for freebsd-bugs@FreeBSD.org; Sat, 12 Aug 1995 10:02:07 +0200 From: J Wunsch Message-Id: <199508120802.KAA19047@uriah.heep.sax.de> Subject: Re: 950726-SNAP lp0/nfs install bug ? To: freebsd-bugs@FreeBSD.org Date: Sat, 12 Aug 1995 10:02:02 +0200 (MET DST) Reply-To: freebsd-bugs@FreeBSD.org In-Reply-To: <199508120712.JAA28425@grumble.grondar.za> from "Mark Murray" at Aug 12, 95 09:12:51 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1066 Sender: bugs-owner@FreeBSD.org Precedence: bulk As Mark Murray wrote: > > > That's not the question. The problem in question is only providing > > a _default_ netmask. > > How? Given an IP address these days, you cannot infer a default netmask > like you used to with the class {ABC}'s. Putting in a number may be more > dangerous than warning the user that it is missing. The current scenario falls over, and the user has to interpret the complaint from ifconfig(8) on the Alt-F2 screen himself. I think this is inacceptable. (ifconfig is being called like ifconfig ed0 inet xxx.yyy.zzz.www netmask if there has not been entered any netmask value.) I believe most smaller corporate networks and all `private' (192.168) networks are still masked plainly 0xffffff00. Jordan, when i think more about it, don't _calculate_ a default mask. Traditional class A and B networks are always subnetted. So perhaps 0xffffff00 would be the most practical default value. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)