Академический Документы
Профессиональный Документы
Культура Документы
COMPUTACIN
Computer Networking:
A Top Down Approach ,
5th edition.
Jim Kurose, Keith Ross
Addison-Wesley, April
2009.
Contenido
Numeral
Contenido
1.1
1.2
Capacity Planning
1.3
Mobile IP
1.4
Contenido
Numeral
Contenido
1.1
1.2
Capacity Planning
1.3
Mobile IP
1.4
1.1
1.1
1.1
Deny service requests that leave too few resources to handle elastic traffic
demands
1.1
1.1
10
Data loss
Throughput
Time Sensitive
file transfer
e-mail
Web documents
real-time audio/video
no loss
no loss
no loss
loss-tolerant
no
no
no
yes, 100s msec
stored audio/video
interactive games
instant messaging
loss-tolerant
loss-tolerant
no loss
elastic
elastic
elastic
audio: 5kbps-1Mbps
video:10kbps-5Mbps
same as above
few kbps up
elastic
Application
1.1
11
UDP service:
unreliable data transfer between
sending and receiving process
does not provide: connection
setup, reliability, flow control,
congestion control, timing,
throughput guarantee, or
security
12
1.1
Application
e-mail
remote terminal access
Web
file transfer
streaming multimedia
Internet telephony
Application
layer protocol
Underlying
transport protocol
TCP
TCP
TCP
TCP
TCP or UDP
typically UDP
1.1
13
1.1
14
1.1
15
16
1.1
Seq. #s:
byte stream number
of first byte in
segments data
ACKs:
seq # of next byte
expected from other
side
cumulative ACK
Q: how receiver handles
out-of-order segments
A: TCP spec doesnt say,
- up to implementor
Host B
Host A
User
types
C
host ACKs
receipt
of echoed
C
Seq=4
2, ACK
=79, d
ata =
host ACKs
receipt of
C
ta = C, echoes
a
d
,
K=43
back C
C
A
,
9
7
=
Seq
Seq=4
3, ACK
=80
time
17
Contenido
Numeral
Contenido
1.1
1.2
Capacity Planning
1.3
Mobile IP
1.4
1.2
B
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
18
1.2
19
1. nodal processing:
check bit errors
determine output link
transmission
propagation
B
nodal
processing
queueing
1.2
20
3. Transmission delay:
R=link bandwidth (bps)
L=packet length (bits)
time to send bits into link = L/R
transmission
propagation
B
nodal
processing
queueing
1.2
21
propagation
B
nodal
processing
queueing
1.2
22
1.2
23
buffer
(waiting area)
packet arriving to
full buffer is lost
24
1.2
server,
server
sendswith
bits
file into
of F pipe
bits
(fluid)
to send to client
linkthat
capacity
pipe
can carry
R
bits/sec
s
fluid
at rate
Rs bits/sec)
link capacity
pipe
that can carry
Rcfluid
bits/sec
at rate
Rc bits/sec)
25
1.2
Rs bits/sec
Rc bits/sec
Rs bits/sec
bottleneck link
link on end-end path that constrains end-end throughput
Rc bits/sec
26
1.2
per-connection end-end
throughput: min(Rc,Rs,R/10)
in practice: Rc or Rs is often
bottleneck
Rs
Rs
Rs
R
Rc
Rc
Rc
1.2
27
Aplicaciones
Usadas
28
1.2
Destino 1
Mbps
Origen 1
Origen 2
Flujo de Trfico entre Cliente-Servidor
Flujo de Trfico entre peer-to-peer
Flujo de Trfico entre Servidor-Servidor
Flujo de Trfico Computacin Distribuida
Destino 2
Ruta
Mbps
Ruta
1.2
29
Nombre de la
Aplicacin
Protocolos
usados por la
Aplicacin
Comunidad de
Usuarios que
utilizan la
Aplicacin
Datos
almacenados
(Servidores,
Hosts)
Ancho de Banda
aproximado
requerido por la
aplicacin
Requerimientos
de QoS
1.2
Bytes Sent
TCP Connection
180 (approx.)
GET Request
256 (approx.)
5-KB file
5,120
Protocols overhead
1,364 (approx.)
Total
6,920
30
1.2
http://datatracker.ietf.org/doc/rfc5905/
31
1.2
http://www.uniandes.edu.co
32
1.2
http://www.cisco.com/
33
1.2
http://video.uniandes.edu.co/
34
1.2
http://video.uniandes.edu.co/
35
1.2
36
1.2
Cuando se realiza la transmisin de Voz sobre una Red se produce las siguientes
funciones:
Codificacin / Decodificacin
Conversin de Direccionamientos Telefnicos a Direccionamientos IP
Algoritmos de Compresin de Voz
Todas estas funciones generan Delay en la transmisin
37
1.2
38
1.2
39
1.2
Codificacin en el PBX
Compresin en el Enrutador
40
1.2
41
1.2
42
1.2
43
44
1.2
Quality
Impairment
Excellent
Imperceptible
Good
Perceptible but
not annoying
Fair
Slightly annoying
Poor
Annoying
Bad
Very annoying
1.2
45
Description
0-150
150-400
Superior 400
No Aceptable generalmente
1.2
46
47
1.2
Worst
Case
Coder
Delay
Coder
Rate
Required
Sample
block
ADPCM, G.726
32 Kbps
10 ms
2.5 ms
10 ms
CS-ACELP, G.
729A
8.0 Kbps
10 ms
2.5 ms
10 ms
30 ms
5 ms
20 ms
MP-ACELP, G.
723.1
30 ms
5 ms
20 ms
5.3 Kbps
1.2
48
:10 ms
:3 ms
:5 ms
:18 ms
1.2
49
50
1.2
Coder
Payload
Packetization
Size
Delay (ms)
(Bytes)
Payload Size
(Bytes)
Packetization
Delay (ms)
PCM, G.711
64 Kbps
160
20
240
30
ADPCM, G.
726
32 Kbps
80
20
120
30
CS-ACELP,
G.729
8.0 Kbps
20
20
30
30
MP-MLQ,
G.723.1
6.3 Kbps
24
24
60
48
MP-ACELP,
G.723.1
5.3 Kbps
20
30
60
60
1.2
51
52
1.2
Frame Size
(bytes)
56
64
128
256
384
512
768
1024
1544
2048
38
15.83
5.43
4.75
2.38
1.19
0.79
0.59
0.40
0.30
0.20
0.15
48
20.00
6.86
6.00
3.00
1.50
1.00
0.75
0.50
0.38
0.25
0.19
64
26.67
9.14
8.00
4.00
2.00
1.33
1.00
0.67
0.50
0.33
0.25
128
53.33
18.29
16.00
8.00
4.00
2.67
2.00
1.33
1.00
0.66
0.50
256
106.67
36.57
32.00
16.00
8.00
5.33
4.00
2.67
2.00
1.33
1.00
512
213.33
73.14
64.00
32.00
16.00
10.67
8.00
5.33
4.00
2.65
2.00
1024
426.67
146.29
128.00
64.00
32.00
21.33
16.00
10.67
8.00
5.31
4.00
1500
625.00
214.29
187.50
93.75
46.88
31.25
23.44
15.63
11.72
7.77
5.86
2048
853.33
292.57
256.00
128.00
64.00
42.67
32.00
21.33
16.00
10.61
8.00
1.2
53
Este Delay es dado por el tiempo de permanencia en la cola antes de ser transmitido por
la Interface del Enrutador
Los paquetes de Voz deberan tener QoS (Prioridad) en comparacin de los paquetes de
Datos, por lo tanto el tiempo en cola debe ser pequeo.
1.2
54
1.2
55
1.2
56
57
1.2
Delay Type
Fixed (ms)
Coder Delay, 1
18
Packetization Delay, 1
30
Queuing/Buffering, 1
Variable (ms)
40
45
Totals
138
25
33
58
1.2
Delay Type
Fixed (ms)
Coder Delay, 1
18
Packetization Delay, 1
30
Queuing/Buffering, 1
Variable (ms)
40
Queuing/Buffering, 2
25
0.2
0.1
40
75
Totals
209.1
25
58.2
59
1.2
Voz
Datos
Encab.
UDP
Encab.
G.x
Voz
Datos
Encab. Encab.
IP
UDP
Encab.
G.x
Voz
Datos
Encab.
Aplic.
Voz
Datos
APLICACIN
TCP / UDP
IP
Ethernet
Cobre, FO, etc
101010101010101010101010101010
1.2
60
1.2
61
1.2
62
1.2
63
1.2
64
1.2
65
1.2
66
1.2
67
1.2
68
Ejemplo: El Ancho de Banda requerido para una llamada G.729 (8 Kbps codec bit rate)
with cRTP, MLPPP y un valor de 20 bytes de carga til de voz es:
voice packet size (bytes) = (MLPPP header of 6 bytes) + ( compressed IP/UDP/RTP
header of 2 bytes) + (voice payload of 20 bytes) = 28 bytes
voice packet size (bits) = (28 bytes) * 8 bits per byte = 224 bits
voice PPS = (8Kbps codec Bit Rate ) / (160 bits) = 50 PPS
Nota: 160 bits = 20 bytes (default voice payload) * 8 (bits per byte) Bandwidth per call =
voice packet size (224 bits) * 50 PPS =
11.2 Kbps
69
1.2
Bandwidth
Bandwidth w/
cRTP
Bandwidth w/VAD
Payload Size
Codec Bit
Rate
MLPPP or
FRF.12
Bandwidth
w/cRTP &
VAD
MLPPP or
FRF.12
MLPPP or
FRF.12
MLPPP or
FRF.12
Kbps
Bytes
Kbps
Kbps
Kbps
Kbps
G.711 (64)
240
76
66
50
43
G.711 (64)
160 (Default)
83
68
54
44
G.726 (32)
120
44
34
29
22
G.726 (32)
80 (Default)
50
35
33
23
G.726 (24)
80
38
27
25
17
G.726 (24)
60 (Default)
42
27
27
18
G.728 (16)
80
25
18
17
12
G.728 (16)
40 (Default)
35
19
23
13
G.729 (8)
40
17.2
9.6
11.2
6.3
G.729 (8)
20 (Default)
26.4
11.2
17.2
7.3
G.723.1 (6.3)
48
12.3
7.4
8.0
4.8
G.723.1 (6.3)
24 (Default)
18.4
8.4
12.0
5.5
G.723.1 (5.3)
40
11.4
6.4
7.4
4.1
G.723.1 (5.3)
20 (Default)
17.5
7.4
11.4
4.8
70
Contenido
Numeral
Contenido
1.1
1.2
Capacity Planning
1.3
Mobile IP
1.4
1.3
71
1.3
72
Direccionamiento IP
150.20.1.1
20.0.1.1
20.0.2.1
Red WAN
(Internet)
20.0.0.15
20.0.0.10
200.20.15.2
200.20.15.1
Enrutador
Dir. Red 20.0.0.0
Enrutador
Dir. Red 150.20.0.0
150.20.0.10
1.3
73
Qu es Mobile IP?
1.3
74
Qu es Mobile IP?
1.3
75
Qu es Mobile IP?
1.3
Entidades en Mobile IP
Nodo
Es cualquier Host o Enrutador
76
77
1.3
Entidades en Mobile IP
Foreign
Agent
20.0.0.3
20.0.0.4
20.0.0.2
RED 20.0.0.0
Red
Wan
RED 10.0.0.0
Enrutador
10.0.0.1
Home Agent
10.0.0.4
10.0.0.2
10.0.0.3
1.3
78
Entidades en Mobile IP
Nodo Mvil
Es un nodo que cambia su punto de conexin de una Red o Subred a otra
79
1.3
Entidades en Mobile IP
Foreign
Agent
20.0.0.3
10.0.0.4
20.0.0.4
20.0.0.2
RED 20.0.0.0
Red
Wan
RED 10.0.0.0
Enrutador
10.0.0.1
Home Agent
10.0.0.4
10.0.0.2
10.0.0.3
1.3
80
Entidades en Mobile IP
Agente de Casa (Home Agent)
Es un nodo que esta encargado de establecer el tnel cuando un nodo de su
red se ha movido a otra. Adems posee la funcin de Reenviar los paquetes
hasta ese nodo en la red donde se encuentre
81
1.3
Entidades en Mobile IP
Foreign
Agent
20.0.0.3
10.0.0.4
20.0.0.4
20.0.0.2
RED 20.0.0.0
Red
Wan
RED 10.0.0.0
Enrutador
10.0.0.1
Home Agent
10.0.0.2
10.0.0.3
1.3
Entidades en Mobile IP
Agente Forneo (Foreign Agent)
Es un nodo de la red visitante que presta los servicios para la movilidad
mientras se encuentran registrados con l
82
83
1.3
Entidades en Mobile IP
Foreign
Agent
20.0.0.3
10.0.0.4
20.0.0.4
20.0.0.2
RED 20.0.0.0
Red
Wan
RED 10.0.0.0
Enrutador
10.0.0.1
Home Agent
10.0.0.2
10.0.0.3
84
1.3
Funcionamiento de Mobile IP
2) El datagrama es
Interceptado por el
Home Agent y es enviado
por el tnel a la direccin
care-of address
Home
Agent
Foreign
Agent
2
Mobile
Node
4
1) Un Datagrama
es enviado al nodo
mvil y llega a la red
original mediante
enrutamiento
IP estandar
Host
85
1.3
Foreign
Agent
1) El Tnel se realiza
entre el Home Agent
y el Foreign Agent.
2) La direccin es
asignada por el
Foreign Agent
10.0.0.4
20.0.0.4
20.0.0.2
RED 20.0.0.0
Red
Wan
RED 10.0.0.0
Enrutador
10.0.0.1
Home Agent
10.0.0.4
10.0.0.2
10.0.0.3
86
1.3
20.0.0.3
Foreign
Agent
10.0.0.4
20.0.0.4
20.0.0.2
RED 20.0.0.0
Red
Wan
RED 10.0.0.0
Enrutador
10.0.0.1
Home Agent
10.0.0.4
10.0.0.2
10.0.0.3
87
1.3
1) El Tnel se realiza
entre el Home Agent
y el Nodo Mvil.
2) La direccin es
asignada por
mecanismos
externos tales como
direcciones fijas o
DHCP.
10.0.0.4
20.0.0.4
RED 20.0.0.0
Red
Wan
RED 10.0.0.0
Enrutador
10.0.0.1
Home Agent
10.0.0.2
10.0.0.4
10.0.0.3
88
1.3
20.0.0.3
10.0.0.4
20.0.0.4
RED 20.0.0.0
Red
Wan
RED 10.0.0.0
Enrutador
10.0.0.1
Home Agent
10.0.0.2
10.0.0.4
10.0.0.3
1.3
89
1.3
90
1.3
91
1.3
92
Destination Address :
Variable
434
La direccin del
nodo que enva el
mensaje
La direccin del
Foreign Agent o del Home Agent
93
1.3
15
7
TIPO
S B D M
G V rsv
23
LIFETIME
HOME ADDRESS
HOME AGENT
CARE-OF ADDRESS
IDENTIFICACIN
EXTENSIONES ...
31
94
1.3
15
TIPO
CODIGO
HOME ADDRESS
HOME AGENT
IDENTIFICACIN
EXTENSIONES ...
23
LIFETIME
31
95
1.3
Extensin de Autenticacin
7
TIPO
15
LONGITUD
SPI
23
SPI
AUTENTICADOR ...
Tipo
32 : Autenticacin Mvil - Home Agent
33 : Autenticacin Mvil - Foreign Agent
34 : Autenticacin Foreign - Home Agents
Longitud : 4 bytes ms el nmero de bytes en el autenticador
31
1.3
96
Extensin de Autenticacin
SPI
Security Parameter Index
Autenticador
Es el valor dado por el algoritmo MD5 que trabaja con 128 bits
1.3
Caso - Windows
97
1.3
98
1.3
99
1.3
100
1.3
101
Parameter Index)
1.3
102
1.3
103
Remota
1.3
Desconexin
104
1.3
105
1.3
106
1.3
107
FTP
Protocolo de Transferencia de Archivos
HTTP
Servicios de Web
PING
Verificacin de Conectividad
TRACE
Verificacin de Rutas
Teniendo en cuenta que las redes locales son 10/100baseT y la
conexin dedicada entre enrutadores es de 768kbps.
108
Contenido
Numeral
Contenido
1.1
1.2
Capacity Planning
1.3
Mobile IP
1.4
1.4
109
1.4
110
1.4
111
1.4
112
1.4
113
1.4
114
1.4
115
1.4
116
1.4
Operador de Contenidos
117
1.4
Operador de Contenidos
118
1.4
Operador de Contenidos
119
1.4
Operador de Contenidos
120