Académique Documents
Professionnel Documents
Culture Documents
INGENIERA MECATRNICA
SISTEMAS OPERATIVOS Y REDES
RECOPILACIN DE MATERIAL DE APOYO
Direccionamiento IP
Prcticas de Laboratorio
DIRECCIONES IP
10000011
8 bits
01101100
8bits
01111010
8bits
Red
131
Host
32 bits
.
108
122
204
11001100
8bits
18/10/2012
Direccionamiento IP
DIRECCIONES DE REDES
Clase
A
0
0
7
netid
8 bits
15
23
31
hostid
24 bits
Clase A
El primer bit de la direccin IP es 0.
Los 7 bits siguientes identifican la red
Los ltimos 24 al computador.
18/10/2012
Direccionamiento IP
DIRECCIONES DE REDES
Clase
15
1
31
netid
hostid
16 bits
16 bits
Clase B
18/10/2012
Direccionamiento IP
DIRECCIONES DE REDES
Clase
C
23
1
31
netid
hostid
24 bits
8 bits
Clase C
18/10/2012
Direccionamiento IP
DIRECCIONES DE REDES
Clase
D
0
1
31
1
Direccin multicast
Clase D
18/10/2012
Direccionamiento IP
DIRECCIONES DE REDES
0
Clase
E
31
1
Red marciana
Clase E
18/10/2012
Direccionamiento IP
DIRECCIONES DE REDES
131
108
122
204
18/10/2012
Direccionamiento IP
DIRECCIONES DE REDES
Clase A
18/10/2012
Direccionamiento IP
10
DIRECCIONES DE REDES
Clase
A
7
0
15
netid
1.0.0.0 a
127.255.255.255
24 bits
31
hostid
8 bits
B
23
netid
hostid
16 bits
16 bits
128.0.0.0 a
191.255.255.255
netid
hostid
24 bits
8 bits
192.0.0.0 a
223.255.255.255
Direccin multicast
224.0.0.0 a
239.255.255.255
Red marciana
240.0.0.0 a
247.255.255.255
18/10/2012
Direccionamiento IP
11
DIRECCIONES DE REDES
18/10/2012
Direccionamiento IP
12
DIRECCIONES DE REDES
default
loopback
127
Direcciones reservadas
18/10/2012
Direccionamiento IP
13
DIRECCIONES DE REDES
26
128
66
Direccin de red
18/10/2012
Direccionamiento IP
14
DIRECCIONES DE REDES
Network
128
66
Broadcast
128
66
255
255
Direccin de broadcast
18/10/2012
Direccionamiento IP
15
Mscara
Red
Red
11111111
255
11111111
255
Host
Red
11111111
255
00000000
Mscara
18/10/2012
Direccionamiento IP
16
DIRECCIONES DE REDES
10
172
16
192
168
Redes privadas
10.0.0.0
172.16.0.0.
192.168.0.0
18/10/2012
10.255.255.255
172.31.255.255.255
192.168.255.255
Direccionamiento IP
(10/8)
(172.16/12)
(192.168/16)
17
Subredes
18/10/2012
Direccionamiento IP
18
Subredes
18/10/2012
Direccionamiento IP
19
Subredes
18/10/2012
Direccionamiento IP
20
Subredes
18/10/2012
Direccionamiento IP
21
Subredes
Se pueden prestar los bits que se deseen hasta que slo queden
dos para el host
0
31
RED
18/10/2012
SUBRED
Direccionamiento IP
HOST
22
Subredes
Red
Red
11111111
255
Red
11111111
255
Subred
11111111
255
1111
Host
0000
240
Mscara de subred
18/10/2012
Direccionamiento IP
23
Subredes
18/10/2012
Direccionamiento IP
24
Subredes
Existen dos mscaras:
La mscara de la red
La mscara de las subredes
R:
255.255.248.0
18/10/2012
Direccionamiento IP
25
EJERCICIO
Anotar:
18/10/2012
26
EJERCICIO
18/10/2012
Direccionamiento IP
27
EJERCICIO
Nombre
180.4.0.0
180.4.32.0
180.4.64.0
180.4.96.0
180.4.128.0
180.4.160.0
180.4.192.0
180.4.224.0
Rango
180.4.0.1
180.4.32.1
180.4.64.1
180.4.96.1
180.4.128.1
180.4.160.1
180.4.192.1
180.4.224.1
Broadcast
180.4.30.255
180.4.62.255
180.4.94.255
180.4.126.255
180.4.158.255
180.4.190.255
180.4.222.255
180.4.254.255
180.4.31.255
180.4.63.255
180.4.95.255
180.4.127.255
180.4.159.255
180.4.191.255
180.4.223.255
180.4.255.255
Mask = 255.255.224.0
18/10/2012
Direccionamiento IP
28
CIDR
18/10/2012
Direccionamiento IP
29
CIDR
18/10/2012
Direccionamiento IP
30
CIDR
Ejercicio
Respuesta
18/10/2012
Como 8 subredes = 2
Se toman prestados 3 bits del campo del host
Quedan 5 bits para los hosts
Por lo que 25 = 32 nmeros IP
Como el primer nmero de la subred se usa para identificar
la red y el ltimo para el broadcast quedan 30 mquinas
Direccionamiento IP
31
CIDR
Mask = 255.255.255.224
La primera subred ser:
192.185.171.0
La segunda se obtiene sumando 32
192.185.171.32
La tercera se obtiene sumando 32 a la segunda
192.185.171.64
As se contina sucesivamente.
18/10/2012
Direccionamiento IP
32
CIDR
18/10/2012
Para la primera
Para la segunda
Para la tercera
Y as sucesivamente
192.185.171.31
192.185.171.63
192.185.171.91
Direccionamiento IP
33
CIDR
Subred
Nombre
Broadcast
Netmask
192.185.171.0
192.185.171.31
192.185.171.32
192.185.171.63
"
192.185.171.64
192.185.171.95
"
192.185.171.96
192.185.171.127
"
192.185.171.128
192.185.171.159
"
192.185.171.160
192.185.171.191
192.185.171.192
192.185.171.223
"
"
192.185.171.224
192.185.171.255
"
255.255.255.224
18/10/2012
Direccionamiento IP
34
Tabla de Enrutamiento
18/10/2012
Direccionamiento IP
35
Tabla de Enrutamiento
18/10/2012
OSPF
Direccionamiento IP
36
Desarrollo Prctico
18/10/2012
Direccionamiento IP
37
Desarrollo Prctico
18/10/2012
Direccionamiento IP
38
Desarrollo Prctico
18/10/2012
Direccionamiento IP
39
Desarrollo Prctico
eth1
18/10/2012
Direccionamiento IP
40
Desarrollo Prctico
eth2 Link encap:Ethernet HWaddr 00:02:2D:0E:D7:32
inet addr:150.185.178.140 Bcast:150.185.178.191 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42729 errors:0 dropped:0 overruns:0 frame:0
TX packets:13257 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:3 Base address:0x100
lo
18/10/2012
Direccionamiento IP
41
Desarrollo Prctico
Genmask
Flags Metric
255.255.255.0 U
0
255.0.0.0
U
0
0.0.0.0
UG
1
18/10/2012
Direccionamiento IP
42
Desarrollo Prctico
Configuracin de los enrutadores
Enrutamiento esttico
18/10/2012
Direccionamiento IP
43
Desarrollo Prctico
18/10/2012
44
Desarrollo Prctico
18/10/2012
Direccionamiento IP
45
Desarrollo Prctico
Enrutamiento Dinmico
18/10/2012
Direccionamiento IP
46
Desarrollo Prctico
ospf yes {
backbone {
authtype simple ;
networks {
150.185.141.0 mask 255.255.255.0;
150.185.142.0 mask 255.255.255.0;
150.185.143.0 mask 255.255.255.0;
150.185.144.0 mask 255.255.255.0;
150.185.145.0 mask 255.255.255.0;
};
interface all {
priority 1 ;
authkey "walc2001";
};
};
};
export proto ospfase {
};
18/10/2012
Direccionamiento IP
47
Desarrollo Prctico
18/10/2012
48
DIRECCIONES IP
FIN
18/10/2012
Direccionamiento IP
49