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

Se debe realizar la interconexin de tal manera que se pueda conectar los departamentos de su empresa de Ingeniera, Marketing y Contabilidad, representada

por las interfaces de loopback en cada uno de los tres routers. Cada uno debe ser instalado y conectados por Fast Ethernet y cables de serie. Configuracin de OSPF para permitir la conectividad total entre todos los departamentos. Los tres router estarn conectados directamente al switch. R1 y R2 debern estar conectados, siendo DCE el R1.

Realizar la configuracin bsica (este aplicar para los tres laboratorios a continuacin): CONFIGURACIN BSICA Configuracin Hostname, LoopBack y FastEthernet R1 R2 R3

Router>enable Router# configure terminal Router(config)#hostname R1 R1(config)# interface Loopback1 R1(config-if)# description Engineering Department R1(config-if)# ip address 10.1.1.1 255.255.255.0 R1(config-if)# exit R1(config)# interface FastEthernet0/0 R1(config-if)# ip address 10.1.200.1 255.255.255.0 R1(config-if)# no shutdown

Router>enable Router# configure terminal Router(config)#hostname R2 R2(config)# interface Loopback2 R2(config-if)# description Marketing Department R2(config-if)# ip address 10.1.2.1 255.255.255.0 R2(config-if)# exit R2(config)# interface FastEthernet0/0 R2(config-if)# ip address 10.1.200.2 255.255.255.0 R2(config-if)# no shutdown

Router>enable Router# configure terminal Router(config)#hostname R3 R3(config)# interface Loopback3 R3(config-if)# description Accounting Department R3(config-if)# ip address 10.1.3.1 255.255.255.0 R3(config-if)# exit R3(config)# interface FastEthernet0/0 R3(config-if)# ip address 10.1.200.3 255.255.255.0 R3(config-if)# no shutdown

Configuracin Clock Rate y Serial R1(config)# interface Serial 0/0/0 R2(config)# interface Serial R1(config-if)# ip address 0/0/0 10.1.100.1 255.255.255.0 R2(config-if)# ip address R1(config-if)# clockrate 64000 10.1.100.2 255.255.255.0 R1(config-if)# no shutdown R2(config-if)# no shutdown

- Se realiza verificacin de comunicacin entre los router y el switch. Se realiza nuevamente configuracin por no tener comunicacin, se verifica problema y se obtiene comunicacin. - Realizar configuracin de OSPF CONFIGURACIN OSPF R1 R1(config)# router ospf 1 R1(config-router)# network 10.1.100.0 0.0.0.255 area 0 R1(config-router)# network 10.1.200.1 0.0.0.0 area 0 R1(config-router)# end R2 R2(config)# router ospf 1 R2(config-router)# network 10.1.100.0 0.0.0.255 area 0 R2(config-router)# network 10.1.200.0 0.0.0.255 area 0 R3 R3(config)# router ospf 1 R3(config-router)# network 10.1.200.0 0.0.0.255 area 0

Se digitan los siguientes comandos:

R1#debug ip ospf adj.

- Se observa: OSPF adjacency events debugging is on

R1#show ip protocols Se observa: Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 10.1.1.1 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 10.1.100.0 0.0.0.255 area 0 10.1.200.1 0.0.0.0 area 0 Routing Information Sources: Gateway Distance Last Update 10.1.3.1 110 00:00:30 10.1.1.1 110 00:00:30 Distance: (default is 110) R1# show ip ospf neighbor Se observa: Neighbor ID 10.1.3.1 10.1.2.1 Pri State 1 FULL/DR 0 FULL/ Dead Time Address Interface 00:00:37 10.1.200.3 FastEthernet0/0 00:00:36 10.1.100.2 Serial0/1/1

R1# show ip ospf interface FastEthernet 0/1 Se observa: FastEthernet0/0 is up, line protocol is up Internet Address 10.1.200.1/24, Area 0 Process ID 1, Router ID 10.1.1.1, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State BDR, Priority 1 FastEthernet0/0 is up, line protocol is up Internet Address 10.1.200.1/24, Area 0 Process ID 1, Router ID 10.1.1.1, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State BDR, Priority 1 R1# show ip ospf database Se observa: R1# show ip ospf database

