Está en la página 1de 9

JUAN CARLOS LOPEZ SUAREZ Y VANESSA JASSO BELTRAN

MANUAL SENCILLO DE REDES PARA LEVANTAR UNA RED MUY BASICA


PARA LOS COMANDOS SE TOMA DE EJEMPLO LA SIGUIENTE RED

RUTAS DINAMICAS
CONFIGURACION DESDE EL EQUIPO C
PONIENDO NOMBRE AL HOST E INTRODUCIENDO PASSWORDS
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Lab_C
Lab_C(config)#enable password r1
Lab_C(config)#enable secret r2
Lab_C(config)#exit
PONIENDO DIRECCIONES IP A LAS INTERFACES E0, S0 Y S1
Lab_C#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#interface e0
Lab_C(config-if)#ip address 5.0.0.1 255.0.0.0
Lab_C(config-if)#no shutdown
Lab_C(config)#exit
Lab_C#

JUAN CARLOS LOPEZ SUAREZ Y VANESSA JASSO BELTRAN


Lab_C#config t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#interface s0
Lab_C(config-if)#ip address 4.0.0.2 255.0.0.0
Lab_C(config-if)#bandwidth 64000
Lab_C(config-if)#clockrate 56000
Lab_C(config-if)#no shutdown
Lab_C(config-if)#
Lab_C(config)#exit
Lab_C#
Lab_C#config t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#interface s1
Lab_C(config-if)#ip address 6.0.0.1 255.0.0.0
Lab_C(config-if)#no shutdown
Lab_C(config-if)#exit
Lab_C(config)#
Lab_C(config)#exit
Lab_C#
COMANDO PARA VER DATOS DEL ROUTER
Lab_C#show run
Building configuration...
Current configuration:
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Lab_C
!
enable secret 5 $1$0hCA$HpXHkVMgti7B9Ve1Qx0h/1
enable password r1
!
!
!
interface Ethernet0
ip address 5.0.0.1 255.0.0.0
!

JUAN CARLOS LOPEZ SUAREZ Y VANESSA JASSO BELTRAN


interface Serial0
ip address 4.0.0.2 255.0.0.0
bandwidth 64000
clockrate 56000
!
interface Serial1
ip address 6.0.0.1 255.255.255.0
!
ip classless
!
!
line con 0
line 1 8
line aux 0
line vty 0 4
!
end
DECLARANDO EL PROTOCOLO ROUTER RIP VERSION 2 Y LOS VECINOS
Lab_C#config t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#router rip
Lab_C(config-router)#version 2
Lab_C(config-router)#network 4.0.0.1
Lab_C(config-router)#network 6.0.0.2
Lab_C(config-router)#network 5.0.0.2
Lab_C(config-router)#exit
Lab_C(config)#config t
^
IP HOST
Lab_C(config)#ip host Lab_A 1.0.0.1 2.0.0.1
Lab_C(config)#ip host Lab_B 2.0.0.2 3.0.0.1 4.0.0.1
Lab_C(config)#ip host Lab_C 4.0.0.2 5.0.0.1 6.0.0.1
Lab_C(config)#ip host Lab_D 6.0.0.2 7.0.0.1 8.0.0.1
Lab_C(config)#ip host Lab_E 8.0.0.2 9.0.0.1
DECLARANDO LINEAS VIRTUALES
Lab_C#
Lab_C#config t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#line vty 0 4
Lab_C(config-line)#password r3

JUAN CARLOS LOPEZ SUAREZ Y VANESSA JASSO BELTRAN


