Académique Documents
Professionnel Documents
Culture Documents
Enrutamiento IP
Fundamentos y aplicacin - P1
Fredy Campos A.
f.campos@ieee.org
Carrera Profesional de Ingeniera Electrnica y Telecomunicaciones
Universidad Nacional Tecnolgica de Lima Sur (UNTELS)
2015
Objetivos
Contenido
Conceptos previos
Enrutamiento IP
Sistemas autnomos
0-127
Direccin host
27-2=126 redes
7 bits
Clase A 0
n bits
24-n bits
0-127
Direccin de Subnet
Direccin host
27-2=126 redes
2n-2 subredes
224-n-2 host
EJEMPLO DE VLSM
R2
R3
200.1.1.0/26
SW1
200.1.1.64/26
R1
R4
SW2
. ..
. ..
R6
R5
26-2 = 62
direcciones IP
255
255
192
6
EJEMPLO DE VLSM
R2
200.1.1.0/26
200.1.1.64/26
R1
. ..
5
200.1.1.152/30
200.1.1.160/30
SW1
R3
200.1.1.132/30
R4
SW2
. ..
3
R6
200.1.1.144/30
R5
..
.
200.1.1.1010 0000 = 200.1.1.160/30 VLSM 8
2015 | Fredy Campos | f.campos@ieee.org
NOTA:
El comando ip subnet-zero
habilita la subred 0, en los
IOS anteriores al 12.0
SUPER-REDES O AGREGACIN
200.10.4.0/24
200.10.4.0/24
200.10.6.0/24
200.10.6.0/24
200.10.4.0
200.10.5.0
200.10.6.0
200.10.7.0
255.255.255.0
255.255.255.0
255.255.255.0
255.255.255.0
S0
S0
S0
S0
S0
200.10.5.0/24
200.10.5.0/24
200.10.7.0/24
200.10.7.0/24
200.10.4.0
200.10.0000 0110.0/24
200.10.0000 0111.0/24
2015 | Fredy Campos | f.campos@ieee.org
S0
summarization
200.10.0000 0100.0/24
200.10.0000 0101.0/24
255.255.252.0
200.10.0000 0100.0/22
200.10.4. 0/22
Enrutamiento IP - Fundamentos y aplicacin - P1
QUE ES ENRUTAMIENTO
Es la accin de mover una informacin a
travs de una red de telecomunicaciones
desde un origen hasta un destino.
Enrutamiento (Routing) ocurre en la capa 3
del modelo OSI.
Enrutamiento
Determinar la ruta
ptima
2015 | Fredy Campos | f.campos@ieee.org
Transportar la
informacin
10
Mscara
Salto sigte
255.255.255.0
200.1.2.6
LAN destino
210.10.10.0
200.1.2.5
Mscara
Salto sigte
255.255.255.0
200.1.2.5
200.1.2.6
255.255.255.0
255.255.255.0
11
INTERNET ES BIDIRECCIONAL?
Red A Router 1
Red B Router 3
Red A Router 2
Red B Router 6
Router 2
Red A Router a
Red B Router 2
Red A Router 5
Red B Router b
Router 1
Red A Directo
Red B Router 1
Router 3
Router 6
Red A Router 6
Red B Directo
Router a
Router b
Router 4
Red A Router 1
Red B Router 2
SW
i
PC j
Router 5
Red A Router 4
Red B Router 2
Dato
Red A
SW
Dato
Red B
Enrutamiento IP - Fundamentos y aplicacin - P1
PC i
12
13
14
SWITCH
Ethernet
FastEthernet
GigaEthernet
ROUTER
Serial o
Tecnologa Ethernet
WAN
WAN
Configuracin de
router
Consola
15
16
INTERCONEXIN DE DISPOSITIVOS
E0
Cable directo o
Straight-through
Cable cruzado o
Crossover
E0
ROUTER A
SWITCH
ROUTER B
S0
E0
Cable serial
S1
Cable cruzado o
Crossover
E0
Cable directo o
Straight-through
E1
Cable directo o
Straight-through
HUB
Cable directo o
Straight-through
Cable cruzado o
Crossover
17
Interfaz LAN
Interfaz WAN
Interfaz Consola/AUX
Tablas de enrutamiento
Cach ARP
Diagnstico de encendido
operativo
18
running-config
running-config
startup-config
startup-config
flash
flash
2015 | Fredy Campos | f.campos@ieee.org
19
Router>
enable
Router#
configure terminal
Router#
MODO
MODOEXEC
EXEC
PRIVILEGIADO
PRIVILEGIADO
Router(config)#
Router(config)#
router
MODO
MODOEXEC
EXEC
CONFIGURACION
CONFIGURACION
GLOBAL
GLOBAL
Router(config)#
interface
Modos especficos
MODO
MODODE
DE
CONFIGURACION
CONFIGURACION
DEL
DELROUTER
ROUTER
MODO
MODODE
DE
CONFIGURACION
CONFIGURACION
DE
DEINTERFAZ
INTERFAZ
Router(config-router)#
2015 | Fredy Campos | f.campos@ieee.org
Router(config-if)#
Enrutamiento IP - Fundamentos y aplicacin - P1
20
21
22
Comando interface
LIMA(config)#interface serial 0/0
LIMA(config-if)#
Depende de cada
router
23
ENRUTAMIENTO ESTTICO
Fa0/0
PC 2
R6
Fa0/1
Fa0/0
S0/1
R2
S0/0
LAN 210.9.8.0/24
con 62 IP mximo
en cada LAN
S0/1
S0/1
R3
5
S0/0
R7
Fa0/0
WAN 200.1.2.0/24
S0/0
Fa0/1
PC 3
Fa0/0
R1
Fa0/0
R5
Fa0/1
PC 1
Fa0/0
6
S0/0
S0/1
R4
Fa0/0
Fa0/1
R8
PC 4
Fa0/0
2015 | Fredy Campos | f.campos@ieee.org
24
ENRUTAMIENTO ESTTICO
Fa0/0
R6
Fa0/1
.14
.65
Fa0/0
S0/1
.10
R2
.17
S0/0
.5
210.9.8.0/26
R3
.21
LAN 210.9.8.0/24
con 62 IP mximo
en cada LAN
S0/1
.2
200.1.2.0/30
0
S0/0
.25
200.1.2.24/30
6
.1
.22
R7
Fa0/0
S0/1
Fa0/1
.18
WAN 200.1.2.0/27
200.1.2.20/30
S0/0
200.1.2.16/30
4
Fa0/0
R1
Fa0/0
.6
200.1.2.4/30
.1
R5
Fa0/1
Fa0/0
200.1.2.8/30
2
PC 1
210.9.8.64/26
200.1.2.12/30
3
.13
.9
PC 2
PC 3
.129
210.9.8.128/26
.26
S0/0
S0/1
R4
Fa0/0 .29
200.1.2.28/30
7
210.9.8.192/26
PC 4
.193
Fa0/1 .30
R8
Fa0/0
2015 | Fredy Campos | f.campos@ieee.org
25
CONFIGURACIN BSICA
Configurando el router R1:
Algunos
IOS no
requieren
configurar
clock rate
VERIFIQUE!
26
CONFIGURACIN BSICA
Analizar las tablas de enrutamiento antes de
ingresar los enlaces:
show ip route
Muestra la tabla de enrutamiento del router.
27
Mscara
Mscara
Salto
Salto siguiente
siguiente
200.1.2.12
200.1.2.12
255.255.255.252
255.255.255.252
200.1.2.10
200.1.2.10
200.1.2.16
200.1.2.16
255.255.255.252
255.255.255.252
200.1.2.10
200.1.2.10
200.1.2.20
200.1.2.20
255.255.255.252
255.255.255.252
200.1.2.10
200.1.2.10
200.1.2.24
200.1.2.24
255.255.255.252
255.255.255.252
200.1.2.1
200.1.2.1
200.1.2.28
200.1.2.28
255.255.255.252
255.255.255.252
200.1.2.1
200.1.2.1
210.9.8.0
210.9.8.0
255.255.255.192
255.255.255.192
200.1.2.6
200.1.2.6
210.9.8.64
210.9.8.64
255.255.255.192
255.255.255.192
200.1.2.10
200.1.2.10
210.9.8.128
210.9.8.128
255.255.255.192
255.255.255.192
200.1.2.10
200.1.2.10
210.9.8.192
210.9.8.192
255.255.255.192
255.255.255.192
200.1.2.1
200.1.2.1
28
29
30
INTERFACES LOOPBACK
Son interfaces creadas por software y tienen
diversas aplicaciones:
Para verificar el buen funcionamiento de las tablas
de enrutamiento.
Por algunos protocolos de enrutamiento como OSPF
Se configura como cualquier interfaz fsica.
Lo_1
Lo_2
R1
R2
interface loopback 1
31
RED
RED11
S0
10.0.56.4/30
10.0.56.5/30
S1
RED
REDnn
10.0.56.6/30
RED
RED22
32
33
34
PROTOCOLO ENRUTADO-vs-ENRUTAMIENTO
tabla
--- ---- --- ---
------- -- ---
------- -- ---
Dato
tabla
------- -- ---
tabla
Dato
tabla
------- -- ---
35
PROTOCOLOS DE ENRUTAMIENTO
IGP: RIP, IGRP, OSPF, EIGRP
EGP: BGP
SISTEMA AUTNOMO
SISTEMA AUTNOMO
36
ISP2
Redes
n5, n6
ISP2
Redes
n5, n6
AS
AS
iBGP
Redes n1, n2
Redes n1, n2
El AS no permite el trfico de
trnsito a travs de l.
37
38
Caractersticas
RIP
OSPF
IGRP
EIGRP
EIGRP
Tipo
Distance-Vector
Link-State
Distance-Vector
Distance-Vector
Distance-Vector
Tiempo de convergencia
Lento
Rpido
Lento
Rpido
Rpido
Soporta VLSM
No
Si
No
SiSi
Alto
Bajo
Alto
Consumo de recursos
Bajo
Alto
Bajo
Bajo
Bajo
Bajo
Bajo
Mejor escalamiento
No
Si
Si
SiSi
De
Delibre
libreuso
usooopropietario
propietario
Libre
Libreuso
uso
Libre
Libreuso
uso
Propietario
Propietario
Propietario
Propietario
39
Conclusiones
40
Bibliografa
41
Fredy Campos A.
f.campos@ieee.org
Carrera Profesional de Ingeniera Electrnica y Telecomunicaciones
Universidad Nacional Tecnolgica de Lima Sur (UNTELS)
42