OSPF Router with ID (10.1.1.1) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 10.1.1.1 10.1.1.1 123 0x80000005 0x00546C 4 10.1.2.1 10.1.2.1 112 0x80000004 0x006C51 4 10.1.3.1 10.1.3.1 106 0x80000004 0x00F94C 2 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum 10.1.200.2 10.1.2.1 725 0x80000002 0x00D74F Agregar interfaces de bucle invertido a OSPF Para realizar este procedimiento, se verifica: R1# show ip route Se observa: R1 10.0.0.0/24 is subnetted, 3 subnets C 10.1.1.0 is directly connected, Loopback1 C 10.1.100.0 is directly connected, Serial0/0/0 C 10.1.200.0 is directly connected, FastEthernet0/0 R2 10.0.0.0/24 is subnetted, 3 subnets C 10.1.2.0 is directly connected, Loopback2 C 10.1.100.0 is directly connected, Serial0/0/0 C 10.1.200.0 is directly connected, FastEthernet0 R3 C 10.1.3.0 is directly connected, Loopback3 O 10.1.100.0 [110/65] via 10.1.200.2, 00:06:39, FastEthernet0/0 [110/65] via 10.1.200.1, 00:06:39, FastEthernet0/0 C 10.1.200.0 is directly connected, FastEthernet0/0

Se realiza la siguiente configuracin, para cada uno de los routers: R1 R1(config)# router ospf 1 R1(config-router)# network 10.1.1.0 0.0.0.255 area 0 R2 R2(config)# router ospf 1 R2(config-router)# network 10.1.2.0 0.0.0.255 area 0 R3 R3(config)# router ospf 1 R3(config-router)# network 10.1.3.0 0.0.0.255 area 0

Se realiza verificacin con el comando R1# show ip route Se observa: O 10.1.2.1/32 [110/2] via 10.1.200.2, 00:00:03, FastEthernet0/0 O 10.1.3.1/32 [110/2] via 10.1.200.3, 00:00:03, FastEthernet0/0 C 10.1.1.0/24 is directly connected, Loopback1 C 10.1.100.0/24 is directly connected, Serial0/0/0 C 10.1.200.0/24 is directly connected, FastEthernet0/0

Se anuncian con 32 host, esto no debera aparecer as por lo que para corregir este error, se debe realizar el siguiente procedimiento: R1 R2 R1(config)# interface loopback1 R2(config)# interface R1(config-if)# ip ospf network loopback2 point-to-point R2(config-if)# ip ospf network point-to-point Se digita R1# show ip route, para verificacin y se observa: O 10.1.3.0 [110/2] via 10.1.200.3, 00:00:01, FastEthernet0/0 O 10.1.2.0 [110/2] via 10.1.200.2, 00:00:01, FastEthernet0/0 C 10.1.1.0 is directly connected, Loopback1 C 10.1.100.0 is directly connected, Serial0/0/0 C 10.1.200.0 is directly connected, FastEthernet0/0 Modificacin de costos de los vnculos en OSPF Se realiza la siguiente configuracin: R1 R1(config)# interface fastEthernet 0/0 R1(config-if)# ip ospf cost 50 Se verifica R1: R1# show ip route O 10.1.3.0 [110/51] via 10.1.200.3, 00:01:40, FastEthernet0/0 O 10.1.2.0 [110/51] via 10.1.200.2, 00:01:40, FastEthernet0/0 C 10.1.1.0 is directly connected, Loopback1 C 10.1.100.0 is directly connected, Serial0/0/0 C 10.1.200.0 is directly connected, FastEthernet0/0 R2 R2(config)# interface fastEthernet 0/0 R2(config-if)# ip ospf cost 50 R3 R3(config)# interface fastEthernet 0/0 R3(config-if)# ip ospf cost 50 R3 R3(config)# interface loopback3 R3(config-if)# ip ospf network point-to-point

Modificacin de las prioridades de la interfaz Para realizar esta actividad se procede: R1 R2

R1(config)# interface fastEthernet 0/0 R1(config-if)# ip ospf priority 10

R2(config)# interface fastEthernet 0/0 R2(config-if)# ip ospf priority 5

Se realiza verificacin con el comando: R1# show ip ospf neighbor detail, se observa: Neighbor 10.1.2.1, interface address 10.1.200.2 In the area 0 via interface FastEthernet0/0 Neighbor priority is 1, State is FULL, 6 state changes DR is 10.1.200.3 BDR is 10.1.200.1 Options is 0x52 LLS Options is 0x1 (LR) Dead timer due in 00:00:32 Neighbor is up for 00:13:57 Index 2/2, retransmission queue length 0, number of retransmission 0 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0) Last retransmission scan length is 0, maximum is 0 Last retransmission scan time is 0 msec, maximum is 0 msec Neighbor 10.1.3.1, interface address 10.1.200.3 In the area 0 via interface FastEthernet0/0 Neighbor priority is 1, State is FULL, 6 state changes DR is 10.1.200.3 BDR is 10.1.200.1 Options is 0x52 LLS Options is 0x1 (LR) Dead timer due in 00:00:30 Neighbor is up for 00:13:47 Index 3/3, retransmission queue length 0, number of retransmission 2 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0) Last retransmission scan length is 1, maximum is 1 --More-- Last retransmission scan time is 0 msec, maximum is 0 msec Neighbor 10.1.2.1, interface address 10.1.100.2 In the area 0 via interface Serial0/1/1 Neighbor priority is 0, State is FULL, 6 state changes DR is 0.0.0.0 BDR is 0.0.0.0 Options is 0x52 LLS Options is 0x1 (LR) Dead timer due in 00:00:36 Neighbor is up for 01:22:12 Index 1/1, retransmission queue length 0, number of retransmission 1 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0) Last retransmission scan length is 1, maximum is 1 Last retransmission scan time is 0 msec, maximum is 0 msec R1#sh run Building configuration... Current configuration : 1073 bytes

! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model ! resource policy ! mmi polling-interval 60 no mmi auto-configure no mmi pvc mmi snmp-timeout 180 ip subnet-zero --More-ip cef ! ! no ip dhcp use vrf connected ! ! ! ! ! ! interface Loopback1 description engineering department ip address 10.1.1.1 255.255.255.0 ip ospf network point-to-point ! interface FastEthernet0/0 ip address 10.1.200.1 255.255.255.0 ip ospf cost 50 duplex auto speed auto ! interface FastEthernet0/1 no ip address --More-shutdown duplex auto speed auto

! interface Serial0/1/0 no ip address shutdown no fair-queue clockrate 125000 ! interface Serial0/1/1 ip address 10.1.100.1 255.255.255.0 clockrate 64000 ! router ospf 1 log-adjacency-changes network 10.1.1.1 0.0.0.0 area 0 network 10.1.100.0 0.0.0.255 area 0 network 10.1.200.1 0.0.0.0 area 0 ! ip classless ! ip http server --More-! ! control-plane ! ! line con 0 line aux 0 line vty 0 4 login ! End

Problemas encontrados: - XX

Conclusiones - Se debe realizar el borrado completo de todos los equipos, para que una configuracin anterior no altere lo realizado y no se creen conflictos: LABORATORIO 2. MULTIPLE-AREA OSPF WITH STUB AREAS AND AUTHENTICATION

Elementos utilizados y y y y 3 Routers 1 Host 1 Cable de consola 2 Cable serial

Configuracin

Se realiza la siguiente configuracin:

CONFIGURACION BASICA R1 R2 R3

R1# configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)# interface loopback 1 R1(config-if)# ip address 10.1.1.1 255.255.255.0 R1(config-if)# interface serial 0/0/0 R1(config-if)# ip address 10.1.12.1 255.255.255.0 R1(config-if)# clockrate 64000 R1(config-if)# no shutdown

R2# configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)# interface loopback 2 R2(config-if)# ip address 10.1.2.1 255.255.255.0 R2(config-if)# interface serial 0/0/0 R2(config-if)# ip address 10.1.12.2 255.255.255.0 R2(config-if)# no shutdown R2(config-if)# interface serial 0/0/1 R2(config-if)# ip address 10.1.23.2 255.255.255.0 R2(config-if)# clockrate 64000 R2(config-if)# no shutdown

R3# configure terminal Enter configuration commands, one per line. End with CNTL/Z. R3(config)# interface loopback 3 R3(config-if)# ip address 10.1.3.1 255.255.255.0 R3(config-if)# interface loopback 20 R3(config-if)# ip address 172.20.200.1 255.255.255.0 R3(config-if)# interface serial 0/0/1 R3(config-if)# ip address 10.1.23.3 255.255.255.0 R3(config-if)# no shutdown

Se realiza configuracin de OSPF: R1 R1(config)# router ospf 1 R1(config-router)# network 10.1.12.0 0.0.0.255 area 0 R1(config-router)# network 10.1.1.0 0.0.0.255 area 0 R1(config-router)# interface loopback 1 R1(config-if)# ip ospf network point-to-point R2 R2(config)# router ospf 1 R2(config-router)# network 10.1.12.0 0.0.0.255 area 0 R2(config-router)# network 10.1.2.0 0.0.0.255 area 0R2(config-router)# interface loopback 2 R2(config-if)# ip ospf network point-to-point

Se realiza verificacin con los siguientes comandos: R1# show ip ospf neighbor R2# show ip ospf neighbor R2# show ip route Se aade la subred entre R2 y R3 en el rea OSPF 23 R2 R3

R2(config)# router ospf 1 R2(config-router)# network 10.1.23.0 0.0.0.255 area 23

R3(config)# router ospf 1 R3(config-router)# network 10.1.23.0 0.0.0.255 area 23 R3(config-router)# network 10.1.3.0 0.0.0.255 area 23 R3(config-router)# interface loopback 3 R3(config-if)# ip ospf network point-to-point

***** CONTINUACION PROCEDIMIENTO Problemas encontrados Conclusiones

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