Вы находитесь на странице: 1из 26

DIRECCIONES IP Y

SUBREDES
TEORA Y PRCTICA
monitoreoderedip.blogspot.cl
SECCIN 4
OTROS CLCULOS DE DIRECCIONAMIENTO IP
PRCTICA 1
CONVERSIONES MATEMTICAS
Conversin binario a decimal

Decimal
128 64 32 16 8 4 2 1 = 255

Binario 1 0 0 1 1 0 0 0 152
0 1 1 0 0 0 0 1 97
1 0 1 0 1 0 1 0
1 1 0 0 0 0 0 0
0 0 0 0 1 0 1 0
0 1 1 1 1 1 1 1
1 0 0 1 1 1 1 1
1 1 0 1 1 1 1 1
Conversin decimal a binario

Decimal 128 64 32 16 8 4 2 1
127 0 1 1 1 1 1 1 1 Binario
192 1 1 0 0 0 0 0 0
10 0 0 0 0 1 0 1 0
111
25
92
64
33
PRCTICA 2
CLCULO DE SUBREDES
CLCULO DE SUBREDES 1
Problema:
Se requieren 8 subredes con 30 host por subred como mximo, usar la direccin de red
192.168.0.0
Requerimientos:
Subredes necesarias= 8
Host disponibles = 30
Direccin de red = 192.168.0.0
CLCULO DE SUBREDES 1
Solucin:
Clase por defecto C = 255.255.255.0
Subredes = 2s = 8 s = 3 23 = 8 3 bit de subnet
11111111.11111111.11111111.11100000 255.255.255.224
Host = 2h -2 = 30 h = 5 25 -2 = 30 5 bits de host
11111111.11111111.11111111.11100000 255.255.255.224
CLCULO DE SUBREDES 1
Solucin:
Subredes disponibles
1era subred 192.168.0.0 11111111 11111111 11111111 00000000
2da subred 192.168.0.32 11111111 11111111 11111111 00100000
3ra subred 192.168.0.64 11111111 11111111 11111111 01000000
4ta subred 192.168.0.96 11111111 11111111 11111111 01100000
5ta subred 192.168.0.128 11111111 11111111 11111111 10000000
6ta subred 192.168.0.160 11111111 11111111 11111111 10100000
7ma subred 192.168.0.192 11111111 11111111 11111111 11000000
8va subred 192.168.0.224 11111111 11111111 11111111 11100000
CLCULO DE SUBREDES 1
Solucin:
Host Disponibles en 3era subred
3ra subred 192.168.0.64 11000000 10101000 00000000 01000000
1er IP disponible 192.168.0.65 11000000 10101000 00000000 01000001
ltima IP disponible 192.168.0.94 11000000 10101000 00000000 01011110
Direccin de broadcast 192.168.0.95 11000000 10101000 00000000 01011111
CLCULO DE SUBREDES 2
Problema:
Se requieren 4 subredes, usar la direccin de red 172.30.0.0
Requerimientos:
Subredes necesarias= 4
Direccin de red = 172.30.0.0
CLCULO DE SUBREDES 2
Solucin:
Clase por defecto B = 255.255.0.0
Subredes = 2s = 4 s = 2 22 = 4 2 bit de subnet
11111111.11111111.11000000.00000000 255.255.192.0
Host = 214 -2 = 16382 14 bits de host 11111111.11111111.11000000.00000000
255.255.192.0
CLCULO DE SUBREDES 2
Solucin:
Subredes disponibles
1era subred 172.30.0.0 11111111 11111111 00000000 00000000
2da subred 172.30.64.0 11111111 11111111 01000000 00000000
3ra subred 172.30.128.0 11111111 11111111 10000000 00000000
4ta subred 172.30.192.0 11111111 11111111 11000000 00000000
CLCULO DE SUBREDES 2
Solucin:
Host Disponibles en 4ta subred
4ta subred 172.30.192.0 10101100 00011110 11000000 00000000
1er IP disponible 172.30.192.1 10101100 00011110 11000000 00000001
ltima IP disponible 172.30.255.254 10101100 00011110 11111111 11111110
Direccin de broadcast 172.30.255.255 10101100 00011110 11111111 11111111
CLCULO DE SUBREDES ENTRE HOST

Problema:
Se requiere determinar si los siguientes host estn en la misma subred o en subredes
diferentes:
Host A 172.16.18.40/20
Host B 172.16.28.40/20
CLCULO DE SUBREDES ENTRE HOST

Determinacin de la subred para host A:


Operacin AND

Para esto se realiza la operacin AND lgico entre la direccin IP y la mscara


Host A 172.16.18.40 1 0 1 0 1 1 0 0. 0 0 0 1 0 0 0 0. 0 0 0 1 0 0 1 0. 0 0 1 0 1 0 0 0
Mscara 255.255.240.0 1 1 1 1 1 1 1 1. 1 1 1 1 1 1 1 1. 1 1 1 1 0 0 0 0. 0 0 0 0 0 0 0 0
Operacin AND 1 0 1 0 1 1 0 0. 0 0 0 1 0 0 0 0. 0 0 0 1 0 0 0 0. 0 0 0 0 0 0 0 0
Subred 172 . 16 . 16 . 0
CLCULO DE SUBREDES ENTRE HOST

