Está en la página 1de 30

IBM … creating the future of learning

Ejercicios de Subredes

NW162E
Luis Miguel Perdigón
lmphcm@terra.es

© 2003 Copyright IBM Corporation


IT Education Services
IBM … creating the future of learning

130.23.4.12

 Dirección: 130.23.4.12
 Máscara: 255.255.255.192

 Clase.
 Dirección de Red.
 Máscara de Red.
 Direc. Broadcast de Red.
 Direc. Subred.
 Direc. Broadcast de la Subred.
 Nº de Subredes que soporta.
 Nº de Hosts por Subred.

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

130.23.4.12

 Dirección IP 130.23.4.12 en binario.

1000010.00010111.00000100.00001100
 Máscara de red en binario.

11111111.11111111.11111111.11000000
 Suma binaria.

1000010.00010111.00000100.00001100
11111111.11111111.11111111.11000000
1000010 .00010111.00000100.00

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

130.23.4.12

 Dirección: 130.23.4.12
 Máscara: 255.255.255.192

 Clase. B
 Dirección de Red. 130.23.0.0
 Máscara de Red. 255.255.0.0
 Direc. Broadcast de Red. 130.23.255.255
 Direc. Ssubred. 130.23.4.0
 Direc. Broadcast de la Subred. 130.23.4.63
 Nº de Subredes que soporta. 210-2=1022
 Nº de Hosts por Subred. 26 -2= 62

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

172.20.63.193

 Dirección: 172.20.63.193
 Máscara: 255.255.240.0

 Clase.
 Dirección de Red.
 Máscara de Red.
 Direc. Broadcast de Red.
 Direc. Subred.
 Direc. Broadcast de la Subred.
 Nº de Subredes que soporta.
 Nº de Hosts por Subred.

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

172.20.63.193

 Dirección IP 172.20.63193 en binario.

10101100.00010100.00111111.11000001
 Máscara de red en binario.

11111111.11111111.11110000.00000000
 Suma binaria.

10101100.00010100.00111111.11000001
11111111.11111111.11110000.00000000
10101100.00010100.0011

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

172.20.63.193

 Dirección: 172.20.63.193
 Máscara: 255.255.240.0

 Clase. B
 Dirección de Red. 172.20.0.0
 Máscara de Red. 255.255.0.0
 Direc. Broadcast de Red. 172.20.255.255
 Direc. Ssubred. 172.20.48.0
 Direc. Broadcast de la Subred. 172.20.63.255
 Nº de Subredes que soporta. 24-2= 14
 Nº de Hosts por Subred. 212 -2= 4094

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

210.30.120.9

 Dirección: 210.30.120.9
 Máscara: 255.255.255.248

 Clase.
 Dirección de Red.
 Máscara de Red.
 Direc. Broadcast de Red.
 Direc. Subred.
 Direc. Broadcast de la Subred.
 Nº de Subredes que soporta.
 Nº de Hosts por Subred.

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

210.30.120.9

 Dirección IP 210.30.120.9 en binario.

11010010.00011110.01111000.00001001
 Máscara de red en binario.

11111111.11111111.11111111.11111000
 Suma binaria.

11010010.00011110.01111000.00001001
11111111.11111111.11111111.11111000
11010010.00011110.01111000.00001

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

210.30.120.9

 Dirección: 210.30.120.9
 Máscara: 255.255.255.248

 Clase. C
 Dirección de Red. 210.30.120.0
 Máscara de Red. 255.255.255.0
 Direc. Broadcast de Red. 210.30.120.255
 Direc. Ssubred. 210.30.120.8
 Direc. Broadcast de la Subred. 210.30.120.15
 Nº de Subredes que soporta. 25-2= 30
 Nº de Hosts por Subred. 23 -2= 6

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

19.45.34.6

 Dirección: 19.45.34.6
 Máscara: 255.255.0.0

 Clase.
 Dirección de Red.
 Máscara de Red.
 Direc. Broadcast de Red.
 Direc. Subred.
 Direc. Broadcast de la Subred.
 Nº de Subredes que soporta.
 Nº de Hosts por Subred.

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

19.45.34.6

 Dirección IP 19.45.34.6 en binario.

000010011.00101101.00100010.00000110
 Máscara de red en binario.

11111111.11111111.00000000.00000000
 Suma binaria.

000010011.00101101.00100010.00000110
11111111.11111111. 00000000.00000000
000010011.00101101

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

19.45.34.6

 Dirección: 19.45.34.6
 Máscara: 255.255.0.0

 Clase. A
 Dirección de Red. 19.0.0.0
 Máscara de Red. 255.0.0.0
 Direc. Broadcast de Red. 19.255.255.255
 Direc. Ssubred. 19.45.0.0
 Direc. Broadcast de la Subred. 19.45.255.255
 Nº de Subredes que soporta. 28-2= 254
 Nº de Hosts por Subred. 216 -2= 65.534

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

192.13.45.188

 Dirección: 192.13.45.188
 Máscara: 255.255.255.192

 Clase.
 Dirección de Red.
 Máscara de Red.
 Direc. Broadcast de Red.
 Direc. Subred.
 Direc. Broadcast de la Subred.
 Nº de Subredes que soporta.
 Nº de Hosts por Subred.

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

