16
Protocolo de enrutamiento OSPF. Hugo Leyva Chavez. Redes de Área Local Lic.Rubicell Pineda Téllez

gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

Protocolo de enrutamiento OSPF.

Hugo Leyva Chavez.

Redes de Área Local

Lic.Rubicell Pineda Téllez

Page 2: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

Practica A

ROUTER 1

Router>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R1R1(config)#interface s0/0/0

Page 3: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

R1(config-if)#ip address 192.168.10.1 255.255.255.252R1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to downR1(config-if)#clock rate 64000R1(config-if)#bandwidth 64R1(config-if)#exit

R1(config)#interface s0/0/1R1(config-if)#ip address 192.168.10.5 255.255.255.252R1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to downR1(config-if)#bandwidth 64R1(config-if)#exit

R1(config)#interface fa0/0R1(config-if)#ip address 172.16.1.17 255.255.255.240R1(config-if)#no shutdown R1(config-if)#exit

R1(config)#router ospf 1R1(config-router)#network 172.16.1.16 0.0.0.15 area 0R1(config-router)#network 192.168.10.0 0.0.0.3 area 0R1(config-router)#network 192.168.10.4 0.0.0.3 area 0R1(config-router)#end

R1(config-if)#interface loopback 0R1(config-if)#ip address 10.1.1.1 255.255.255.255

R1>enable

Page 4: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

Password: R1#config tEnter configuration commands, one per line. End with CNTL/Z.R1(config)#enable secret classR1(config)#enable password CiscoR1(config)#line console 0R1(config-line)#password CiscoR1(config-line)#login

R1(config-line)#exitR1(config)#line vty 0 4R1(config-line)#password CiscoR1(config-line)#loginR1(config-line)#exitR1(config)#exitR1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface192.168.10.9 0 FULL/ - 00:00:38 192.168.10.2 Serial0/0/0192.168.10.10 0 FULL/ - 00:00:38 192.168.10.6 Serial0/0/1

R1(config)#interface serial0/0/0R1(config-if)#ip ospf hello-interval 5R1(config-if)#ip ospf dead-interval 20R1(config-if)#01:48:19: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.9 on Serial0/0/0 from FULL to DOWN, Neighbor Down: Dead timer expired

Page 5: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

ROUTER 2

Router>enableRouter#configure tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface s0/0/0Router(config-if)#ip address 192.168.10.2 255.255.255.252Router(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)#bandwidth 64Router(config-if)#exitRouter(config)#interface s0/0/1Router(config-if)#ip address 192.168.10.9 255.255.255.252Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to downRouter(config-if)#clock rate 64000Router(config-if)#bandwidth 64Router(config-if)#exitRouter(config)#interface fa 0/0Router(config-if)#ip address 10.10.10.1 255.255.255.0Router(config-if)#no shutdown

R2>enableR2#config tEnter configuration commands, one per line. End with CNTL/Z.

Page 6: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

R2(config)#router ospf 1R2(config-router)#network 10.10.10.0 0.0.0.255 area 0R2(config-router)#network 192.168.10.0 0.0.0.3 area 0R2(config-router)#00:23:01: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.5 on Serial0/0/0 from LOADING to FULL, Loading Done

R2(config-router)#network 192.168.10.8 0.0.0.3 area 0R2(config-router)#end

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R2(config-if)#interface loopback 0R2(config-if)#ip address 10.2.2.2 255.255.255.255

R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface192.168.10.5 0 FULL/ - 00:00:38 192.168.10.1 Serial0/0/0192.168.10.10 0 FULL/ - 00:00:39 192.168.10.10 Serial0/0/1

R2(config)#interface serial0/0/0R2(config-if)#ip ospf hello-interval 5R2(config-if)#ip ospf dead-interval 20R2(config-if)#01:27:47: %OSPF-5-ADJCHG: Process 1, Nbr 10.1.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done

ROUTER 3

Page 7: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

Router>enableRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R3R3(config)#interface s0/0/0R3(config-if)#ip address 192.168.10.6 255.255.255.252R3(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

R3(config-if)#exitR3(config)#interface s0/0/0R3(config-if)#clock rate 64000R3(config-if)#exitR3(config)#interface s0/0/1R3(config-if)#ip address 192.168.10.10 255.255.255.252R3(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

