Publicado el 12 de Junio del 2017
1.498 visualizaciones desde el 12 de Junio del 2017
1,8 MB
94 paginas
ARQUITECTURA DE REDES, SISTEMAS Y SERVICIOS
Área de Ingeniería Telemática
CIDR: Ejemplos
Area de Ingeniería Telemática
http://www.tlm.unavarra.es
Arquitectura de Redes, Sistemas y Servicios
3º Ingeniería de Telecomunicación
Temario
1.
Introducción
2.
Arquitecturas de protocolos
3. Conmutación de paquetes
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
•
•
•
•
•
Arquitectura de protocolos para LANs
Ethernet
LANs IEEE 802.11 (WiFi)
ATM
Protocolos de Internet
•
•
•
Internetworking
Direccionamiento
Fragmentación e ICMP. IP en LAN
Tecnologías
4. Conmutación de circuitos
5.
6. Control de acceso al medio en redes de área local
7.
Servicios de Internet
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
Ejemplo (2)
• Máscaras de longitud variable (VLSM o CIDR)
• Red D y H no van a necesitar más de 2 direcciones
• 10 redes de 10 hosts
B
A
E
D
F
C
I
J
G
H
K
L
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
Ejemplo (2)
• 10 redes de 10 hosts
A 192.168.3
[ 0000 ]
.
[ 0000 ] = 192.168.3.0 /28
B 192.168.3
C 192.168.3
.
.
.
.
L 192.168.3
.
.
.
.
.
[ 0001 ]
[ 0000 ] = 192.168.3.16 /28
[ 0010 ]
[ 0000 ] = 192.168.3.32 /28
.
.
.
.
.
.
[ 1001 ]
[ 0000 ] = 192.168.3.144 /28
B
A
E
D
F
C
I
J
G
H
K
L
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
Ejemplo (2)
• Libres:
192.168.3
192.168.3
192.168.3
192.168.3
192.168.3
192.168.3
.
.
.
.
.
.
[ 1010 ]
[ 0000 ] = 192.168.3.160 /28
[ 1011 ]
[ 0000 ] = 192.168.3.176 /28
[ 1100 ]
[ 0000 ] = 192.168.3.192 /28
[ 1101 ]
[ 0000 ] = 192.168.3.208 /28
[ 1110 ]
[ 0000 ] = 192.168.3.224
[ 1111 ]
[ 0000 ] = 192.168.3.240 /28
B
192.168.3.160 /27
E
192.168.3.192 /26
F
D
G
H
K
L
A
C
I
J
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
Ejemplo (2)
• 2 redes de 2 hosts
• 2 hosts (+2) → 22=4, 2 bits para el host-id
• Por ejemplo dentro de 192.168.3.160 /27
D 192.168.3
[ 101 ]
[ 000 ]
.
[ 00 ] = 192.168.3.160 /30
H 192.168.3
.
[ 101 ]
[ 001 ]
[ 00 ] = 192.168.3.164 /30
B
A
E
D
F
C
I
J
G
H
K
L
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
Ejemplo (2)
• 2 redes de 2 hosts
• 2 hosts (+2) → 22=4, 2 bits para el host-id
• Por ejemplo dentro de 192.168.3.160 /27
D 192.168.3
[ 000 ]
[ 101 ]
.
[ 00 ] = 192.168.3.160 /30
H 192.168.3
.
[ 101 ]
[ 001 ]
[ 00 ] = 192.168.3.164 /30
Libres en 192.168.3.160 /27:
192.168.3
[101]
[0 1]
.
[000] = 192.168.3.168 /29
192.168.3
.
[101]
[1]
[0000]
= 192.168.3.176 /28
B
E
D
F
A
C
I
J
G
H
K
L
Ejemplo (2)
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
(…)
• Supongamos que nuestra red tiene asignado el espacio de
direcciones 193.65.72.0/22
• Queremos subdividir nuestro espacio de direcciones en 3 redes
Red B
R2
Ejemplo (2)
• Supongamos que nuestra red tiene asignado el espacio de
direcciones 193.65.72.0/22
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
• Queremos subdividir nuestro espacio de direcciones en 3 redes
(…)
• La subred B.1 tendrá 320 hosts
• La subred B.2 85 hosts
• La subred B.3 113 hosts
11000001 01000001 01001000 00000000!
11111111 11111111 11111100 00000000!
Mask=
R2
R3
Red B
Subred B.1
Subred B.2
Subred B.3
Ejemplo (2)
• Supongamos que nuestra red tiene asignado el espacio de
direcciones 193.65.72.0/22
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
• Queremos subdividir nuestro espacio de direcciones en 3 redes
(…)
• La subred B.1 tendrá 320 hosts
• La subred B.2 85 hosts
• La subred B.3 113 hosts
• Subred B.1:
– 28 < 320 < 29
– 9 bits en el host-ID (…)
11000001 01000001 01001000 00000000!
11111111 11111111 11111100 00000000!
Mask=
R2
R3
Red B
Subred B.1
Subred B.2
Subred B.3
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
Ejemplo (2)
• Supongamos que nuestra red tiene asignado el espacio de
direcciones 193.65.72.0/22
• Queremos subdividir nuestro espacio de direcciones en 3 redes
(…)
• La subred B.1 tendrá 320 hosts
• La subred B.2 85 hosts
• La subred B.3 113 hosts
• Subred B.1:
– 28 < 320 < 29
– 9 bits en el host-ID (…)
11000001 01000001 0100100X XXXXXXXX!
11111111 11111111 11111110 00000000!
Mask=
R2
R3
• 193.65.72.0/23
Subred B.3
Red B
Subred B.1
Subred B.2
Ejemplo (2)
• Supongamos que nuestra red tiene asignado el espacio de
direcciones 193.65.72.0/22
• Queremos subdividir nuestro espacio de direcciones en 3 redes
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
(…)
• La subred B.1 tendrá 320 hosts
• La subred B.2 85 hosts
• La subred B.3 113 hosts
B.1 0X XXXXXXXX!
• Subred B.2:
– 26 < 85 < 27
– 7 bits en el host-ID (…)
11000001 01000001 01001000 00000000!
11111111 11111111 11111100 00000000!
Mask=
Red B
Subred B.1
193.65.72.0/23
Subred B.2
R2
R3
Subred B.3
Ejemplo (2)
• Supongamos que nuestra red tiene asignado el espacio de
direcciones 193.65.72.0/22
• Queremos subdividir nuestro espacio de direcciones en 3 redes
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
(…)
• La subred B.1 tendrá 320 hosts
• La subred B.2 85 hosts
• La subred B.3 113 hosts
B.1 0X XXXXXXXX!
• Subred B.2:
– 26 < 85 < 27
– 7 bits en el host-ID (…)
11000001 01000001 01001010 0XXXXXXX!
11111111 11111111 11111111 10000000!
Mask=
• 193.65.74.0/25
R2
R3
Red B
Subred B.1
193.65.72.0/23
Subred B.2
193.65.74.0/25
Subred B.3
Ejemplo (2)
• Supongamos que nuestra red tiene asignado el espacio de
direcciones 193.65.72.0/22
• Queremos subdividir nuestro espacio de direcciones en 3 redes
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
(…)
• La subred B.1 tendrá 320 hosts
• La subred B.2 85 hosts
• La subred B.3 113 hosts
B.1 0X XXXXXXXX!
B.2 10 0XXXXXXX!
• Subred B.3:
– 26 < 113 < 27
– 7 bits en el host-ID (…)
11000001 01000001 01001000 0XXXXXXX!
11111111 11111111 11111100 00000000!
Mask=
R2
R3
Red B
Subred B.1
193.65.72.0/23
Subred B.2
193.65.74.0/25
Subred B.3
Ejemplo (2)
• Supongamos que nuestra red tiene asignado el espacio de
direcciones 193.65.72.0/22
• Queremos subdividir nuestro espacio de direcciones en 3 redes
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
(…)
• La subred B.1 tendrá 320 hosts
• La subred B.2 85 hosts
• La subred B.3 113 hosts
B.1 0X XXXXXXXX!
B.2 10 0XXXXXXX!
• Subred B.3:
– 26 < 113 < 27
– 7 bits en el host-ID
11000001 01000001 01001010 1XXXXXXX!
11111111 11111111 11111111 10000000!
Mask=
• 193.65.74.128/25
R2
R3
Red B
Subred B.1
193.65.72.0/23
Subred B.2
193.65.74.0/25
193.65.74.128/25
Subred B.3
Ejemplo (2)
• Supongamos que nuestra red tiene asignado el espacio de
direcciones 193.65.72.0/22
• Queremos subdividir nuestro espacio de direcciones en 3 redes
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
(…)
• La subred B.1 tendrá 320 hosts
• La subred B.2 85 hosts
• La subred B.3 113 hosts
• B.1: 193.65.72.0/23
• B.2: 193.65.74.0/25
• B.3: 193.65.74.128/25
• No hay intersecciones
• Queda libre:
– 193.65.75.0/24
B.1 0X XXXXXXXX!
B.2 10 0XXXXXXX!
B.3 10 1XXXXXXX!
R2
R3
Red B
Subred B.1
193.65.72.0/23
Subred B.2
193.65.74.0/25
Libre 11 XXXXXXXX!
193.65.74.128/25
Subred B.3
a
c
i
t
,
S
E
D
E
R
E
D
A
R
U
T
C
E
T
U
Q
R
A
I
I
I
S
O
C
V
R
E
S
Y
S
A
M
E
T
S
S
I
l
á
m
e
e
T
a
í
r
e
n
e
g
n
i
I
e
d
a
e
r
Á
Ejemplo (3): IPd=130.206.58.129
Destino
Next-hop
-
130.206.16.0/20
130.206.56.0/21
130.206.64.0/18
201.24.16.0/23
201.0.0.0/10
R2
-
-
130.206.16.1 (R3)
10.50.44.1 (R4)
10.50.43.13 (R1)
0.0.0.0/0
R1
R2
R3
R4
Backbone
Red A
130.206.58.129 = 10000010 11001110 00111010 10000001!
Red D
if
1
1
2
3
4
0
Red B
Red C
130.206.58.129
a
c
i
t
,
Comentarios de: CIDR: Ejemplos (0)
No hay comentarios