xaviandme.files.wordpress.com€¦ · web view01:43:21: %ospf-5-adjchg: process 1, nbr 172.30.1.1...
Post on 14-Apr-2018
212 Views
Preview:
TRANSCRIPT
PRACTICA 1 OSPF
JAVIER REFUGIO CARRANZA DEL 2C TICSI
REDES DE AREA LOCAL 2
Router 1
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#ip address 172.16.1.17 255.255.255.240
Router(config-if)#no shutdown
Router(config-if)# interface s0/0/0
172.16.1.17 255.255.255.240
10.10.10.1 255.255.255.0
172.16.1.33 255.255.255.248
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#ip address 192.168.10.5 255.255.255.252
Router(config-if)#clock rate 56000
Router(config-if)#bandwidth 64
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
Router(config-if)#interface s0/0/1
Router(config-if)#ip address 192.168.10.5 255.255.255.252
% 192.168.10.4 overlaps with Serial0/0/0
Router(config-if)#interface s0/0/0
Router(config-if)#no ip address
Router(config-if)#ip address 192.168.10.1 255.255.255.252
Router(config-if)#interface s0/0/1
Router(config-if)#ip address 192.168.10.5 255.255.255.252
Router(config-if)#bandwidth 64
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
Router(config-if)#exitt
Router(config)#hostname R1
R1(config)#enable secret class
R1(config)#enable password cisco
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#exitt
R1(config)#line console 0
R1(config-line)#login
R1(config-line)#exitt
R1(config)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exitt
R1(config)#interface loopback1
R1(config-if)#
%LINK-5-CHANGED: Interface Loopback1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
R1(config-if)#ip address 172.30.1.1 255.255.255.252
R1(config-if)#ip route 0.0.0.0 0.0.0.0 loopback1
R1(config)#router OSPF 1
R1(config-router)#default-information originate
R1(config-router)#exitt
R1(config)#interface loopback 0
R1(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1(config-if)#ip address 10.1.1.1 255.255.255.255
R1(config-if)#interface s0/0/0
R1(config-if)#ip OSPF hello-interval 5
R1(config-if)#ip OSPF dead-interval 20
R1(config-if)#exit
R1(config)#router OSPF 1
R1(config-router)#network 172.16.1.16 0.0.0.15 area 0
R1(config-router)#network 192.168.10.0 0.0.0.3 area 0
R1(config-router)#network 192.168.10.4 0.0.0.3 area 0
R1(config-router)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#copy run star
Destination filename [startup-config]?
Building configuration...
[OK]
Router 2
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#ip address 10.10.10.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
interface s0/0/0
Router(config-if)#ip address 192.168.10.2 255.255.255.252
Router(config-if)#clock rate 56000
Router(config-if)#bandwidth 64
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Router(config)#interface s0/0/1
Router(config-if)#ip address 192.168.10.9 255.255.255.252
Router(config-if)#bandwidth 64
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#enable secret class
R2(config)#enable password cisco
R2(config)#line console 0
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#line vty 0 4
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#interface loopback 0
R2(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R2(config-if)#ip address 10.2.2.2 255.255.255.255
R2(config-if)#interface s0/0/1
R2(config-if)#interface s0/0/0
R2(config-if)#ip OSPF hello-interval 5
R2(config-if)#ip OSPF dead-interval 20
R2(config-if)#exit
R2(config)#router OSPF 1
R2(config-router)#network 10.10.10.0 0.0.0.255 area 0
R2(config-router)#network 192.168.10.0 0.0.0.3 area 0
R2(config-router)#
01:43:21: %OSPF-5-ADJCHG: Process 1, Nbr 172.30.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done
R2(config-router)#network 192.168.10.8 0.0.0.3 area 0
R2(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#copy run star
Destination filename [startup-config]?
Building configuration...
[OK]
Router 3
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#ip address 172.16.1.33 255.255.255.248
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
interface s0/0/0
Router(config-if)#ip address 192.168.10.6 255.255.255.252
Router(config-if)#clock rate 56000
Router(config-if)#bandwidth 64
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Router(config-if)#interface s0/0/1
Router(config-if)#ip address 192.168.10.10 255.255.255.252
Router(config-if)#bandwidth 64
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
Router(config-if)#ip OSPF cost 1562
Router(config-if)#interface serial0/0/1
Router(config-if)#interface serial0/0/0
Router(config-if)#ip OSPF cost 1562
Router(config-if)#exit
Router(config)#hostname R3
R3(config)#enable secret class
R3(config)#enable password cisco
R3(config)#line console 0
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#exit
R3(config)#line vty 0 4
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#exit
R3(config)#interface loopback 0
R3(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R3(config-if)#ip address 10.3.3.3 255.255.255.255
R3(config-if)#exit
R3(config)#router OSPF 1
R3(config-router)#network 172.16.1.32 0.0.0.7 area 1
R3(config-router)#network 172.16.1.32 0.0.0.7 area 0
R3(config-router)#
01:44:40: %OSPF-6-AREACHG: 172.16.1.32/0 changed from area 1 to area 0
R3(config-router)#network 192.168.10.4 0.0.0.3 area 0
R3(config-router)#network 192.168.10.8 0.0.0.3 area 0
R3(config-router)#end
01:45:13: %OSPF-5-ADJCHG: Process 1, Nbr 172.30.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done
R3#
%SYS-5-CONFIG_I: Configured from console by console
R3#copy run star
Destination filename [startup-config]?
Building configuration...
[OK]
Configuracion de la pc 0
Configuracion de la pc 1
Configuracion de la pc 2
PRUEBAS DE CONECTIVIDAD
PRACTICA 2
JAVIER REFUGIO C.
Router 1
Router>enable
Router#config t
Enter configuration commands, one per line. Endwith CNTL/Z.
Router(config)#hostname R1
R1(config)#interface fa0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
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)#exit
R1(config)#interface loopback 1
%LINK-5-CHANGED: Interface Loopback1, changed state to up
192.168.1.1 255.255.255.0
192.168.1.2 255.255.255.0
192.168.1.3 255.255.255.0
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
R1(config-if)#ip address 192.168.31.11 255.255.255.255
R1(config-if)#exit
R1(config)#router ospf 1
R1(config-router)#network 192.168.1.0 0.0.0.255 area 0
R1(config-router)#exit
R1(config)#interface fa0/0
R1(config-if)#ipospf priority 255
R1(config-if)#exit
R1(config)#enable secret class
R1(config)#enable password cisco
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login
R1(config)#exit
R1#
Router 2
Router>enable
Router#config t
Enter configuration commands, one per line. Endwith CNTL/Z.
Router(config)#hostname R2
R2(config)#interface fa0/0
R2(config-if)#ip address 192.168.1.2 255.255.255.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)#exit
R2(config)#interface loopback1
%LINK-5-CHANGED: Interface Loopback1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
R2(config-if)#ip address 192.168.31.22 255.255.255.255
R2(config-if)#exit
R2(config)#router ospf 1
R2(config-router)#network 192.168.1.0 0.0.0.255 area 0
R2(config-router)#exit
R2(config)#interface fa0/0
R2(config-if)#ipospf priority 0
R2(config-if)#exit
R2(config)#enable secret class
R2(config)#enable password cisco
R2(config)#line console 0
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#line vty 0 4
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#exit
R2#
Router 3
Router>enable
Router#config t
Enter configuration commands, one per line. Endwith CNTL/Z.
Router(config)#hostname R3
R3(config)#interface fa0/0
R3(config-if)#ip address 192.168.1.3 255.255.255.0
R3(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
R3(config-if)#exit
R3(config)#interface loopback1
%LINK-5-CHANGED: Interface Loopback1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
R3(config-if)#ip address 192.168.31.33 255.255.255.255
R3(config-if)#exit
R3(config)#router ospf 1
R3(config-router)#network 192.168.1.0 0.0.0.255 area 0
R3(config-router)#exit
R3(config)#interface fa0/0
R3(config-if)#ipospf priority 100
R3(config-if)#exit
R3(config)#enable secret class
R3(config)#enable password cisco
R3(config)#line console 0
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#exit
R3(config)#line vty 0 4
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#exit
top related