R3(config-if)#exitR3(config)#interface fa0/0 R3(config-if)#ip address 172.16.1.33 255.255.255.248R3(config-if)#no shutdown

R3>enableR3#config tEnter configuration commands, one per line. End with CNTL/Z.R3(config)#router ospf 1R3(config-router)#network 172.16.1.32 0.0.0.7 area 0R3(config-router)#network 192.168.10.4 0.0.0.3 area 0R3(config-router)#

Page 8: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

00:49:23: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.5 on Serial0/0/0 from LOADING to FULL, Loading Done

R3(config-router)#network 192.168.10.8 0.0.0.3 area 0R3(config-router)#endR3#%SYS-5-CONFIG_I: Configured from console by console

00:57:25: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.9 on Serial0/0/1 from LOADING to FULL, Loading Done

R3#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface192.168.10.5 0 FULL/ - 00:00:36 192.168.10.5 Serial0/0/0192.168.10.9 0 FULL/ - 00:00:37 192.168.10.9 Serial0/0/1

Page 9: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

TELNET

Page 10: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

Practica B

Page 11: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

ROUTER 1

Router>enableRouter#configure tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R1R1(config)#interface fa0/0R1(config-if)#ip address 192.168.1.1 255.255.255.0R1(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 upR1(config-if)#exitR1(config)#interface loopback 1%LINK-5-CHANGED: Interface Loopback1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up

Page 12: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

R1(config-if)#ip address 192.168.31.11 255.255.255.255R1(config-if)#exitR1(config)# router ospf 1R1(config-router)#network 192.168.1.0 0.0.0.255 area 0R1(config-router)#exitR1(config)# interface fa0/0R1(config-if)#ip ospf priority 255R1(config-if)#exitR1(config)#enable secret classR1(config)#enable password CiscoR1(config)#line console 0R1(config-line)#password CiscoR1(config-line)#loginR1(config-line)#exitR1(config)#line vty 0 4R1(config-line)#password CiscoR1(config-line)#loginR1(config)#exitR1#

ROUTER 2

Router>enableRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R2R2(config)#interface fa0/0R2(config-if)#ip address 192.168.1.2 255.255.255.0R2(config-if)#no shutdown

Page 13: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR2(config-if)#exitR2(config)#interface loopback1%LINK-5-CHANGED: Interface Loopback1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to upR2(config-if)#ip address 192.168.31.22 255.255.255.255R2(config-if)#exitR2(config)# router ospf 1R2(config-router)#network 192.168.1.0 0.0.0.255 area 0R2(config-router)#exitR2(config)# interface fa0/0R2(config-if)#ip ospf priority 0R2(config-if)#exitR2(config)#enable secret classR2(config)#enable password CiscoR2(config)#line console 0R2(config-line)#password CiscoR2(config-line)#loginR2(config-line)#exitR2(config)#line vty 0 4R2(config-line)#password CiscoR2(config-line)#loginR2(config-line)#exitR2(config)#exitR2#

ROUTER 3

Page 14: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration

Router>enableRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname R3R3(config)#interface fa0/0R3(config-if)#ip address 192.168.1.3 255.255.255.0R3(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 upR3(config-if)#exitR3(config)#interface loopback1%LINK-5-CHANGED: Interface Loopback1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to upR3(config-if)#ip address 192.168.31.33 255.255.255.255R3(config-if)#exitR3(config)# router ospf 1R3(config-router)#network 192.168.1.0 0.0.0.255 area 0R3(config-router)#exitR3(config)# interface fa0/0R3(config-if)#ip ospf priority 100R3(config-if)#exitR3(config)#enable secret classR3(config)#enable password CiscoR3(config)#line console 0R3(config-line)#password CiscoR3(config-line)#loginR3(config-line)#exitR3(config)#line vty 0 4R3(config-line)#password CiscoR3(config-line)#loginR3(config-line)#exit

Page 15: gohuutim.files.wordpress.com€¦  · Web viewRedes de Área Local. Lic.Rubicell Pineda Téllez. Practica A. ROUTER 1. Router>enable. Router#configure terminal. Enter configuration