Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Calculo Redes y Subredes
Calculo Redes y Subredes
CREACIN DE SUBREDES
32 bits
DIRECCIN DE RED
DIRECCIN DE
MQUINA
Parte local
DIRECCIN DE RED
DIRECCIN
DE SUBRED
DIRECCIN DE
MQUINA
FI
UPM
RESTRICCIONES EN LA CREACIN DE
SUBREDES
Todo a ceros (direccin de red) y todo a unos (difusin dirigida) son dos direcciones de mquina reservadas.
En subredes afectan a la parte local de subred y mquina en direcciones clase A, B y C
DIRECCIN DE
MQUINA
DIRECCIN DE RED
Parte local
DIRECCIN DE RED
DIRECCIN
DE SUBRED
DIRECCIN DE
LA MQUINA
FI
UPM
DIRECCIONES RESERVADAS EN LA
PARTE LOCAL AL CREAR SUBREDES
Cuando se crean subredes y se restan las dos direcciones reservadas (todo a ceros y
todo a unos) en la parte local de subred, se pierden direcciones IP
PARTE LOCAL
RED
Con el objetivo de no perder direcciones IP:
No restar las dos direcciones reservadas (todo ceros y
todo unos) en la parte local de subred si se necesita todo
el rango de direcciones y el software de TCP/IP permite
la configuracin de todo a ceros y todo a unos.
MQUINA
SUBRED
MQUINA
FI
DIRECCIONES RESERVADAS EN LA
PARTE LOCAL DE REDES Y SUBREDES
UPM
FI
UPM
CONCEPTO DE MSCARA
FI
UPM
CLASE DE DIRECCIN
255.0.0.0
255.255.0.0
255.255.255.0
FI
UPM
VALOR DEL
OCTETO
0
128
192
224
240
248
252
254
255
CLCULO
DEL OCTETO
0
128 (27)
128+64 (27+26)
128+64+32 (27+26+25)
128+64+32+16 (27++24)
128+64+32+16+8
128+64+32+16+8+4
128+64+32+16+8+4+2
128+64+32+16+8+4+2+1
MSCARA
BINARIA
00000000
10000000
11000000
11100000
11110000
11111000
11111100
11111110
11111111
FI
Internet
220.10.15.0
255.255.255.0
220.10.15.0
Parte local
Organizacin
Subred
xx xx xxxx
22 2 = 2
00
01
10
11
220.10.15.64
220.10.15.65
......
220.10.15.129
Internet
2
220.10.15.128
......
8
FI
UPM
xxxx xxxx
=
2
2
2
220.10.15.64
00
01
10
11
.... ...
.... ...
Rango de direcciones
de mquinas (62)
.... ...
.... ...
Rango de direcciones
de mquinas (62)
220.10.15.0
.... ...
.... ...
Se pierden 62 mquinas
.... ...
.... ...
Se pierden 62 mquinas
FI
UPM
OBTENCIN DE LA MSCARA
Una mscara de red o subred es un nmero de 32 bits que contiene
1s en los bits que identifican a la red o subred
En funcin de la clase de direccin y mscara, cuntos bits se
han utilizado en la parte local para direccionar subredes?
En el caso de usar dos bits para identificar dos subredes:
220.10.15. X
255 255 255
Clase C
xxx
xxxx
255.255.255.192
220.10.15. Xxxx
255 255 255
Clase C
xxxx
255.255.255.128
10
FI
UPM
OBTENCIN DE LA MSCARA
En el caso de usar dos bits para identificar dos subredes:
220.10.15. X
255 255 255
Clase C
xxx
xxxx
255.255.255.192
220.10.15.65
Router
220.10.15.64
255.255.255. 192
......
220.10.15.129
Internet
2
220.10.15.128
255.255.255.192
......
11
FI
UPM
FUNCIN DE LA MSCARA
Operacin Lgica AND
MSCARA =
(255.255.255.192)
MSCARA =
(255.255.255.192)
220
10
15
65
11011100 00001010 00001111 01000001 (OPERACIN AND)
11111111 11111111 11111111 11000000
11011100 00001010 00001111 01000000
220
10
15
64
220
10
15
129
11011100 00001010 00001111 10000001
11111111 11111111 11111111 11000000
11011100 00001010 00001111 10000000
220
10
15
128
(OPERACIN AND)
TABLA DE ENCAMINAMIENTO
Destino
Mscara
220.10.15.64 255.255.255.192
220.10.15.128 255.255.255.192
Ruta
Directa
Directa
Interfaz
1
2
12
FI
UPM
X xxx xxxx
1
.... ...
.... ...
Rango de direcciones
de mquinas (126)
.... ...
.... ...
Rango de direcciones
de mquinas (126)
13
UPM
950 Y 1219
Router
Internet
128.10.0.0
255.255.0.0
128.10. 0.0
Parte Local
xxxx xxxx 0000 0000
Subredes 28 2 = 254
Organizacin
Subred
0000 0000
0000 0001 = 1
0000 0010 = 2
.................
1111 1110 = 254
1111 1111
128.10.1.0
128.10.2.0
.................
128.10.254.0
128.10.1.0
Internet
...
128.10.2.0
128.10.254.0
14
FI
UPM
OBTENCIN DE LA MSCARA
xxxxxxx.0
255.255.255.0
Clase B
128.10.1.1
Router
Internet
128.10.1.0
255.255.255.0
......
......
128.10.254.1
2
128.10.254.0
255.255.255.0
......
15
FI
UPM
FUNCIN DE LA MSCARA
Operacin Lgica AND
MSCARA =
(255.255.255.0)
MSCARA =
(255.255.255.0)
128
10
1
1
10000000 00001010 00000001 00000001
11111111 11111111 11111111 00000000
10000000 00001010 00000001 00000000
128
10
1
254
128
10
1
10000000 00001010 11111110 00000001
11111111 11111111 11111111 00000000
10000000 00001010 11111110 00000000
128
10
254
(OPERACIN AND)
(OPERACIN AND)
TABLA DE ENCAMINAMIENTO
Destino
128.10.1.0
... ...
128.10.254.0
Mscara
Ruta
255.255.255.0
Directa
... ...
... ...
Directa
254
... ...
255.255.255.0
Interfaz
16