Lab_C(config-line)#login
Lab_C(config-line)#^Z
Lab_C#
DECLARANDO PROTOCOLO HTTP
Lab_C#
Lab_C#config t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#ip http server
Lab_C(config)#^Z
PONIENDO FECHA Y HORA AL ROUTER
Lab_C#
Lab_C#clock set 7:46:39 19 feb 2015
Lab_C#^Z
Lab_C#show run
COPIANDO MEMORIA RAM A LA NVRAM
Lab_C#copy run start
Building configuration...
[OK]
Lab_C#
DECLARANDO CONSOLA Y PASSWORD
Lab_C#config t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#line console 0
Lab_C(config-line)#password r4
Lab_C(config-line)#login
Lab_C(config-line)#^Z
PROTOCOLO CDP
Lab_C#
Lab_C#config t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#cdp run
Lab_C(config)#interface e0
Lab_C(config-if)#cdp enable
Lab_C(config-if)#interface s0
Lab_C(config-if)#cdp enable
Lab_C(config-if)#interface s1
Lab_C(config-if)#cdp enable

JUAN CARLOS LOPEZ SUAREZ Y VANESSA JASSO BELTRAN


Lab_C(config-if)#^Z
Lab_C#
USANDO EL PROTOCOLO CDP VIENDO DATOS DE NEIGHBORS
Lab_C#
Lab_C#show cdp neighbors
USANDO EL PROTOCOLO CDP VIENDO DATOS DE NEIGHBORS A DETALLE
Lab_C#show cdp neighbors detail
INTRODUCIENDO MENSAJE DE BIENVENIDA (BANNER) A ROUTER
Lab_C#
Lab_C#config t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#banner motd ' buenas noches'
Lab_C(config)#^Z
COMANDO TELNET PARA ENTRAR A OTRO EQUIPO
Lab_C#
Lab_C#telnet 1.0.0.1
Trying 1.0.0.1 ... Open
hola
User Access Verification
Password:
Lab_B>ENABLE
Password:
REGRESANDO AL EQUIPO PIDE LAS CONTRASEAS DE NUEVO
Lab_B#EXIT
buenas noches
User Access Verification
Password:
Lab_C>ena
Password:
Lab_C#config t

DANDO DESCRIPCION A CADA UNA DE LAS INTERFAZES


Lab_C#
Lab_C#
Lab_C#conf t
Enter configuration commands, one per line. End with CNTL/Z.

JUAN CARLOS LOPEZ SUAREZ Y VANESSA JASSO BELTRAN


Lab_C(config)#interface s0
Lab_C(config-if)#description interface que va hacia el equipo D
Lab_C(config-if)#^Z
Lab_C#

NO CORRESPONDE AL EJEMPLO PERO EL COMANDO SHOW IP ROUTE MUESTRA


LA TABLA DE ENRUTAMIENTO
Lab_C#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
C 153.204.0.0/16 is directly connected, Serial0/0
C 152.204.0.0/16 is directly connected, FastEthernet0/0
R 155.204.0.0/16 [120/1] via 153.204.0.15, 00:00:04, Serial0/0
R 157.204.0.0/16 [120/2] via 153.204.0.15, 00:00:04, Serial0/0
R 156.204.0.0/16 [120/2] via 153.204.0.15, 00:00:04, Serial0/0
R 159.204.0.0/16 [120/3] via 153.204.0.15, 00:00:04, Serial0/0
R 149.204.0.0/16 [120/1] via 151.204.0.10, 00:00:27, Serial1/0
R 148.204.0.0/16 [120/2] via 151.204.0.10, 00:00:27, Serial1/0
C 151.204.0.0/16 is directly connected, Serial1/0
R 150.204.0.0/16 [120/1] via 151.204.0.10, 00:00:00, Serial1/0
Lab_C#

JUAN CARLOS LOPEZ SUAREZ Y VANESSA JASSO BELTRAN


RUTAS ESTATICAS

MISMA CONFIGURACION QUE RUTAS DINAMICAS


