vlsm (variable length subnet mask) máscaras de subred de ...€¦ · vlsm (variable length subnet...

62
1 http://www.redescisco.net - Paulo Colomés - [email protected] VLSM (Variable Length Subnet Mask) Máscaras de Subred de Longitud Variable Paulo Colomés Instructor CCNA Redes Cisco.NET

Upload: others

Post on 24-Jan-2021

32 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

1http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)Máscaras de Subred de Longitud Variable

Paulo Colomés – Instructor CCNARedes Cisco.NET

Page 2: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

2http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

VLSM es una técnica utilizada por dispositivos de networking donde se permite interconectar un grupo de subredes con distintas máscaras.

De ahí el nombre “Máscara de subred de longitud variable”.

Page 3: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

3http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Antes de VLSM:

FLSM (Fixed Length Subnet Mask)

Page 4: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

4http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Antes de VLSM:

FLSM (Fixed Length Subnet Mask)

- Uso de máscaras de igual longitud en todas las subredes- Poco escalable- Uso de direcciones IP no optimizado- Poca flexibilidad para el correcto diseño IP.

Page 5: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

5http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Repaso de matemática de redes: Subnetting

Bloque IP: 200.34.128.0/22

Page 6: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

6http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

¿Cómo resolvemos la asignación de direcciones IP?

Page 7: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

7http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

¿Cómo resolvemos la asignación de direcciones IP?

Opción 1: Al viejo estilo: Creación de subredes FLSM

Page 8: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

8http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Para dividir el bloque IP en subredes es necesario Representar los números decimales en su equivalente

Binario.

Bloque IP: 200.34.128.0/22 y 3 dominios de broadcast

Page 9: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

9http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

200.34.128.0/22

Page 10: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

10http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

200.34.128.0/22

IP: 11001000.00100010.10000000.00000000M: 11111111.11111111.11111100.00000000

Page 11: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

11http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

200.34.128.0/22

IP: 11001000.00100010.10000000.00000000M: 11111111.11111111.11111100.00000000

Porción de Red Porción de Host

•La porción de red es la cantidad de bits que son comunes a todos los hosts de la red. En los cálculos de subredes la porción de red NUNCA se modifica.En nuestro ejemplo, todas las direcciones IP de los hosts de la topología deben comenzar con “11001000.00100010.100000”.

•La porción de host es la que cambia e identifica a cada máquina. Solo podemos modificar esta parte para asignar IP dentro de la red.

Page 12: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

12http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

IP: 11001000.00100010.10000000.00000000M: 11111111.11111111.11111100.00000000

Porción de Red Porción de Host

Tenemos 10 bits en la porción de host. Así que podemos calcular rápidamente la cantidad de direcciones IP que tenemos para asignar en la red con la fórmula

2h -2h = cantidad de bits en la porción de host

Page 13: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

13http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

IP: 11001000.00100010.10000000.00000000M: 11111111.11111111.11111100.00000000

Porción de Red Porción de Host

h = 10EntoncesCantidad de hosts = 2n – 2Cantidad de hosts = 210 – 2Cantidad de hosts = 1024 - 2Cantidad de hosts = 1022

Page 14: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

14http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000 = 200.34.128.0 11001000.00100010.10000000.00000001 = 200.34.128.1 11001000.00100010.10000000.00000010 = 200.34.128.211001000.00100010.10000000.00000011 = 200.34.128.311001000.00100010.10000000.00000100 = 200.34.128.4…11001000.00100010.10000011.11111100 = 200.34.131.25211001000.00100010.10000011.11111101 = 200.34.131.25311001000.00100010.10000011.11111110 = 200.34.131.25411001000.00100010.10000011.11111111 = 200.34.131.255

Bloque IP 200.34.128.0/22

1024 direcciones en total

(1022 asignables a host)

Page 15: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

15http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

OK, tenemos 3 redes (determinadas por la cantidad de dominios de broadcast) y un bloque IP con 1022 direcciones IP asignables a host. (1024 en total, incluyendo dir. De subred y dir. De broadcast)

Ahora debemos dividir esa cantidad de direcciones en partes iguales para poder cumplir con la condición de crear subredes. Para esto solamente podemos utilizar los 10 bits de la porción de host.

Page 16: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

16http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

/22

Page 17: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

17http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

/22

Partimos de la máscara /22 y nos vamos desplazando bit a bit hacia la derecha ocupando la porción de host. A veces se refieren a esto como “pedir prestado” bits de host.

Page 18: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

18http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