192.13.45.188

 Dirección IP 192.13.45.188 en binario.

11000000.00001101.00101101.10111100
 Máscara de red en binario.

11111111.11111111.11111111.11000000
 Suma binaria.

11000000.00001101.00101101.10111100
11111111.11111111. 11111111.11000000
11000000.00001101.00101101

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

192.13.45.188

 Dirección: 192.13.45.188
 Máscara: 255.255.255.192

 Clase. C
 Dirección de Red. 192.13.45.0
 Máscara de Red. 255.255.255.0
 Direc. Broadcast de Red. 192.13.45.255
 Direc. Ssubred. 192.13.45.128
 Direc. Broadcast de la Subred. 192.13.45.191
 Nº de Subredes que soporta. 22-2= 2
 Nº de Hosts por Subred. 26 -2= 62

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

90.0.0.5

 Dirección: 90.0.0.5
 Máscara: 255.255.255.252

 Clase.
 Dirección de Red.
 Máscara de Red.
 Direc. Broadcast de Red.
 Direc. Subred.
 Direc. Broadcast de la Subred.
 Nº de Subredes que soporta.
 Nº de Hosts por Subred.

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

90.0.0.5

 Dirección IP 90.0.0.5 en binario.

01011010.00000000.00000000.0000101
 Máscara de red en binario.

11111111.11111111.11111111.11111100
 Suma binaria.

01011010.00000000.00000000.00000101
11111111.11111111. 11111111. 11111100
01011010.00000000.00000000.00001

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

90.0.0.5

 Dirección: 90.0.0.5
 Máscara: 255.255.255.252

 Clase. A
 Dirección de Red. 90.0.0.0
 Máscara de Red. 255.0.0.0
 Direc. Broadcast de Red. 192.255.255.255
 Direc. Ssubred. 192.0.0.4
 Direc. Broadcast de la Subred. 192.0.0.7
 Nº de Subredes que soporta. 222-2= 4.194.304
 Nº de Hosts por Subred. 22 -2= 2

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

132.100.0.0

 Se necesitan 40 subredes de 1000 hosts por cada subred.


132.100.0.0
255.255.0.0

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

132.100.0.0

 Clase B 132.100.0.0
255.255.0.0
IP 10000100. 01100100. 00000000. 00000000
Mask 11111111. 11111111. 11111100. 00000000
255. 255. 252. 0

Nota: 000000
000001 00 4
000010 00 8

2x – 2 ≥ 40 => x=6 => 62 Subredes


2y – 2 ≥ 1000 => y=10 => 1022 hosts / subred

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

132.100.0.0

 Dirección 1ª Subred: 132.100.4.0


 Rango de IP`s de la 1ª Subred:
132.100.4.1 000001 00. 00000001
000001 01. 00000000
000001 10.
132.100.7.254 000001 11. 11111110

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

195.48.48.0

 Se necesitan 4 subredes de 20 hosts por cada subred.


195.48.48.0
255.255.255.0

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

195.48.48.0

 Clase C 195.48.48.0
255.255.255.0
IP 11000011. 00110000. 00110000. 00000000
Mask 11111111. 11111111. 11111111. 11100000
255. 255. 252. 224

Nota:
2x – 2 ≥ 4 => x=3 subred
2y – 2 ≥ 20 => y=5 hosts / subred

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

195.48.48.0

 Dirección 1ª subred: 195.48.48.32 .001 00000


 Rango de IP`s de la 1ª Subred:
195.48.48.33 .00100001
195.48.48.62 .00111110

 Dirección última subred: 195.48.48.192 .110 00000


 Rango de IP`s de la última Subred:
195.48.48.193 .11000001
195.48.48.222 .11011110

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

Supernetting o CIDR (Clasless Inter-Domain Routing)

 Tomar parte de los bits de red para los hosts.


 Red de 800 equipos conectados todos a Internet, pero en la misma red.
- Clase A
- Clase B 65.534 hosts.
- Clase C 254 hosts, son necesarias 4 direcciones.

 Hacer el ejercicio partiendo de la dirección 200.5.180.0

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

Supernetting o CIDR (Clasless Inter-Domain Routing)

 200.5.180.0
 200.5.181.0
 200.5.182.0
 200.5.183.0
 Máscara de red 255.255.255.0
 Hay que comprar las cuatro direcciones para poder hacer supernetting

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

Supernetting o CIDR (Clasless Inter-Domain Routing)

 Máscara de red 255.255.255.0

210 – 2 = 1022
111111111. 11111111. 111111 11. 00000000
00. 00000000
Máscara 255 . 255 . 252 . 0
IP 200 . 5 . 180 . 0
11001000 . 00000101. 101101 00. 00000000

Rango de la 200.5.180.1 a la 200.5.183.254

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

Supernetting o CIDR (Clasless Inter-Domain Routing)

 Comprobación:

 180 10110100 10110111 183


AND
 252 11111100 11111100 252
10110100 10110100
XOR
00000000 00000000

IT Education Services © 2003 Copyright IBM Corporation


IBM … creating the future of learning

Subnetting de tamaño variable

 Técnica recursiva
 Máxima flexibilidad
 Problemas de ambigüedad 􀃆 desaconsejado (?)

IT Education Services © 2003 Copyright IBM Corporation

También podría gustarte