BASADA DESDE EL EQUIPO A
DECLARACION DE RUTAS ESTATICAS
DIRECCION DE RED QUE SE DESEA ALCANZAR + SU MASCARA + DE DONDE TENGO SALIDA
NOTA: LAS DIRECCIONES DE RED 4.0.0.0, 5.0.0.0 y 6.0.0.0.0
NO SE ALCANZAN YA QUE ESTAN CONECTADAS DIRECTAMENTE
Lab_C#config t
Lab_C(config)#ip route 3.0.0.0 255.0.0.0 2.0.0.2
Lab_C(config)#ip route 4.0.0.0 255.0.0.0 2.0.0.2
Lab_C(config)#ip route 5.0.0.0 255.0.0.0 2.0.0.2
Lab_C(config)#ip route 6.0.0.0 255.0.0.0 2.0.0.2
Lab_C(config)#ip route 7.0.0.0 255.0.0.0 2.0.0.2
Lab_C(config)#ip route 8.0.0.0 255.0.0.0 2.0.0.2
Lab_C(config)#ip route 9.0.0.0 255.0.0.0 2.0.0.2
Lab_C#

JUAN CARLOS LOPEZ SUAREZ Y VANESSA JASSO BELTRAN


BASADA DESDE EL EQUIPO C
DECLARACION DE RUTAS ESTATICAS
DIRECCION DE RED QUE SE DESEA ALCANZAR + SU MASCARA + DE DONDE TENGO SALIDA
Lab_C#config t
Lab_C(config)#ip route 1.0.0.0 255.0.0.0 4.0.0.1
Lab_C(config)#ip route 2.0.0.0 255.0.0.0 4.0.0.1
Lab_C(config)#ip route 3.0.0.0 255.0.0.0 4.0.0.1
NOTA: LAS DIRECCIONES DE RED 4.0.0.0, 5.0.0.0 y 6.0.0.0.0
NO SE ALCANZAN YA QUE ESTAN CONECTADAS DIRECTAMENTE
Lab_C(config)#ip route 7.0.0.0 255.0.0.0 6.0.0.2
Lab_C(config)#ip route 8.0.0.0 255.0.0.0 6.0.0.2
Lab_C(config)#ip route 9.0.0.0 255.0.0.0 6.0.0.2
Lab_C#
BASADA DESDE EL EQUIPO F
DECLARACION DE RUTAS ESTATICAS
DIRECCION DE RED QUE SE DESEA ALCANZAR + SU MASCARA + DE DONDE TENGO SALIDA
Lab_C#config t
Lab_C(config)#ip route 1.0.0.0 255.0.0.0 8.0.0.1
Lab_C(config)#ip route 2.0.0.0 255.0.0.0 8.0.0.1
Lab_C(config)#ip route 3.0.0.0 255.0.0.0 8.0.0.1
Lab_C(config)#ip route 4.0.0.0 255.0.0.0 8.0.0.1
Lab_C(config)#ip route 5.0.0.0 255.0.0.0 8.0.0.1
Lab_C(config)#ip route 6.0.0.0 255.0.0.0 8.0.0.1
Lab_C(config)#ip route 7.0.0.0 255.0.0.0 8.0.0.1
Lab_C#
NOTA: LAS DIRECCIONES DE RED 4.0.0.0, 5.0.0.0 y 6.0.0.0.0
NO SE ALCANZAN YA QUE ESTAN CONECTADAS DIRECTAMENTE

JUAN CARLOS LOPEZ SUAREZ Y VANESSA JASSO BELTRAN


ERROR EN DECLARACION DE DIRECCIONES POR ESO EL COMANDO NO IP ROUTE PARA QUITARLAS
Lab_C#config t
Enter configuration commands, one per line. End with CNTL/Z.
Lab_C(config)#no ip route 1.0.0.0 255.0.0.0 4.0.0.0
Lab_C(config)#no ip route 2.0.0.0 255.0.0.0 4.0.0.0
Lab_C(config)#no ip route 3.0.0.0 255.0.0.0 4.0.0.0
Lab_C(config)#no ip route 3.0.0.0 255.0.0.0 4.0.0.0
Lab_C(config)#no ip route 7.0.0.0 255.0.0.0 6.0.0.0
Lab_C(config)#no ip route 8.0.0.0 255.0.0.0 6.0.0.0
Lab_C(config)#no ip route 9.0.0.0 255.0.0.0 6.0.0.0
Lab_C(config)#^Z

También podría gustarte