Second, I have a Novell 4.1 network. I also have 6 different subnets
on this network. Here's their addresses:
172.16.1.2 -- 172.16.1.95
172.17.1.2 -- 172.17.1.95
172.18.1.2 -- 172.18.1.95
172.19.1.2 -- 172.19.1.95
172.20.1.2 -- 172.20.1.95
172.21.1.2 -- 172.21.1.95
Not knowing any different, I used a net mask of 255.255.255.0.
Now that I am trying to add a gateway to one subnet. It works fine
for that subnet, but not the others. A brief explaination of how
subnets are calculated would be greatly appreaciated.
Thanks.
Will Johnson
The network mask tells you which parts of an address indicate the network
that tha host is on. A mask of 255.255.255.0 means that the left three
bytes of an address are the network, while the rightmost byte is the host
address within that network.
Hosts use this to determine whether to send something directly on the
ethernet or forward it to a router. They compare the destination address
with their own address, by looking at the network parts. So if a host with
address 172.16.1.10 is trying to get to a destination 172.16.1.20, it sees
that they both have the same network 172.16.1, so it sends there directly;
if it's trying to get to 172.20.1.30, it sees that 172.16.1 is not the same
as 172.20.1, so it sends it to a router.
--
Barry Margolin, bar...@bbnplanet.com
GTE Internetworking, Powered by BBN, Cambridge, MA
Support the anti-spam movement; see <http://www.cauce.org/>
Please don't send technical questions directly to me, post them to newsgroups.
John D Loop wrote:
> Will,
> The best I have found is "Networking with Microsoft TCP/IP", by Drew
> Heywood. Lots of good stuff (certainly not just usoft).
>
For TCP/IP books I believe 'Internetowrking with TCP/IP' Vol I from Comer
isgenerally regarded as one of the best.
.--
Peter Van Oene
Systems Engineer
Unis Lumin Inc.
van...@rogers.wave.ca
And, you chose to subnet further to 24 bits:
172.16.1.0 /24
172.17.1.0 /24
172.18.1.0 /24
172.19.1.0 /24
172.20.1.0 /24
172.21.1.0 /24
Unfortunately, with a subnet mask of 255.255.255.0 (prefix /24 ) you are
limited to 254 devices on each subnet.
If you changed to prefix /16 bits (mask 255.255.0.0) (which is legal as
long as your second byte is 16-31), your networks would be:
172.16.0.0 /16
172.17.0.0 /16
172.18.0.0 /16
172.19.0.0 /16
172.20.0.0 /16
172.21.0.0 /16
each could support 256*256-2 devices.
Note that
172.16.1.0
would now denote a node on network 172.16.0.0/16 with
a node id of
1.0
Hope this helps.
-----------------------------------------------
Tks | bo...@sbm.com
BV | bobv...@alumni.caltech.edu
Bob Vance
VP Technical Consulting, SBM
Vox 770-623-3430 11455 Lakefield Dr.
Fax 770-623-3429 Duluth, GA 30097-1511
===============================================