cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
469
Views
0
Helpful
5
Replies

OSPF

pablo.arcelcr
Level 1
Level 1

I have two devices with OSPF but the connecovity it is going to the secondary decive and we need it in the primary.

Can we do something similar as clear ip bgp * soft for OSPF?

1 Accepted Solution

Accepted Solutions

Hello

I can reach 10.154.1.10 from my PC but when I try to connect to 10.154.1.13 is not letting me connect

As you can reach 10.154.1.10 , I am assuming .13 is in the same network and if that's the case then your pc has reachabilty to that subnet., is you pc in the same ip range?


and the last hop that can reach is the one of one of the core switches that has an OSPF redistribute

If the cores ping both of these address then try pinging again sourced from the same vlan as your pc

ping 10.154.1.13 source vlan xxx (pc vlan )
sh arp | in 10.154.1.10
sh arp | in 10.154.1.13

Whats routing protocols are your running for redistribution?
Are you performing mutual redistribution?

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

5 Replies 5

cofee
Level 5
Level 5

* clear ip ospf process

this will just drop the adjacency and re-establish it. Can you be more clear what's happening because I didn't quite understand your problem.

In order to run enable ospf on a particular interface/ip address, you can use the following method:

router ospf 1

net 192.168.1.1 0.0.0.0 area x

or

int s1/1

ip ospf x area x

ip add 192.168.1.1 255.255.255.0

Hi Pablo,

This command clear ip bgp * soft is used for BGP in order to refresh the entries into the RIB, now coffe@400 provided the command to refresh the OSPF relationship.

Now if you have not selected the OSPF DR and BDR routers yet (it was selected by default) you should configure the highest router id on your router selected to be the DR and the lowest router id for the BDR. Example:

PRIMARY ROUTER

router ospf 1
router-id 10.10.10.10

SECONDARY ROUTER

router ospf 1
router-id 9.9.9.9

Then you can clear the process

clear ip ospf process [then press Yes]

Also you can configure the following command from the DROTHER under the interface facing to the DR and BDR routers to avoid allow them become DR or BDR

ip ospf priority 0

*It is just an idea I don't know your network or the OSPF network type you are using.

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

pablo.arcelcr
Level 1
Level 1

For example I have two IP addresses 10.154.1.10 and 10.154.1.13 

I can reach 10.154.1.10 from my PC but when I try to connect to 10.154.1.13 is not letting me connect and the last hop that can reach is the one of one of the core switches that has an OSPF redistribute

What are you redistributing on the core switches that you can reach as last hop ? OSPF into what ? Or what into OSPF ?

Hello

I can reach 10.154.1.10 from my PC but when I try to connect to 10.154.1.13 is not letting me connect

As you can reach 10.154.1.10 , I am assuming .13 is in the same network and if that's the case then your pc has reachabilty to that subnet., is you pc in the same ip range?


and the last hop that can reach is the one of one of the core switches that has an OSPF redistribute

If the cores ping both of these address then try pinging again sourced from the same vlan as your pc

ping 10.154.1.13 source vlan xxx (pc vlan )
sh arp | in 10.154.1.10
sh arp | in 10.154.1.13

Whats routing protocols are your running for redistribution?
Are you performing mutual redistribution?

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul