Great Circle Associates Firewalls
(September 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Subnetting Class C Network
From: "Harry Feltsadas" <harry @ ns . fdc . nl>
Date: Tue, 1 Oct 1996 01:55:17 +2600 (MET DST)
To: jfjohnm @ ca-online . com (John McColley @ J F Engineering)
Cc: firewalls @ greatcircle . com
In-reply-to: <9609301308 . aa12861 @ cktassy . ca-online . com> from "John McColley @ J F Engineering" at Sep 30, 96 01:08:09 pm

John McColley @ J F Engineering wrote:
> 
> Let's see if I understand subnetting correctly.
> If I want to split a class C network to setup a firewall I would 
> take the existing network, say a.b.c.0 with a netmask of 
> 255.255.255.0 and instead I would end up with 2 usable networks 
> if I use a netmask of 255.255.255.192.  I would end up with 
> network a.b.c.64 with a netmask of 255.255.255.192 and network 
> a.b.c.128 with a netmask of 255.255.255.192.  Therefore, I would 
> have available addresses of a.b.c.65 (netmask 255.255.255.192) 
> through a.b.c.126, broadcast address would be a.b.c.127 and 
> a.b.c.129 (netmask 255.255.255.192) through a.b.c.191, broadcast 
> address would be a.b.c.192.
> I can't use a.b.c.0 through a.b.c.63 and a.b.c.193 through 
> a.b.c.255.
> Does this sound right?
> 
More or less. Subnetting uses a subnet mask. Any bit that is on in
the mask is a network bit. If the bit in the mask is off, the
bit belongs to a host part of the address. In your case above,
using a mask of 192 means that the first two bits are the subnet,
the rest are hosts. The first two bits give 4 networks (not two).
So in this case, you can use all four!
If you want two subnets, use a different subnet mask, and remember,
the net bit can be anywhere, so you can divide it into two parts,
as long as it's a power of two. This way, you don't lose that
many numbers!

--
      )        _)             Harry Feltsadas                      __  
     /        /              mailto:harry @
 fdc .
 nl            __  __(_ )
    _   ) _  _/           http://www.fdc.nl/~harry          ' | '/  /
 __/ __/  __/          < A Red Goose and a Red Duck >        ___/ ___/


Follow-Ups:
References:
Indexed By Date Previous: Re[2]: SCO sendmail or mmdf
From: Kyle_Amon @ jabil . com
Next: Re: NT Security
From: "Joseph W. Stroup" <nettech @ crl . com>
Indexed By Thread Previous: Subnetting Class C Network
From: "John McColley @ J F Engineering" <jfjohnm @ ca-online . com>
Next: Re: Subnetting Class C Network
From: Kim Sung Ro <ksr @ 164 . 124 . 1 . 108>

Google
 
Search Internet Search www.greatcircle.com