/22

Si nos corremos 1 bit, creamos una nueva porción denominada “porción de subred”

/23

Page 19: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

19http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

Si nos corremos 1 bit, creamos una nueva porción denominada “porción de subred”.

Ahora nuestra porción de host original se redujo de 10 a 9 bits. Claro, le quitamos 1.

Porción de Red Porción de SR Porción de Host

Page 20: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

20http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000Cuando se ha creado la porción de subred, entonces ya podemos calcular rápidamente dos cosas importantes:

1. Cuántas subredes hay.2. Cuántas direcciones IP para host hay en cada subred.

Porción de Red Porción de SR Porción de Host

2h -22s

Donde “s” es la

cantidad de bits en

la porción de subred

Donde “h” es la

cantidad de bits en

la porción de host

CANTIDAD DE SUBREDES CANTIDAD DE HOSTS x SUBRED

Page 21: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

21http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Hasta hace algún tiempo se utilizaba la misma fórmula para calcular la cantidad de subredes y cantidad de host por subred. Hoy se utilizan las mencionadas.

2h -22s -2

Donde “s” es la

cantidad de bits en

la porción de subred

Donde “h” es la

cantidad de bits en

la porción de host

CANTIDAD DE SUBREDES CANTIDAD DE HOSTS x SUBRED

ANTES

Page 22: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

22http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Hasta hace algún tiempo se utilizaba la misma fórmula para calcular la cantidad de subredes y cantidad de host por subred. Hoy se utilizan las mencionadas.

2h -22s -2

Donde “s” es la

cantidad de bits en

la porción de subred

Donde “h” es la

cantidad de bits en

la porción de host

CANTIDAD DE SUBREDES CANTIDAD DE HOSTS x SUBRED

HOY

Page 23: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

23http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Hasta hace algún tiempo se utilizaba la misma fórmula para calcular la cantidad de subredes y cantidad de host por subred. Hoy se utilizan las mencionadas.

2h -22s

Donde “s” es la

cantidad de bits en

la porción de subred

Donde “h” es la

cantidad de bits en

la porción de host

CANTIDAD DE SUBREDES CANTIDAD DE HOSTS x SUBRED

HOY

Page 24: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

24http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

Porción de Red Porción de SR Porción de Host

2h -22s

21 = 2 29-2 =510

CANTIDAD DE SUBREDES CANTIDAD DE HOSTS x SUBRED

Page 25: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

25http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

Porción de Red Porción de SR Porción de Host

1era SR =11001000.00100010.10000000.00000000

2 da SR =11001000.00100010.10000010.00000000

= 200.34.128.0/23

= 200.34.130.0/23

Page 26: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

26http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

Porción de Red Porción de SR Porción de Host

1era SR =11001000.00100010.10000000.00000000

2 da SR =11001000.00100010.10000010.00000000

= 200.34.128.0/23

= 200.34.130.0/23

GRÁFICAMENTE

/22

Page 27: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

27http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

Porción de Red Porción de SR Porción de Host

1era SR =11001000.00100010.10000000.00000000

2 da SR =11001000.00100010.10000010.00000000

= 200.34.128.0/23

= 200.34.130.0/23

GRÁFICAMENTE

/23

/23

Page 28: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

28http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

Porción de Red Porción de SR Porción de Host

00.0000000000.0000000100.0000001000.0000001100.00000100….01.1111110001.1111110101.1111111001.1111111110.0000000010.0000000110.00000010…

RANGO IP DE LA SUBRED N° 0

Subred N° 0 (Primera Subred)

Subred N° 1 (Segunda Subred)

Page 29: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

29http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

Porción de Red Porción de SR Porción de Host

00.0000000000.0000000100.0000001000.0000001100.00000100….01.1111110001.1111110101.1111111001.1111111110.0000000010.0000000110.00000010…

RANGO IP DE LA SUBRED N° 0

200.34.128.0/23

200.34.129.255/23

200.34.130.0/23

Dirección de Subred (NO SE ASIGNA A HOST)

Dirección de Subred (NO SE ASIGNA A HOST)

Dirección de Broadcast(NO SE ASIGNA A HOST)

200.34.128.1/23200.34.128.2/23200.34.128.3/23200.34.128.4/23

200.34.129.252/23200.34.129.253/23200.34.129.254/23

200.34.130.1/23

200.34.130.2/23

Page 30: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

30http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

ESO FUE CUANDO NOS DESPLAZAMOS UN BIT HACIA LA PORCIÓN DE HOST. VEAMOS AHORA QUE PASA CUANDO NOS DESPLAZAMOS DOS BITS….

