PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > Is a 192.168.1.0/21 subnet legal?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

Is a 192.168.1.0/21 subnet legal?

Réponse
 
LinkBack Outils de la discussion
Vieux 25/03/2006, 17h18   #1
davidjxyz@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Is a 192.168.1.0/21 subnet legal?

Hi there,

I want to divide a private network in to subnets (common enough). We
are currently using 192.168.1.* for the whole network, no subnets.

I want to expand the space and have three subnets with up to 2000 hosts
on each.

Can I use 192.168.[1-8].* for the first, 192.168.[9-16].* for the
second etc, with a 255.255.248.0 netmask?

I know that 192.168.*.* is a Class C which is traditionally /24 but I
also know that classful subnets are deprecated. So is /21 okay for
192.168.*.* ?

Also, on principles: each subnet should be the same size (netmask),
correct?

Thanks for all advice.

David.

  Réponse avec citation
Vieux 25/03/2006, 18h11   #2
News 2 Me
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is a 192.168.1.0/21 subnet legal?

davidjxyz@gmail.com wrote:
> I want to expand the space and have three subnets with up to 2000 hosts
> on each.
>
> Can I use 192.168.[1-8].* for the first, 192.168.[9-16].* for the
> second etc, with a 255.255.248.0 netmask?
>


I think you mean 192.168.[0-7].* and 192.168.[8-15].*

> I know that 192.168.*.* is a Class C which is traditionally /24 but I
> also know that classful subnets are deprecated. So is /21 okay for
> 192.168.*.* ?


As long as the router that interconnects the subnets supports classless
routing (CIDR: classless inter-domain routing), as any modern router
should. Although even with a classful router you could probably
configure a static route for each class C network.

> Also, on principles: each subnet should be the same size (netmask),
> correct?


With VLSM/classless routing the subnets don't need to be the same size.
Using the same address space above you could do something like:

192.168.0.0/21 2046 hosts
192.178.8.0/22 1022 hosts
192.168.12.0/23 510 hosts
192.168.14.0/24 254 hosts
192.168.15.0/25 126 hosts
192.168.15.128/25 126 hosts

for a total of six subnets or varying sizes.
  Réponse avec citation
Vieux 26/03/2006, 09h15   #3
David
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is a 192.168.1.0/21 subnet legal?

> I think you mean 192.168.[0-7].* and 192.168.[8-15].*

Yes. Silly mistake.

Thanks for the reply. That clears it up tremendously.

  Réponse avec citation
Vieux 29/03/2006, 03h08   #4
Paul Colquhoun
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is a 192.168.1.0/21 subnet legal?

On 25 Mar 2006 09:18:59 -0800, davidjxyz@gmail.com <davidjxyz@gmail.com> wrote:
| Hi there,
|
| I want to divide a private network in to subnets (common enough). We
| are currently using 192.168.1.* for the whole network, no subnets.
|
| I want to expand the space and have three subnets with up to 2000 hosts
| on each.
|
| Can I use 192.168.[1-8].* for the first, 192.168.[9-16].* for the
| second etc, with a 255.255.248.0 netmask?
|
| I know that 192.168.*.* is a Class C which is traditionally /24 but I
| also know that classful subnets are deprecated. So is /21 okay for
| 192.168.*.* ?
|
| Also, on principles: each subnet should be the same size (netmask),
| correct?


Sorry if this turns out to be a duplicate. The previous try looks like
it failed from this end.


Using a /21 netmask is OK, but the suggested subnets you gave are all
identical.

To be in different subnets, IP addresses must be different within the
first x bits of the address, where 'x' is the number in the subnet mask.

The list of /21 subnets in 192.168.0.0 starts with:

192.168.0.0/21
192.168.8.0/21
192.168.16.0/21

and so on, with the 3rd octet increasing by 8 each time. There will be
32 of these subnets, ending with

192.168.248.0/21


I hope this s.


--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h31.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08739 seconds with 12 queries