Subido por Andres Felipe Jaramillo Sepúlveda

Configuracion entorno de red con dos router y vlsm interfaz vlan en sw

Anuncio
ESCUELA DE INNOVACION EN INDUSTRIA Y TECNOLOGIA
CCNA2-ROUTER Y SWITCHES
Taller – Conectar 2 Routers con RIP por Consola
Docente: Oscar Mario Gil Ríos
Objetivo: Mediante la configuración por consola conectar dos sedes (Itagüí y
Envigado), utilizando el método de Subneteo vlsm
Problema: se tiene la red general 10.0.0.0 y se desea subdividir en 5 subredes
con la siguiente cantidad de host 1000, 500, 300, 200 y 150
Ver procedimiento en la Tabla 1.
1000 host
2^10 = 1024 - 2 =
1022
255.255.252.0
saltos = 4
500 host
300 host
200 host
150 host
2^9 = 512 - 2 =
510
2^8 = 256 - 2 =
2^9 = 512 - 2 = 510 254
2^8 = 256 - 2 =
254
255.255.254.0
255.255.254.0
255.255.255.0
255.255.255.0
saltos = 2
saltos = 2
saltos = 1
saltos = 1
Tabla 2. Subredes
IP
10.0.0.0
10.0.4.0
10.0.6.0
10.0.8.0
10.0.9.0
10.0.10.0
Primer IP valida
10.0.0.1
10.0.4.1
10.0.6.1
10.0.8.1
10.0.9.1
10.0.10.1
Ultima Ip valida
10.0.3.254
10.0.5.254
10.0.7.254
10.0.8.254
10.0.9.254
10.0.10.254
Broascast
10.0.3.255
10.0.5.255
10.0.7.255
10.0.8.255
10.0.9.255
10.0.10.255
mascara
255,255,252,0
255,255,254,0
255,255,254,0
255,255,255,0
255,255,255,0
Para este ejercicio utilizaremos las tres primeras subredes distribuidas así:
Para conectar la red WAN con los Router 2901 (ITAGUI , ENVIGADO)
10.0.0.0 para conectar los router (Router Itagüí – 10.0.0.1 con mascara
255.255.252.0 ) con reloj 128000
(Router Envigado – 10.0.0.2 con mascara 255.255.252.0) sin reloj
CIDR
22
23
23
24
24
ESCUELA DE INNOVACION EN INDUSTRIA Y TECNOLOGIA
CCNA2-ROUTER Y SWITCHES
Taller – Conectar 2 Routers con RIP por Consola
Docente: Oscar Mario Gil Ríos
Para conectar la red LAN con los Swiiches 2960 (ITAGUI , ENVIGADO)
10.0.4.0 para conectar el switche de Itagüí – 10.0.4.1 con mascara 255.255.254.0
10.0.6.0 para conectar el switche de Envigado – 10.0.6.1 con mascara
255.255.254.0
PASO A PASO
Para entrar a configurar los Routers, se procede así: mediante el uso de una
Terminal conectada con el cable de consola desde el puerto rs232 al router por el
puerto de consola, entrar directamente al router0, dando clic sobre la ficha CLI
(Interfaz de línea de comandos IOS).
1. Si al ingresar a la consola sale la siguiente pregunta, se responde N
Continue with configuration dialog?
[Yes/no]: n
ESCUELA DE INNOVACION EN INDUSTRIA Y TECNOLOGIA
CCNA2-ROUTER Y SWITCHES
Taller – Conectar 2 Routers con RIP por Consola
Docente: Oscar Mario Gil Ríos
APARTIR DE AQUI ESTA EN EL MODO CONSOLA DEL ROUTER0 (ITAGUI)
Router>ena
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Itagui
itagui(config)#int se0/0/0
itagui(config-if)#ip add 10.0.0.1 255.255.252.0
itagui(config-if)#clock rate 128000
itagui(config-if)#no sh
------------------------------------------------------------APARTIR DE AQUI ESTA EN EL MODO CONSOLA DEL
ROUTER1(ENVIGADO)
Router>ena
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Envigado
Envigado(config)#int se0/0/1
Envigado(config-if)#ip add 10.0.0.2 255.255.252.0
Envigado(config-if)#no clock rate
This command applies only to DCE interfaces
Envigado(config-if)#no sh
Envigado(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
Envigado(config-if)#do copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Envigado(config-if)#
ESCUELA DE INNOVACION EN INDUSTRIA Y TECNOLOGIA
CCNA2-ROUTER Y SWITCHES
Taller – Conectar 2 Routers con RIP por Consola
Docente: Oscar Mario Gil Ríos
CONFIGURACION DE LA IP DEL GIGAETHERNET PARA EL ROUTER ITAGUI
APARTIR DE AQUI ESTA EN EL MODO CONSOLA DEL ROUTER0 (ITAGUI)
GIGAETHERNET 0/0
itagui#
itagui#config t
Enter configuration commands, one per line. End with CNTL/Z.
itagui(config)#int g0/0
itagui(config-if)#ip add 10.0.4.1 255.255.254.0
itagui(config-if)#no sh
itagui(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state
to up
itagui(config-if)#exit
itagui(config)#do copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
itagui(config)#
--------------------------------------------------------------CONFIGURACION DE LA IP DE LAS GIGAETHERNET PARA EL ROUTER
ENVIGADO
APARTIR DE AQUI ESTA EN EL MODO CONSOLA DEL ROUTER1
(ENVIGADO)
GIGAETHERNET 0/1
Envigado>
Envigado>ena
Envigado#config t
Enter configuration commands, one per line. End with CNTL/Z.
Envigado(config)#int g0/1
Envigado(config-if)#ip add 10.0.6.1 255.255.254.0
Envigado(config-if)#no sh
Envigado(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
Envigado(config-if)#exit
Envigado(config)#do copy run start
ESCUELA DE INNOVACION EN INDUSTRIA Y TECNOLOGIA
CCNA2-ROUTER Y SWITCHES
Taller – Conectar 2 Routers con RIP por Consola
Docente: Oscar Mario Gil Ríos
Destination filename [startup-config]?
Building configuration...
[OK]
Envigado(config)#
CONFIGURAR PROTOCOLO DE ENRUTAMIENTO STATIC
PASOS PARA CONFIGURAR EL ENRUTAMIENTO DEL ROUTER ITAGUI
itagui>enable
itagui#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
itagui(config)#ip route 10.0.6.0 255.255.254.0 10.0.0.2
itagui(config)#do copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
itagui(config)#
-------------------------------------------------------------------------------------------------------------CONFIGURAR PROTOCOLO DE ENRUTAMIENTO STATIC
PASOS PARA CONFIGURAR EL ENRUTAMIENTO DEL ROUTER ENVIGADO
Envigado>
Envigado>ena
Envigado#config t
Enter configuration commands, one per line. End with CNTL/Z.
Envigado(config)#ip route 10.0.4.0 255.255.254.0 10.0.0.1
Envigado(config)#do copy run start
ESCUELA DE INNOVACION EN INDUSTRIA Y TECNOLOGIA
CCNA2-ROUTER Y SWITCHES
Taller – Conectar 2 Routers con RIP por Consola
Docente: Oscar Mario Gil Ríos
Destination filename [startup-config]?
Building configuration...
[OK]
Envigado(config)#
CONFIGURACION MANUAL DE LAS ESTACIONES DE CADA SEDE
SEDE ITAGUI
CONFIGURACION MANUAL DE LAS ESTACIONES DE CADA SEDE
SEDE ENVIGADO
ESCUELA DE INNOVACION EN INDUSTRIA Y TECNOLOGIA
CCNA2-ROUTER Y SWITCHES
Taller – Conectar 2 Routers con RIP por Consola
Docente: Oscar Mario Gil Ríos
CONFIGURAR LAS INTERFACES VLAN EN LOS SWITCHES
SW-ITAGUI
Switch>
Switch>ena
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#no ip domain-lo
Switch(config)#hostname sw-itagui
sw-itagui(config)#int vlan 1
sw-itagui(config-if)#ip add 10.0.4.5 255.255.254.0
sw-itagui(config-if)#no sh
sw-itagui(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
sw-itagui(config-if)#
sw-itagui(config-if)#do wr
Building configuration...
[OK]
sw-itagui(config-if)#exit
sw-itagui(config)#ip de
sw-itagui(config)#ip default-gateway 10.0.4.1
sw-itagui(config)#do wr
Building configuration...
[OK]
sw-itagui(config)#
SW-ENVIGADO
Switch>ena
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#no ip domain-lo
Switch(config)#int vlan 1
Switch(config-if)#ip add 10.0.6.5 255.255.254.0
Switch(config-if)#exit
Switch(config)#ip de
ESCUELA DE INNOVACION EN INDUSTRIA Y TECNOLOGIA
CCNA2-ROUTER Y SWITCHES
Taller – Conectar 2 Routers con RIP por Consola
Docente: Oscar Mario Gil Ríos
Switch(config)#ip default-gateway 10.0.6.1
Switch(config)#do wr
Building configuration...
[OK]
Switch(config)#
ESCENARIO COMPLETO ENVIANDO PAQUETES
Descargar