From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21554 invoked from network); 21 Oct 1998 15:33:10 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 21 Oct 1998 15:33:10 -0000 Received: from firewall.unidec.co.uk (firewall.unidec.co.uk [195.166.19.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA19008 for ; Wed, 21 Oct 1998 11:24:23 -0400 Received: from alpha1.unidec.co.uk (alpha1.unidec.co.uk [195.166.20.2]) by firewall.unidec.co.uk (8.8.5/8.8.5) with ESMTP id QAA03186 for ; Wed, 21 Oct 1998 16:23:28 +0100 Received: by alpha1.unidec.co.uk with Internet Mail Service (5.0.1458.49) id <45R7HTFV>; Wed, 21 Oct 1998 16:24:27 +0100 Message-ID: <90CFA4E30D16D01189560000F83047E7093529@alpha1.unidec.co.uk> From: dr john halewood To: "'axp-list@redhat.com'" Subject: RE: Off topic... but couldn't get any help... Date: Wed, 21 Oct 1998 16:24:25 +0100 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Keith Baker scribbled: > Ok... for the list... > I did fix my problem. > Those damn subnet masks got me. > Actualy it did help me find a misconfiguration of my whole system. > Can > someone give me pointer to more on subnet masks. I don't fully > understand > them. Am I right in saying that all networks defined with a subnet > mas > have to be sequential (ie... 192.168.1.0 and 192.168.2.0 not > 192.168.1.0 > and 192.168.123.0) do they have to be powers of 2 (ie 1 subenet 2 > subnets 4 subnets 8 subnets? > Sort of - you're on the right track. The way I find easiest to think of it is in terms of bits. All valid subnet masks AFAIK are all 1's followed by all 0's. The minimum subnet you can have is one with 4 addresses ( 1 for the network, 1 for broadcast, 2 for talking on). Everything else scales up from that (although historically everything has actually scaled down to it as initially it was just classes A-E and subnetting subnets only turned up relatively recently, although I'm quite possibly wrong about that). john