Page 31: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

31http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000

/22

Si nos corremos 1 bit, creamos una nueva porción denominada “porción de subred”

/24

Page 32: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

32http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.0000000011001000.00100010.10000001.00000000 11001000.00100010.10000010.00000000 11001000.00100010.10000011.00000000

/22 /24Porción de Red Porción de SR Porción de Host

Page 33: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

33http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000 11001000.00100010.10000001.00000000 11001000.00100010.10000010.00000000 11001000.00100010.10000011.00000000

SR 0 (00) 200.34.128.0 – 200.34.128.255

SR 1 (01) 200.34.129.0 – 200.34.129.255

SR 2 (10) 200.34.130.0 – 200.34.130.255

SR 3 (11) 200.34.131.0 – 200.34.131.255

Page 34: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

34http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.00000000 11001000.00100010.10000001.00000000 11001000.00100010.10000010.00000000 11001000.00100010.10000011.00000000

SR 0 (00) 200.34.128.0 – 200.34.128.255

SR 1 (01) 200.34.129.0 – 200.34.129.255

SR 2 (10) 200.34.130.0 – 200.34.130.255

SR 3 (11) 200.34.131.0 – 200.34.131.255

GRÁFICAMENTE

/24

/24 /24

/24

Page 35: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

35http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

PREGUNTA:

Si nuestra máscara original era /22 y nos desplazamos 7 bits. ¿Cuántas subredes podemos hacer? ¿Cuántos hosts alcanzarán por cada subred?

Page 36: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

36http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

R: 128 subredes de 6 host cada una

Cantidad de subredes: 2s

Cantidad de host por subred: 2h -2

Page 37: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

37http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.0000000011001000.00100010.10000000.00001000 11001000.00100010.10000000.00010000 11001000.00100010.10000000.00011000 11001000.00100010.10000000.00100000 11001000.00100010.10000000.00101000 ….

11001000.00100010.10000011.11110000 11001000.00100010.10000011.11111000

/22

/27

Page 38: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

38http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.0000000011001000.00100010.10000000.00001000 11001000.00100010.10000000.00010000 11001000.00100010.10000000.00011000 11001000.00100010.10000000.00100000 11001000.00100010.10000000.00101000 ….

11001000.00100010.10000011.11110000 11001000.00100010.10000011.11111000

00.00011000 00.0001100100.0001101000.0001101100.0001110000.0001110100.0001111000.00011111

= 200.34.128.24/29

= 200.34.128.25/29

= 200.34.128.26/29

= 200.34.128.27/29

= 200.34.128.28/29

= 200.34.128.29/29

= 200.34.128.30/29

= 200.34.128.31/29

BROADCAST

SUBREDSUBRED N° 3

Page 39: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

39http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.0000000011001000.00100010.10000000.00001000 11001000.00100010.10000000.00010000 11001000.00100010.10000000.00011000 11001000.00100010.10000000.00100000 11001000.00100010.10000000.00101000 ….

11001000.00100010.10000011.11110000 11001000.00100010.10000011.11111000

00.00100000 00.0010000100.0010001000.0010001100.0010010000.0010010100.0010011000.00100111

= 200.34.128.32/29

= 200.34.128.33/29

= 200.34.128.34/29

= 200.34.128.35/29

= 200.34.128.36/29

= 200.34.128.37/29

= 200.34.128.38/29

= 200.34.128.39/29

BROADCAST

SUBREDSUBRED N° 4

Page 40: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

40http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.0000000011001000.00100010.10000000.00001000 11001000.00100010.10000000.00010000 11001000.00100010.10000000.00011000 11001000.00100010.10000000.00100000 11001000.00100010.10000000.00101000 ….

11001000.00100010.10000011.11110000 11001000.00100010.10000011.11111000

00.00101000 00.0010100100.0010101000.0010101100.0010110000.0010110100.0010111000.00101111

= 200.34.128.40/29

= 200.34.128.41/29

= 200.34.128.42/29

= 200.34.128.43/29

= 200.34.128.44/29

= 200.34.128.45/29

= 200.34.128.46/29

= 200.34.128.47/29

BROADCAST

SUBREDSUBRED N° 5

Page 41: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

41http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Gráficamente

/22original

/29

128 subredes de 6 hosts cada una

Page 42: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

42http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

MUY BIEN! Ahora sabemos como hacer subredes.

¿Y VLSM?.

