Duda de una pregunta del test

Temas relacionados con el examen de test
Cerrado
Ruben2005
Usuario registrado
Mensajes: 322
Registrado: 06 Jul 2005, 13:35
Agradecido: 0
Agradecimiento recibido: 0

Duda de una pregunta del test

Mensaje por Ruben2005 »

Dada la mascara de una red 255.240.0.0 ¿Cuantas subredes serían posible dentro de una clase A?
Yo diria que 16, pero la respuesta es 14.

Por que quita 2 si son redes, me imagino que si fuera hosts podria quitar la primera y la ultima pero en redes.

Please, alguien me puede ayudar.

Gracias

Avatar de Usuario
Trebor
PreparaTIC XIV
Mensajes: 61
Registrado: 23 Jul 2004, 08:59
Agradecido: 0
Agradecimiento recibido: 0

RE: Duda de una pregunta del test

Mensaje por Trebor »

Yo diría que la respuesta la puedes encontrar en la RFC 950 (Internet Standard Subnetting Procedure). En el apartado 2.1 cuando habla de las sub-redes dice:

It is useful to preserve and extend the interpretation of these special addresses in subnetted networks. This means the values of all zeros and all ones in the subnet field should not be assigned to actual (physical) subnets.

Como ves, parece más una recomendación que una prohibición el no usar esas 2 redes. Es lo único que he encontrado, pero quizá haya otra RFC más actual en la que lo digan más claramente.
TIC-SS

Ruben2005
Usuario registrado
Mensajes: 322
Registrado: 06 Jul 2005, 13:35
Agradecido: 0
Agradecimiento recibido: 0

RE: Duda de una pregunta del test

Mensaje por Ruben2005 »

Según lo que quieres decir, si tuviese una red 10.0.0.0 significaría que de las siguientes sub-redes que puedo generar con una máscara 255.240.0.0 son:

10.0.0.0
10.16.0.0
10.32.0.0
10.48.0.0
10.64.0.0
...
10.224.0.0
10.240.0.0

en total 16 subredes de clase A, cada una de ellas puede contener aproximadamente 1 millon de hosts. Entonces, ¿cómo es posible que se utilicen 2 millones de IPs sólo para multidifusión?.

Creo que lo que dice la RFC es que no se pueden utilizar los 1 y 0 en TODA la parte de red (y también dice lo mismo para la parte de host), es decir, no podría utilizar las siguientes redes:

0.0.0.0 hasta 0.255.255.255
127.0.0.0 hasta 127.255.255.255

pero el resto si que se podría, por lo tanto en mi ejemplo anterior la respuesta seria de 16 clases A.

¿Puedes detallar por qué son 14 aparte de hacerme referencia al RFC?, ya que todavía no me queda claro ya que, como ves, yo la interpreto de otra forma.

Mil gracias.

Avatar de Usuario
Trebor
PreparaTIC XIV
Mensajes: 61
Registrado: 23 Jul 2004, 08:59
Agradecido: 0
Agradecimiento recibido: 0

RE: Duda de una pregunta del test

Mensaje por Trebor »

Creo recordar que cuando estaba preparándome el test de la oposición también me surgió esta duda junto con algunos compañeros. Intentando buscar una respuesta, dimos con la RFC que te comento. Es cierto que no es muy explícita, pero se puede interpretar del párrafo que te extraje que no se empleen todo 0s o 1s en la subred (subnet field).

Según esta posible interpretación, si tenemos x.x.y.z (con x=red, y=subred, z=host) no se podrían emplear las 2 subredes x.x.00000000.z ni x.x.11111111.z (o lo que es lo mismo x.x.0.z ni x.x.255.z).

Ignoro si luego se habla de ello en otra RFC o si se suele aplicar de forma generalizada. Yo, por lo que conozco, no creo que hubiera ningun problema en usar esas 2 subredes (y seguramente hubiera vuelto a picar si me la pusieran en un test), pero sabes que esto es un campo muy amplio y puede ser que quien pusiera esa pregunta estuviera trabajando en un lugar con esa política.

Siento no poder aclararte más, así que te aconsejo que no le des más vueltas y aproveches para estudiar otras cosas que el tiempo vuela.
TIC-SS

Carpanta
Usuario registrado
Mensajes: 78
Registrado: 23 Jul 2004, 12:57
Agradecido: 0
Agradecimiento recibido: 0

RE: Duda de una pregunta del test

Mensaje por Carpanta »

Por si quieres saber la razón porque la subnet con todo ceros o unos no se recomendaba utilizar consulta

http://www.cisco.com/en/US/tech/tk648/t ... 3f18.shtml

Aqui copio lo referente a subnet cero sacado del enlace anterior
Problems with Subnet Zero and the All-Ones Subnet
Traditionally, it was strongly recommended that subnet zero and the all-ones subnet not be used for addressing. According to RFC 950 , "It is useful to preserve and extend the interpretation of these special (network and broadcast) addresses in subnetted networks. This means the values of all zeros and all ones in the subnet field should not be assigned to actual (physical) subnets." This is the reason why network engineers required to calculate the number of subnets obtained by borrowing three bits would calculate 23-2 ( 6 ) and not 23 ( 8 ). The -2 takes into account that subnet zero and the all-ones subnet are not used traditionally.

Subnet-Zero
Using subnet zero for addressing was discouraged because of the confusion inherent in having a network and a subnet with indistinguishable addresses.

With reference to our example above, consider the IP address 172.16.1.10. If you calculate the subnet address corresponding to this IP address, the answer you arrive at is subnet 172.16.0.0 (subnet zero). Note that this subnet address is identical to network address 172.16.0.0, which was subnetted in the first place, so whenever you perform subnetting, you get a network and a subnet (subnet zero) with indistinguishable addresses. This was formerly a source of great confusion.

Referente a Subnet de todo unos
Use of the all-ones subnet for addressing has been discouraged in the past because of the confusion inherent in having a network and a subnet with identical broadcast addresses.

With reference to the example above, the broadcast address for the last subnet (subnet 172.16.224.0/19) is 172.16.255.255, which is identical to the broadcast address of the network 172.16.0.0, which was subnetted in the first place, so whenever you perform subnetting you get a network and a subnet (all-ones subnet) with identical broadcast addresses. In other words, a network engineer could configure the address 172.16.230.1/19 on a router, but if that is done, he can no longer differentiate between a local subnet broadcast (172.16.255.255 (/19)) and the complete Class B broadcast (172.16.255.255(/16)).

Cerrado

Volver a “PRIMER_EXAMEN_2005”