Вы находитесь на странице: 1из 8

Configuracin basica de router Router> ----- modo usuario Router>enable Router# ------ modo privilegiado Router#clock set 20:02:00

september 3 2013 Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# ------ Modo Configuracion global Router(config)#hostname R1 R1(config)#no ip domain-lookup R1#show ip interface brief
Interface FastEthernet0/0 FastEthernet0/1 Serial0/0/0 Serial0/0/1 IP-Address OK? Method Status Protocol

unassigned unassigned unassigned unassigned

YES unset administratively down down YES unset administratively down down YES unset administratively down down YES unset administratively down down

R1(config)#interface fa0/0

R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#description Enlace de R1 fa0/0 a Interface LAN R1(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R1(config-if)#interface s0/0/0 R1(config-if)#ip address 10.10.10.129 255.255.255.252 R1(config-if)#clock rate 64000 R1(config-if)#description Enlace de s0/0/0 R1 a s0/0/1 R2 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0/0/0, changed state to down R1(config-if)# R1(config)#enable secret class R1(config)#line vty 0 4 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)#line console 0 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)# R1(config)#banner motd c

Enter TEXT message. End with the character 'c'. ******************************************************** * Router * * Solo personal autorizado * ********************************************************c R1(config)#copy running-config startup-config R1#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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 10.0.0.0/30 is subnetted, 1 subnets C 10.10.10.128 is directly connected, Serial0/0/0 C 192.168.1.0/24 is directly connected, FastEthernet0/0 R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#ip route 192.168.2.0 255.255.255.0 10.10.10.130 R1(config)# R1#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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 10.0.0.0/30 is subnetted, 1 subnets C 10.10.10.128 is directly connected, Serial0/0/0 C 192.168.1.0/24 is directly connected, FastEthernet0/0 S 192.168.2.0/24 [1/0] via 10.10.10.130 R1#

Router> Router>enable Router#clock set 20:44:00 september 3 2013 Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#no ip domain-lookup Router(config)#hostname R2 R2(config)#interface s0/0/1 R2(config-if)#ip address 10.10.10.130 255.255.255.252 R2(config-if)#description Enlace S0/0/1 a R1 s0/0/0 R2(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up R2(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up R2(config-if)#do ping 10.10.10.129 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.10.10.129, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/4/6 ms R2(config-if)# R2(config-if)#interface fa0/0 R2(config-if)#ip address 192.168.2.254 255.255.255.0 R2(config-if)#description Enlace fa0/0 a LAN 192.168.2.0 R2(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up R2(config-if)# R2(config)#enable secret class R2(config)#line vty 0 4 R2(config-line)#password cisco

R2(config-line)#login R2(config-line)#line console 0 R2(config-line)#password cisco R2(config-line)#login R2(config-line)#exit R2(config)#banner motd c Enter TEXT message. End with the character 'c'. ********************************************** * Textiles Rojas S.A. * * Acceso solo personal autorizado * ********************************************** R2(config)#

R2#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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 10.0.0.0/30 is subnetted, 1 subnets C 10.10.10.128 is directly connected, Serial0/0/1

C 192.168.2.0/24 is directly connected, FastEthernet0/0 R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip route 192.168.1.0 255.255.255.0 10.10.10.129 R2(config)# R2#show ip route Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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 10.0.0.0/30 is subnetted, 1 subnets C 10.10.10.128 is directly connected, Serial0/0/1 S 192.168.1.0/24 [1/0] via 10.10.10.129 C 192.168.2.0/24 is directly connected, FastEthernet0/0 R2# Enrutamiento en los Router R1,R2,R3 y R4 R1(config)ip route 192.168.2.0 255.255.255.0 10.10.10.130 R1(config)ip route 192.168.3.0 255.255.255.0 10.10.10.130 R1(config)ip route 192.168.4.0 255.255.255.0 10.10.10.130 ----------------------------------------------------------

R2(config)ip route 192.168.1.0 255.255.255.0 s0/0/1 R2(config)ip route 192.168.3.0 255.255.255.0 s0/0/0 R2(config)ip route 192.168.4.0 255.255.255.0 s0/0/0 -----------------------------------------------------------R3(config)ip route 192.168.1.0 255.255.255.0 s0/0/1 R3(config)ip route 192.168.2.0 255.255.255.0 s0/0/1 R3(config)ip route 192.168.4.0 255.255.255.0 s0/0/0 ------------------------------------------------------R4(config)ip route 192.168.1.0 255.255.255.0 s0/0/0 R4(config)ip route 192.168.2.0 255.255.255.0 s0/0/0 R4(config)ip route 192.168.3.0 255.255.255.0 s0/0/0

Вам также может понравиться