VLSM es solamente 1 paso más que hacer subredes.

Es hacer subredes a partir de una subred.

O sub-subredesO sub-sub-subredesO sub-sub-sub-subredes…Etc.

Page 43: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

43http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Tomemos una de las subredes /29 creadas en el paso anterior. Lo que haremos será utilizar la porción de host (recuerden que es la única que se puede modificar dentro de una subred) y seguir desplazándonos bits hacia la derecha.

Vamos a tomar la subred N° 4

Page 44: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

44http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

11001000.00100010.10000000.0000000011001000.00100010.10000000.00001000 11001000.00100010.10000000.00010000 11001000.00100010.10000000.00011000 11001000.00100010.10000000.00100000 11001000.00100010.10000000.00101000 ….

11001000.00100010.10000011.11110000 11001000.00100010.10000011.11111000

00.00100000 00.0010000100.0010001000.0010001100.0010010000.0010010100.0010011000.00100111

= 200.34.128.32/29

= 200.34.128.33/29

= 200.34.128.34/29

= 200.34.128.35/29

= 200.34.128.36/29

= 200.34.128.37/29

= 200.34.128.38/29

= 200.34.128.39/29

BROADCAST

SUBREDSUBRED N° 4

Page 45: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

45http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

00.00100 000

Subred HostPara crear “Sub-subredes”vamos a desplazarnosnuevamente hacia laderecha ocupando laporción de host. En estecaso 1 bit.

1 BIT

Page 46: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

46http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

00.00100 000

Subred Host

Para crear “Sub-subredes”vamos a desplazarnosnuevamente hacia laderecha ocupando laporción de host. En estecaso 1 bit.

1 BIT

Sub-Subred

Page 47: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

47http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

00.00100 000

Subred Host

1 BIT

Sub-Subred

TENEMOS 1 BIT EN LA PORCIÓN NUEVA (LA LLAMAREMOS “SUB-SUBRED”). ENTONCES TENDREMOS 2SUB SUBREDES NUEVAS

Page 48: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

48http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

00.00100 00000.00100 100

Subred HostSub-Subred

TENEMOS 1 BIT EN LA PORCIÓN NUEVA (LA LLAMAREMOS “SUB-SUBRED”). ENTONCES TENDREMOS 2SUB SUBREDES NUEVAS/30

Page 49: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

49http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

00.00100 00000.00100 100

Subred HostSub-Subred

200.34.128.32/30

200.34.128.36/30

Page 50: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

50http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

00.00100 00000.00100 100

Subred HostSub-Subred

200.34.128.32/30200.34.128.33/30200.34.128.34/30200.34.128.35/30200.34.128.36/30200.34.128.37/30200.34.128.38/30200.34.128.39/30

Page 51: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

51http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Gráficamente

/22original

/29

128 subredes de 6 hosts cada una

Page 52: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

52http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Gráficamente

/22original

/29

128 subredes de 6 hosts cada una

/30

/30

Page 53: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

53http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

O visto de otra manera

Page 54: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

54http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

/22

Page 55: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

55http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

/22

/29

/29/29 /29 /29

/29

/29

/29

122 subredes másX

Page 56: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

56http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

/22

/29

/29/29 /29 /29

/29

/29

/29

122 subredes más

/30/30

XX

Page 57: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

57http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

122 subredes másX200.34.128.0/22

200.34.128.0/29

200.34.128.8/29

200.34.128.16/29

200.34.128.24/29

200.34.128.32/29

200.34.128.32/29

200.34.128.40/29

200.34.128.48/29

X200.34.128.24/30 200.34.128.28/30

Page 58: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

58http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

200.34.128.0/22

Page 59: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

59http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

122 subredes másX200.34.128.0/22

200.34.128.0/29

200.34.128.8/29

200.34.128.16/29

200.34.128.24/29

200.34.128.32/29

200.34.128.32/29

200.34.128.40/29

200.34.128.48/29

X200.34.128.24/30 200.34.128.28/30

Page 60: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

60http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

Page 61: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

61http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

IS THERE ANY QUESTION OUT THERE?

Page 62: VLSM (Variable Length Subnet Mask) Máscaras de Subred de ...€¦ · VLSM (Variable Length Subnet Mask) 200.34.128.0/22 IP: 11001000.00100010.10000000.00000000 M: 11111111.11111111.11111100.00000000

62http://www.redescisco.net - Paulo Colomés

- [email protected]

VLSM (Variable Length Subnet Mask)

FIN

www.redescisco.net