Determinacin de la subred para host A:


Operacin AND

Para esto se realiza la operacin AND lgico entre la direccin IP y la mscara


Host B 172.16.28.40 1 0 1 0 1 1 0 0. 0 0 0 1 0 0 0 0. 0 0 0 1 1 1 0 0. 0 0 1 0 1 0 0 0
Mscara 255.255.240.0 1 1 1 1 1 1 1 1. 1 1 1 1 1 1 1 1. 1 1 1 1 0 0 0 0. 0 0 0 0 0 0 0 0
Operacin AND 1 0 1 0 1 1 0 0. 0 0 0 1 0 0 0 0. 0 0 0 1 0 0 0 0. 0 0 0 0 0 0 0 0
Subred 172 . 16 . 16 . 0
CLCULO DE SUBREDES ENTRE HOST

Tanto Host A y Host B se encuentra en la misma subred


Host A 172.16.18.40 1 0 1 0 1 1 0 0. 0 0 0 1 0 0 0 0. 0 0 0 1 0 0 1 0. 0 0 1 0 1 0 0 0
Mscara 255.255.240.0 1 1 1 1 1 1 1 1. 1 1 1 1 1 1 1 1. 1 1 1 1 0 0 0 0. 0 0 0 0 0 0 0 0
Operacin AND 1 0 1 0 1 1 0 0. 0 0 0 1 0 0 0 0. 0 0 0 1 0 0 0 0. 0 0 0 0 0 0 0 0
Subred 172 . 16 . 16 . 0

Host B 172.16.28.40 1 0 1 0 1 1 0 0. 0 0 0 1 0 0 0 0. 0 0 0 1 1 1 0 0. 0 0 1 0 1 0 0 0
Mscara 255.255.240.0 1 1 1 1 1 1 1 1. 1 1 1 1 1 1 1 1. 1 1 1 1 0 0 0 0. 0 0 0 0 0 0 0 0
Operacin AND 1 0 1 0 1 1 0 0. 0 0 0 1 0 0 0 0. 0 0 0 1 0 0 0 0. 0 0 0 0 0 0 0 0
Subred 172 . 16 . 16 . 0
CLCULO DE VLSM
Problema:
Se requieren 4 subredes en la red 192.168.0.0, con las siguientes caractersticas
Subred 1 120 host
Subred 2 60 host
Subred 3 30 host
Subred 4 30 host
CLCULO DE VLSM
Solucin:
Clase por defecto A = 255.255.255.0
Subred 1 = 2h -2 = 120 h=7 27 -2 =126 host disponibles
11111111.11111111.11111111.10000000 255.255.255.128
Subred 2 = 2h -2 = 60 h=6 26 -2 =62 host disponibles
11111111.11111111.11111111.11000000 255.255.255.192
Subred 3 y 4 = 2h -2 = 30 h=5 25 -2 =30 host disponibles
11111111.11111111.11111111.11100000 255.255.255.224
CLCULO DE VLSM
Solucin:

Subredes disponibles
Subred /25 192.168.0.0 11111111 11111111 11111111 00000000
Subred /26 192.168.0.128 11111111 11111111 11111111 10000000
Subred /27 192.168.0.192 11111111 11111111 11111111 11000000
Subred /27 192.168.0.224 11111111 11111111 11111111 11100000
CLCULO DE VLSM
CLCULO DE VLSM
Solucin:
Host Disponibles en subred /25
Subred /25 192.168.0.0 11000000 10101000 00000000 00000000
1er IP disponible 192.168.0.1 11000000 10101000 00000000 00000001
ltima IP disponible 192.168.0.126 11000000 10101000 00000000 01111110
Direccin de broadcast 192.168.0.127 11000000 10101000 00000000 01111111

Host Disponibles en subred /26


Subred /26 192.168.0.128 11000000 10101000 00000000 10000000
1er IP disponible 192.168.0.129 11000000 10101000 00000000 10000001
ltima IP disponible 192.168.0.190 11000000 10101000 00000000 10111110
Direccin de broadcast 192.168.0.191 11000000 10101000 00000000 10111111
CLCULO DE VLSM
Solucin:
Host Disponibles en subred /27
Subred /27 192.168.0.192 11000000 10101000 00000000 11000000
1er IP disponible 192.168.0.193 11000000 10101000 00000000 11000001
ltima IP disponible 192.168.0.222 11000000 10101000 00000000 11011110
Direccin de broadcast 192.168.0.223 11000000 10101000 00000000 11011111

Host Disponibles en subred /27


Subred /27 192.168.0.224 11000000 10101000 00000000 11100000
1er IP disponible 192.168.0.225 11000000 10101000 00000000 11100001
ltima IP disponible 192.168.0.254 11000000 10101000 00000000 11111110
Direccin de broadcast 192.168.0.255 11000000 10101000 00000000 11111111
Prctica Final VLSM con Cisco Packet Tracer
Prctica de preguntas
CCNA Cisco
monitoreoderedip.blogspot.cl

Вам также может понравиться