34
Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto Rojas Reátegui

Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

  • Upload
    others

  • View
    49

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

Chapter: Subnetting y VLSM en IPV4 e IPV6

CCNA Routing and Switching

Introduction to Networks v6.0

Ing. Raúl Alberto Rojas Reátegui

Page 2: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

3© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

https://www.youtube.com/watch?v=eQE5CqbYlrw

Video Motivacional

Page 3: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

4© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Direcciones IPv4 Network Addresses

División de una red IPv4 en subredes.

Esquemas de direccionamiento IPv4.

Direcciones IPv6

División de una red IPv6.

Esquema de direccionamiento IPv6

Contenido del capitulo subnetting y VLSM en IPV4 e IPV6

Page 4: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

5© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Explicar por qué el enrutamiento es necesario para que los hosts de distintas redes puedan

comunicarse.

Describir el protocolo IP como un protocolo de comunicación utilizado para identificar un

único dispositivo en una red.

Dada una red y una máscara de subred, calcular la cantidad de direcciones de host

disponibles.

Calcular la máscara de subred necesaria para adaptarse a los requisitos de una red.

Describir los beneficios de las máscaras de subred de longitud variable (VLSM, variable

length subnet masking).

Explicar la forma en que se implementan las asignaciones de direcciones IPv6 en una red

comercial.

Objetivos del capitulo subnetting y VLSM en IPV4 e IPV6

Page 5: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

6© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Es necesario segmentar con los siguientes fines:

Permite controlar el tamaño de las redes a nivel de host.

Permite controlar el tráfico mediante la contención del tráfico de broadcast y mejorar

el rendimiento.

Facilita la administración de la red.

Facilita la configuración de la seguridad de la red.

¿Para que subnetting?

Page 6: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

7© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Direcciones de Red IPv4

Page 7: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

8© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

La dirección IPv4 es un número de 32 bits e identifica el punto de conexión entre un host y una red

Los 32bits de las direcciones IPv4 se expresan en 4 octetos de 8 bits o sus equivalentes decimales.

La dirección IP tiene dos partes:

Un NetID, que identifica una red (designado por una autoridad global

Un HostID, que identifica un host dentro de esa red

Conversion Binaria y Decimal

Direcciones IPv4

NetID HostID

32 bits

Page 8: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

9© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Conversion Binaria y Decimal

Clases de Direcciones IPv4

Clase

A

B

C

D

E

8 16 240 32

0 RED HOST HOST HOST

HOST HOST

HOSTRED RED

RED 10

110

1110

11110

RED

RED

ID GRUPO

MULTICAST

E X P E R I M E N T A L

0.0.0.0 a 127.255.255.255

128.0.0.0 a 191.255.255.255

192.0.0.0 a 223.255.255.255

224.0.0.0 a 239.255.255.255

240.0.0.0 a 247.255.255.255

Formato Rango Redes/Hosts

126/16.777.214

16.382/65.534

2.097.150/254

Dirección especial: loopbak (127.0.0.0):

* Para comunicaciones de procesos en la misma máquina.

* Nunca es propagada a la red

Page 9: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

10© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Conversion Binaria y Decimal

Clases de Direcciones IPv4

Page 10: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

11© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Conversion Binaria y Decimal

Direcciones IPv4

Page 11: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

12© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subneteo de Red IPv4FLSM (Fixed Length Subnet Masking).

Page 12: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

13© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Que debo saber antes de subnetar

Que me están solicitando redes o Host.

En la ,masacrara de subred los 0 representan Host y los 1 representan

subredes.

La cantidad de sub redes se calcula con la ecuación = 2n

La cantidad de host por subred se calcula con la ecuación = 2n-2

Saber calcular la mascara de subred

Calcular el rango de IPs

Page 13: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

14© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Como subnetar con FLSM

Identificamos la clase de dirección IP

Identificamos la mascara de Red

Aplicamos la formula:

2n ≥ Subredes

2n-2 ≥ Host

Obtener la mascara de subred

Calcular el numero de valor contante

Page 14: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

15© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

Dada la dirección IP 210.10.56.0 encontrar 6 subredes

PASO1:

Identificar la calse de dirección IP 210.10.56.0

Clase C

PASO2:

Identificar la mascara de subred para de dirección IP 210.10.56.0

255.255.255.0

Page 15: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

16© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO3:

Aplicamos la formula de subredes porque es lo solicitado

2n≥Subredes

2n>=6 si n=2 cantidad de subredes=4

Si n=3 cantidad de subredes=8

PASO4:

Obtener la mascara de subred

255.255.255.0

11111111 . 11111111 . 11111111 . 00000000

Como hay 03 bits de subredes la mascara cambiara en el ultimo octetos

11111111 . 11111111 . 11111111 . 11100000

255 . 255 . 255 . 224

Page 16: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

17© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO5:

Encontramos el numero de valor constante

256 – 224 = 32

Page 17: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

18© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

PASO6:

Obtener la los rangos de IP de cada una de las subredes

Direccion IP inicial : 210.10.56.0

Valor Constante : 32

Dirección Subred Rango direcciones IP Broadcast

210.10.56.0 210.10.56.1 A 210.10.56.30 210.10.56.31

210.10.56.32 210.10.56.33 A 210.10.56.62 210.10.56.63

210.10.56.64 210.10.56.65 A 210.10.56.94 210.10.56.95

210.10.56.96 210.10.56.97 A 210.10.56.126 210.10.56.127

210.10.56.128 210.10.56.129 A 210.10.56.158 210.10.56.159

210.10.56.160 210.10.56.161 A 210.10.56.190 210.10.56.191

210.10.56.192 210.10.56.193 A 210.10.56.222 210.10.56.223

210.10.56.224 210.10.56.225 A 210.10.56.254 210.10.56.255

Page 18: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

19© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subneteo de Red IPv4VLSM (Variable Length Subnet Masking).

Page 19: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

20© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Como subnetar con VLSM

Ordena las subredes de mayor a menor teniendo en cuenta el numero de

Host de cada una de ellas.

Identificamos la clase de dirección IP

Identificamos la mascara de Red

Aplicamos la formula:

2n ≥ Subredes

2n-2 ≥ Host

Obtener la mascara de subred

Calcular el numero de valor contante

Page 20: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

21© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

Dada la dirección IP 192.168.3.0 encontrar 04 subredes, la sub red de RRHH

cuenta con 30 Host, la subred de ventas cuenta con 80 Host, la subred de

finanzas 60 Host y la subred de contabilidad 25 Host.

PASO1:

Ordena las sub redes de mayor a menor, tomando en cuenta el

numero de Host

1 80 Host

2 60 Host

3 30 Host

4 25 Host

Page 21: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

22© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO2:

Identificar la clase de dirección IP 192.168.3.0

Clase C

PASO3:

Identificar la mascara de sub red de la clase de dirección IP

192.168.3.0

255.255.255.0

Page 22: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

23© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO4:

Aplicamos la ecuación host porque los datos no solicitan Host

2n-2≥ Host

Calculamos para 80 Host

2n-2≥ 80 Si n=6 cantidad de host=62

Si n=7 cantidad de host=126

Page 23: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

24© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO5:

Obtener la mascara de subred

255.255.255.0

11111111 . 11111111 . 11111111 . 00000000

Como hay 07 bits es de host y 1 bit de Red la mascara cambiara en el

ultimo octetos

11111111 . 11111111 . 11111111 . 10000000

255 . 255 . 255 . 128

Page 24: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

25© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO6:

Encontramos el numero de valor constante

256 – 128 = 128

Page 25: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

26© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

PASO6:

Obtener la los rangos de IP de cada una de las subredes

Direccion IP inicial : 192.168.3.0

Valor Constante : 128

Dirección Subred Rango direcciones IP Broadcast

192.168.3.0 192.168.3.1 A 192.168.3.126 192.168.3.127

192.168.3.128

Page 26: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

27© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO4:

Aplicamos la ecuación host porque los datos no solicitan Host

2n-2≥ Host

Calculamos para 60 Host

2n-2≥ 60 Si n=5 cantidad de host=30

Si n=6 cantidad de host=62

Page 27: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

28© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO5:

Obtener la mascara de subred

255.255.255.0

11111111 . 11111111 . 11111111 . 00000000

Como hay 06 bits es de host y 2 bit de host la mascara cambiara en el

ultimo octetos

11111111 . 11111111 . 11111111 . 11000000

255 . 255 . 255 . 192

Page 28: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

29© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO6:

Encontramos el numero de valor constante

256 – 192 = 64

Page 29: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

30© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

PASO6:

Obtener la los rangos de IP de cada una de las subredes

Dirección IP inicial : 192.168.3.128

Valor Constante : 64

Dirección Subred Rango direcciones IP Broadcast

192.168.3.128 192.168.3.129 A 192.168.3.190 192.168.3.191

192.168.3.192

Page 30: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

31© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO4:

Aplicamos la ecuación host porque los datos no solicitan Host

2n-2≥ Host

Calculamos para 30 Host

2n-2≥ 30 Si n=4 cantidad de host=14

Si n=5 cantidad de host=30

Page 31: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

32© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO5:

Obtener la mascara de subred

255.255.255.0

11111111 . 11111111 . 11111111 . 00000000

Como hay 05 bits es de host y 3 bit de host la mascara cambiara en el

ultimo octetos

11111111 . 11111111 . 11111111 . 11100000

255 . 255 . 255 . 224

Page 32: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

33© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Subnetting

Ejemplo de Aplicación

PASO6:

Encontramos el numero de valor constante

256 – 224 = 32

Page 33: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto

34© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

PASO6:

Obtener la los rangos de IP de cada una de las subredes

Direccion IP inicial : 192.168.3.192

Valor Constante : 32

Dirección Subred Rango direcciones IP Broadcast

192.168.3.192 192.168.3.193 A 192.168.3.222 192.168.3.223

192.168.3.224

Page 34: Chapter: Subnetting y VLSM en IPV4 e IPV6 · 2018. 8. 20. · Chapter: Subnetting y VLSM en IPV4 e IPV6 CCNA Routing and Switching Introduction to Networks v6.0 Ing. Raúl Alberto