Solucionado (ver solução)
Solucionado
(ver solução)
7
respostas

configurações

Eu realizo as configurações corretamente no terminal do router 2 e 3, porém ao realizar o comando show ip router, parece que não houve nenhuma alteração.

Continua da mesma forma:

Router>en Router#conf Router#configure termi Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router Router(config)#router os Router(config)#router ospf 1 Router(config-router)#net Router(config-router)#network 180.1.1.0 0.0.0.255 area 0 Router(config-router)#network 190.1.1.0 0.0.0.255 area 1 Router(config-router)#network 190.1.1.0 % Incomplete command. Router(config-router)#^Z Router# %SYS-5-CONFIG_I: Configured from console by console

Router#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

 180.1.0.0/30 is subnetted, 1 subnets

C 180.1.1.0 is directly connected, FastEthernet0/0 190.1.0.0/30 is subnetted, 1 subnets C 190.1.1.0 is directly connected, FastEthernet0/1

7 respostas

Cole a configuração do equipamento para que analisemos.

Show runs

Cole também o resultado de:

show IP ospf neig

show running

Router 2

Router#show running Building configuration...

Current configuration : 755 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Router ! ! ! ! ! ! ! ! no ip cef no ipv6 cef ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! ! ! interface FastEthernet0/0 ip address 180.1.1.1 255.255.255.252 duplex auto speed auto ! interface FastEthernet0/1 ip address 170.1.1.1 255.255.255.252 duplex auto speed auto ! interface Serial0/1/0 ip address 160.1.1.1 255.255.255.252 ! interface Vlan1 no ip address shutdown ! router ospf 1 log-adjacency-changes network 170.1.1.0 0.0.0.255 area 0 network 180.1.1.0 0.0.0.255 area 0 ! ip classless ! ip flow-export version 9 ! ! ! ! ! ! ! ! line con 0 ! line aux 0 ! line vty 0 4 login ! ! ! end

Router 3

Router#show running Building configuration...

Current configuration : 690 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Router ! ! ! ! ! ! ! ! ip cef no ipv6 cef ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! ! ! interface FastEthernet0/0 ip address 180.1.1.1 255.255.255.252 duplex auto speed auto ! interface FastEthernet0/1 ip address 190.1.1.1 255.255.255.252 duplex auto speed auto ! interface Vlan1 no ip address shutdown ! router ospf 1 log-adjacency-changes network 180.1.1.0 0.0.0.255 area 0 network 190.1.1.0 0.0.0.255 area 1 ! ip classless ! ip flow-export version 9 ! ! ! ! ! ! ! ! line con 0 ! line aux 0 ! line vty 0 4 login ! ! ! end

Router 2

Neighbor ID Pri State Dead Time Address Interface 190.1.1.1 1 EXSTART/DR 00:00:32 180.1.1.1 FastEthernet0/0

Router 3

Router#190.1.1.1 1 EXSTART/DR 00:00:32 180.1.1.1 FastEthernet0/0^Z Router# show IP ospf neig

Neighbor ID Pri State Dead Time Address Interface 180.1.1.1 1 EXSTART/DR 00:00:38 180.1.1.1 FastEthernet0/0

Taís,

existe um erro na configuração nas portas FastEthernet0/0 do Router 2 e 3. Repare que está com o mesmo IP nos dois equipamentos: ip address 180.1.1.1 255.255.255.252

Procure alterar o IP em um dos lados para: ip address 180.1.1.2 255.255.255.252

Poste aqui após testar a alteração do IP informando se deu certo.

H. Alencar mesmo configurando as portas conforme solicitado não consigo verificar as configurações OSPF:

Router2#sh running-config Building configuration...

Current configuration : 756 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Router2 ! ! ! ! ! ! ! ! no ip cef no ipv6 cef ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! ! ! interface FastEthernet0/0 ip address 180.1.1.1 255.255.255.252 duplex auto speed auto ! interface FastEthernet0/1 ip address 170.1.1.1 255.255.255.252 duplex auto speed auto ! interface Serial0/1/0 ip address 160.1.1.2 255.255.255.252 ! interface Vlan1 no ip address shutdown ! router ospf 1 log-adjacency-changes network 170.1.1.0 0.0.0.255 area 0 network 180.1.1.0 0.0.0.255 area 0 ! ip classless ! ip flow-export version 9 ! ! ! ! ! ! ! ! line con 0 ! line aux 0 ! line vty 0 4 login ! ! ! end

Building configuration...

Current configuration : 691 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Router3 ! ! ! ! ! ! ! ! ip cef no ipv6 cef ! ! ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst ! ! ! ! ! ! interface FastEthernet0/0 ip address 180.1.1.2 255.255.255.252 duplex auto speed auto ! interface FastEthernet0/1 ip address 190.1.1.1 255.255.255.252 duplex auto speed auto ! interface Vlan1 no ip address shutdown ! router ospf 1 log-adjacency-changes network 180.1.1.0 0.0.0.255 area 0 network 190.1.1.0 0.0.0.255 area 1 ! ip classless ! ip flow-export version 9 ! ! ! ! ! ! ! ! line con 0 ! line aux 0 ! line vty 0 4 login ! ! ! end

solução!

Taís,

as configurações estão corretas, agora precisamos saber se as interfaces que conectam o R2 ao R3 é realmente a FastEthernet0/0.

Primeiro verifique se a FastEthernet0/0 está up via o comando: show interface FastEthernet0/0 nos dois equipamentos.

Se estiver up nos dois, verificar se realmente um se conecta ao outro por esta porta via comando: show cdp neig que deverá mostrar que um se conecta ao outro por esta porta.

Cole o resultado dos dois comandos dos dois equipamentos aquí, cole também o resultado do comando sh ip ospf neig.

H. Alencar, bom dia!

Hoje abri o Cisco para fazer os comandos e te mandar as configurações.

Mas ao realizar o Show ip route, verifiquei que as informações que queria estavam configuradas. Qual a mágica eu não sei, mas já está funcionando.

Obrigada!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software