# CIDR, mascaras de subred

El CIDR se basa en el concepto de las [máscaras de subred](https://www.ibm.com/docs/es/aix/7.2?topic=addresses-subnet-masks). Una máscara se superpone a una dirección IP creando así una red secundaria supeditada a Internet. Esta **máscara de subred** señala al router qué porción de la dirección IP se reserva a los hosts (a cada integrante de la red) y qué parte identifica a la red.

![](/files/SJBHLlxs1MVozm0C55Ku)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.azagra.dev/linux/cidr-mascaras-de-subred.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
