05-22-2018 04:37 AM - edited 03-08-2019 03:05 PM
in 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...
Solved! Go to Solution.
05-27-2018 04:34 AM
Hofo
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
05-27-2018 08:47 PM
thanks mohamad ebrahimi
your solution solve my problem.this solution in my network very suitable.
HOFO
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide