Escolar Documentos
Profissional Documentos
Cultura Documentos
Prctica:
Subneteo y NAT.
Nmero:
1.
Profesor:
Ing. Manuel Quiones Cuenca.
Fecha:
14/01/2014
Integrantes:
1) Carlos Campoverde
2) Paula Canelos
3) Alex Ullaguari
1. Objetivos
2. Desarrollo
2.1. Ejercicios
Ejercicio 1
Red clase A: 11.0.0.0
Requiero 3900 hosts por subred.
Resolucin:
red
RED EN BINARIO
m.s.d
m.s.d.BINARIO
MSDA_DECIMAL
MSDA_BINARIO
11
0
0
0
00001011 00000000 00000000 00000000
255
0
0
0
11111111 11111111 00000000 00000000
11111111 11111111 11110000
0
255
255
240
0
DIRECCIONES
BROADCAST
SUBRED
RANGO
1octe
2octet
3octet
4octe
1octet
2octet
3octet
4octet
11
11
15
255
255
11.0.0.1 hasta
11.15.255.254
Ejercicio 2
Red clase A: 4.0.0.0
Requiero 1000 subredes.
2N=# subredes
210 1024 subredes
red
RED EN BINARIO
m.s.d
m.s.d.BINARIO
MSDA_DECIMAL
MSDA_BINARIO
00000100
00000000 00000000 00000000
255
0
0
0
11111111
00000000 00000000 00000000
11111111 11000000
0
0
255
192
0
0
DIRECCIONES
SUBRED
1octeto
2octeto
BROADCAST
3octeto
4octeto
1octeto
2octeto
3octeto
63
255
4octeto
RANGO
4.1.0.0 HASTA
255 4.63.255.254
Ejercicio 3
Se tiene una clase B= 137.101.0.0
Se requieren 520 hosts por subnet
red
RED EN BINARIO
m.s.d
m.s.d.BINARIO
MSDA_DECIMAL
MSDA_BINARIO
137
101
0
0
10001001 01100101 00000000 00000000
255
255
0
0
11111111 11111111 00000000 00000000
11111111 11111111 11111100
0
255
255
252
0
DIRECCIONES
SUBRED
BROADCAST
RANGO
137
101
137
101
137.101.1.0
hasta
255 137.101.3.254
Ejercicio 4
Se tiene una clase C= 202.13.45.0
Se requieren 70 hosts por subnet
Resolucin:
red
202
13
45
0
RED EN
BINARIO
11001010 00001101 00101101 00000000
m.s.d
255
255
255
0
m.s.d.BINARIO 11111111 11111111 11111111 00000000
MSDA_DECIMAL 11111111 11111111 11111111 10000000
MSDA_BINARIO
255
255
255
128
Cuntos bits se piden prestados?
Se piden prestados 1 bit
Cul es la mscara de subred?
La mscara de subred es 255.255.255.128/25
Dar los rangos de direcciones IP para cada subred
Dado que 256-128=128, hay salto de 128 subredes
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
202
13
45
202
13
45
127
RANGO
202.13.45.1
HASTA
202.13.45.126
Ejercicio 5
Se tiene una clase C= 202.13.45.0
Se requieren 5 subredes
Resolucin:
red
202
13
45
0
RED EN
BINARIO
11001010 00001101 00101101 00000000
m.s.d
255
255
255
0
m.s.d.BINARIO 11111111 11111111 11111111 00000000
MSDA_DECIMAL 11111111 11111111 11111111 11100000
MSDA_BINARIO
255
255
255
224
Cuntos bits se piden prestados? Se piden prestados 3 bits
Cul es la mscara de subred? La mscara de subred es 255.255.255.224
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
202
13
45
202
13
45
31
RANGO
202.13.45.1
HASTA
202.13.45.3
0
Ejercicio 6
Se tiene la direccin: 132.15.0.0
Se requieren de 12 subredes
red
RED EN BINARIO
m.s.d
m.s.d.BINARIO
MSDA_DECIMAL
MSDA_BINARIO
132
15
0
0
10000100 00001111 00000000 00000000
255
255
0
0
11111111 11111111 00000000 00000000
11111111 11111111 11110000
0
255
255
240
0
255.255.240.0/20
Hasta cuntos hosts tendremos por cada subred?.
2M-2 =# host
212-2 =4094 host
DIRECCIONES
SUBRED
BROADCAST
15
132
15
15
255
RANGO
132.15.0.1
HASTA
132.15.15.254
2.2. Prctica
2.2.1. VLSM
Tengan en cuenta que no vamos a trabajar con una direccin IP por defecto, lo
vamos a hacer con una direccin de subred. La direccin de red 173.15.0.0 /16
fue dividida en 2 subredes generando la direccin 173.15.0.0 /17 (Subred 0) y
la direccin 173.15.128.0 /17 (Subred 1). Nosotros vamos a obtener las
mscaras variables a partir de la direccin asignada, es decir la Subred 1.
Desarrollo:
-
DIRECCIN IP RED
Red 3:5000
173.15.128.0
Red 5:4000
173.15.160.0
Red 1:3000
173.15.176.0
Red 4:3000
173.15.192.0
Red 6:1500
173.15.208.0
Red 2:1500
173.15.216.0
Red 8:500
173.15.224.0
Red 7:250
173.15.226.0
Enlace 1: 2
173.15.227.0
Enlace 2: 2
173.15.227.4
Enlace 3: 2
173.15.227.8
Enlace 4: 2
173.15.227.12
Enlace 5: 2
173.15.227.16
Enlace 6: 2
173.15.227.20
Enlace 7: 2
173.15.227.24
Enlace 8: 2
173.15.227.28
173
15
128
0
10101101 00001111 10000000 00000000
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11100000
0
255
255
224
0
5000
13
8190
32
3
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
173
15
128
Ip red
RED [Bin]
Mscara Subred por Defecto [dec]
Mscara Subred por Defecto [bin]
Mscara Subred Adaptada [bin]
Mscara Subred Adaptada [dec]
173
15
159
RANGO
173.15.128.1255 173.15.159.254
RED 5
173
15
160
0
10101101 00001111 10100000 00000000
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11110000
0
255
255
240
0
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
4000
12
4094
16
4
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
173
15
160
Ip red
RED [Bin]
Mscara Subred por Defecto [dec]
Mscara Subred por Defecto [bin]
Mscara Subred Adaptada [bin]
Mscara Subred Adaptada [dec]
173
15
175
RANGO
173.15.160.1255 172.15.175.254
RED 1
173
15
176
0
10101101 00001111 10110000 00000000
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11110000
0
255
255
240
0
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
3000
12
4094
16
4
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
173
15
176
173
15
191
RANGO
173.15.176.1255 173.15.191.254
RED 4
Ip red
RED [Bin]
Mscara Subred por Defecto [dec]
Mscara Subred por Defecto [bin]
Mscara Subred Adaptada [bin]
Mscara Subred Adaptada [dec]
173
15
192
0
10101101 00001111 11000000 00000000
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11110000
0
255
255
240
0
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
3000
12
4094
16
4
DIRECCIONES
RANGO
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto 173.15.192.1173
15
192
0
173
15
207
255 173.15.207.254
RED 6
Ip red
RED [Bin]
Mscara Subred por Defecto [dec]
Mscara Subred por Defecto [bin]
Mscara Subred Adaptada [bin]
Mscara Subred Adaptada [dec]
173
15
208
0
10101101 00001111 11010000 00000000
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11111000
0
255
255
248
0
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
1500
11
2046
8
5
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
173
15
208
173
15
215
RANGO
173.15.208.10255 173.15.215.254
173
15
216
0
10101101 00001111 11011000 00000000
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11111000
0
255
255
248
0
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
1500
11
2046
8
5
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
173
15
216
Ip red
RED [Bin]
Mscara Subred por Defecto [dec]
Mscara Subred por Defecto [bin]
Mscara Subred Adaptada [bin]
Mscara Subred Adaptada [dec]
173
15
223
RANGO
173.15.216.1
255 173.15.223.254
RED 8
173
15
224
0
10101101 00001111 11100000 00000000
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11111110
0
255
255
254
0
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
500
9
510
2
7
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
173
15
224
173
15
225
RANGO
172.15.224.1255 172.15.225.254
173
15
226
0
10101101 00001111 11100010 00000000
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11111111
0
255
255
255
0
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
250
8
254
1
8
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
173
15
226
173
15
226
RANGO
173.15.226.1255 173.15.226.254
ENLACE 1
Ip red
RED [Bin]
Mscara Subred por Defecto [dec]
Mscara Subred por Defecto [bin]
Mscara Subred Adaptada [bin]
Mscara Subred Adaptada [dec]
173
15
227
0
10101101 00001111 11100011 00000000
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11111111 11111100
255
255
255
252
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
2
2
2
4
14
1octeto
173
DIRECCIONES
SUBRED
BROADCAST
2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
15
227
173
15
227
RANGO
173.15.227.13 173.15.227.2
ENLACE 2
Ip red
173
15
227
4
RED [Bin]
10101101 00001111 11100011 00000100
Mscara Subred por Defecto [dec]
255
255
0
0
Mscara Subred por Defecto [bin] 11111111 11111111 00000000
0
Mscara Subred Adaptada [bin]
11111111 11111111 11111111 11111100
Mscara Subred Adaptada [dec]
255
255
255
252
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
2
2
2
4
14
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
173
15
227
173
15
227
RANGO
172.15.227.57 172.15.227.6
ENLACE 3
Ip red
173
15
227
8
RED [Bin]
10101101 00001111 11100011 00001000
Mscara Subred por Defecto [dec]
255
255
0
0
Mscara Subred por Defecto [bin] 11111111 11111111 00000000
0
Mscara Subred Adaptada [bin]
11111111 11111111 11111111 11111100
Mscara Subred Adaptada [dec]
255
255
255
252
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
2
2
2
4
14
DIRECCIONES
SUBRED
BROADCAST
RANGO
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto 173.15.227.9173
15
227
8
173
15
227
11 173.15.227.10
Ip red
RED [Bin]
Mscara Subred por Defecto [dec]
Mscara Subred por Defecto [bin]
Mscara Subred Adaptada [bin]
Mscara Subred Adaptada [dec]
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
2
2
2
4
14
DIRECCIONES
SUBRED
BROADCAST
1octeto 2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto
173
15
227
12
173
15
227
RANGO
173.15.227.1315 173.15.227.14
ENLACE 5
Ip red
173
RED [Bin]
Mscara Subred por Defecto [dec]
15
227
16
255
255
#de host
VALOR DE M
salto
bit prestados
255
255
255
252
14
DIRECCIONES
SUBRED
BROADCAST
RANGO
1octeto
2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto 172.15.227.17 173
15
227
16
173
15
227
19 172.15.227.18
ENLACE 6
Ip red
RED [Bin]
Mscara Subred por Defecto [dec]
Mscara Subred por Defecto [bin]
Mscara Subred Adaptada [bin]
Mscara Subred Adaptada [dec]
#de host
VALOR DE M
#de host obtenido
salto
bit prestados
173
15
227
20
10101101 00001111 11100011 00010100
255
255
0
0
11111111 11111111 00000000
0
11111111 11111111 11111111 11111100
255
255
255
252
2
2
2
4
14
DIRECCIONES
SUBRED
BROADCAST
RANGO
1octeto
2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto 172.15.227.21 173
15
227
20
173
15
227
23 172.15.227.22
ENLACE 7
Ip red
173
RED [Bin]
Mscara Subred por Defecto [dec]
15
227
24
255
255
#de host
VALOR DE M
salto
bit prestados
255
255
255
252
14
DIRECCIONES
SUBRED
BROADCAST
RANGO
1octeto
2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto 172.15.227.25 173
15
227
24
173
15
227
27 172.15.227.26
ENLACE 8
Ip red
173
RED [Bin]
Mscara Subred por Defecto [dec]
15
227
28
255
255
#de host
VALOR DE M
salto
bit prestados
255
255
255
252
14
DIRECCIONES
SUBRED
BROADCAST
RANGO
1octeto
2octeto 3octeto 4octeto 1octeto 2octeto 3octeto 4octeto 172.15.227.29 173
15
227
28
173
15
227
31 172.15.227.30
Actividad 2: Configurar los routers y host con las direcciones IPs, indicadas
en la topologa.
realizar las
siguientes configuraciones:
R1(config)#interface fastethernet 0/0
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#no shutdown
R1(config-if)#exit
realizar las
Direccin IP
Servidor DNS
> 30.0.0.10
> 10.0.0.10
Direccin IP
Servidor DNS
> 10.0.0.20
> 10.0.0.10
interfaces
con las
siguientes instrucciones:
realizar las
siguientes configuraciones:
R1(config)#interface fastethernet 0/0
R1(config-if)#ip nat inside
R1(config-if)#exit
realizar las
realizar las
siguientes configuraciones:
R1(config)#ip route 0.0.0.0 0.0.0.0 20.0.0.2
realizar las
En modo priviligiado,
R1#debug ip nat
Actividad 11: A continuacin, haga clic en el host 30.0.0.10 > Escritorio > web
Browser. Ahora ingrese "www.redes.com" en la barra de direcciones y pulse
enter. Tenemos una pgina web desde un servidor (10.0.0.10). Porque, los
routers ISP saben dnde estn presentes las direcciones IP pblicas.
(Presente el resultado)
del
3. Resultados
CONCLUSIONES
-
Bibliografa
Garca, G. (s.f.). subneteo. Obtenido de
http://www.garciagaston.com.ar/verpost.php?id_noticia=193
Kurose, J. F. (2010). Protocolo de internet: reenvo y direccionamiento en internet. En J.
F. Kurose, Redes de computadoras (pgs. 323-352). Madrid Espaa: Pearson.