cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1888
Views
100
Helpful
16
Replies

ospf problem path selection

a.pngin above scenario ospf , when the connection between two switches was downed.(in any reason )router R4 can not ping 192.168.13.1 ( R1 interface 0/1) . in this situation we want ping this ip with path up ( R2--R1) . how can handle this problem ??
thanks...

16 Replies 16

a.png
Hofo

Your problem has already been my problem.in this situation, you should use tunnel with static route for solve problem.



R1#

interface Loopback1
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 ip address 192.168.12.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.13.1 255.255.255.0
 duplex auto
 speed auto
!
interface tunnel 10
ip address 192.168.113.1 255.255.255.0
tunnel source 1.1.1.1
tunnel destination 3.3.3.3

router ospf 1
 network 192.168.12.0 0.0.0.255 area 0
 network 192.168.13.0 0.0.0.255 area 0

 network 1.1.1.1 0.0.0.0 area 0
!
ip route 192.168.13.3 255.255.255.255 192.168.113.3


R3#

interface Loopback1
 ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
 ip address 192.168.34.3 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.13.3 255.255.255.0
 duplex auto
 speed auto
!
interface tunnel 10
ip address 192.168.113.3 255.255.255.0
tunnel source 3.3.3.3
tunnel destination 1.1.1.1

router ospf 1
 network 192.168.34.0 0.0.0.255 area 0
 network 192.168.13.0 0.0.0.255 area 0
 network 3.3.3.3 0.0.0.0 area 0
!
ip route 192.168.13.1 255.255.255.255 192.168.113.1


i use tunnel gre because when static route want to get 192.168.13.0 in any two router R1 can not reach R3.with this channel you can solve your problem.

HTH

thanks  mohamad ebrahimi

 

your solution solve my problem.this solution in my network very suitable.

HOFO

Review Cisco Networking for a $25 gift card