cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6348
Views
10
Helpful
6
Replies

couldn't ping through source interface

rahul.bambhnia
Level 1
Level 1

Dear all,

Can anyone help me to resolve my problem.below is sh run of all router in which router R1, R2,R3,R4 communicate with each other its ok but when i trying to ping to router R1 from R4's source interface f0/0 then its not getting pinging but if i do normal ping from R4 to R1 then it pinging.

similarly for R3 also but over here i have mention sh run of R1 R2 R4 only.

even i have add static route in R1 towards R4 but i can't.

R4#ping 10.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/33/84 ms

R4#ping 10.1.1.1 source f0/0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
Packet sent with a source address of 172.41.1.1
.....
Success rate is 0 percent (0/5)

---------------------------------------------------------------------------------------------------------------------

R1#sh run
----------------------------------------------------------------------------------------------
Building configuration...

*Sep 1 11:20:11.163: %SYS-5-CONFIG_I: Configured from console by console
Current configuration : 2048 bytes
!
! Last configuration change at 11:20:11 UTC Thu Sep 1 2016
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
interface Loopback4
ip address 10.1.1.1 255.255.255.0
!
interface Loopback5
ip address 10.1.2.1 255.255.255.0
!
interface Loopback6
ip address 10.1.3.1 255.255.255.0
!
interface Loopback7
ip address 10.1.4.1 255.255.255.0
!
interface Loopback8
ip address 10.1.5.1 255.255.255.0
!
interface Loopback9
ip address 10.1.6.1 255.255.255.0
!
interface Loopback10
ip address 10.1.7.1 255.255.255.0
!
interface Serial2/0
ip address 172.12.1.2 255.255.255.0
serial restart-delay 0
!
router rip
version 2
network 10.0.0.0
network 172.12.0.0
no auto-summary
!
!
!
no ip http server
no ip http secure-server
ip route 172.41.0.0 255.255.255.0 Serial2/0
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end


R2
------------------------------------------------------------------------------------------------------------
R2#sh run
Building configuration...

Current configuration : 2163 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
!
ip tcp synwait-time 5
!

interface FastEthernet0/0
no ip address
shutdown
!
interface Serial2/0
ip address 172.12.1.1 255.255.255.0
serial restart-delay 0
!
interface Serial2/1
ip address 172.23.1.1 255.255.255.0
serial restart-delay 0
!
interface Serial2/2
ip address 172.24.1.1 255.255.255.0
serial restart-delay 0

!
router ospf 1
log-adjacency-changes
redistribute rip metric 1000 subnets route-map rahul
network 172.0.0.0 0.255.255.255 area 0
!
router rip
version 2
redistribute ospf 1 metric 12 route-map pooja
network 172.12.0.0
no auto-summary
!
no ip http server
no ip http secure-server
!
access-list 5 permit 10.1.1.0 0.0.0.255
access-list 5 permit 10.1.2.0 0.0.0.255
access-list 5 permit 10.1.3.0 0.0.0.255
access-list 10 permit 172.30.1.0 0.0.0.255
access-list 10 permit 172.30.2.0 0.0.0.255
access-list 10 permit 172.30.3.0 0.0.0.255
!
route-map rahul permit 10
match ip address 5
set metric 2000
!
route-map rahul permit 20
!
route-map pooja permit 10
match ip address 10
set metric 15
!
route-map pooja permit 20
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end

R4
-----------------------------------------------------------------------------------
R4#sh run
Building configuration...

Current configuration : 1512 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
!
no ip domain lookup
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
!
ip tcp synwait-time 5
!
interface FastEthernet0/0
ip address 172.41.1.1 255.255.255.0
duplex half
!
interface Ethernet1/0
no ip address
shutdown
duplex half
!
interface Serial2/0
ip address 172.24.1.2 255.255.255.0
serial restart-delay 0
!
no ip http server
no ip http secure-server
ip route 0.0.0.0 0.0.0.0 172.24.1.1
!
control-plane
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end

1 Accepted Solution

Accepted Solutions

Pawan Raut
Level 4
Level 4

R1 dont have route For R4 F0/0 that is 172.41.1.1

Add below route on R1 and R2

R1
ip route 172.41.1.0 255.255.255.0 Serial2/0

R2
ip route 172.41.1.0 255.255.255.0 Serial2/2

View solution in original post

6 Replies 6

Terence Payet
Level 1
Level 1

Hi,

You need to advertise your network currently configured on fa0/0 on R4 to other routers for you to be able to ping. 

Enable RIP and advertise your network accordingly:

router rip

ver 2

network 172.41.0.0

no auto

HTH.

Please rate helpful post.

Regards,

Terence

Thanks Terence,

But i don't want to use dynamic routing between R2 & R4 so is that any other way to do this.

Add below route on R1 and R2

R1
ip route 172.41.1.0 255.255.255.0 Serial2/0

R2
ip route 172.41.1.0 255.255.255.0 Serial2/2

Hi,

You can use static route as suggested by pawan.raut.

But you will need to do some redistribution on R2 in order for R2 to communicate with R4.

HTH.

Regards,

Terence

Pawan Raut
Level 4
Level 4

R1 dont have route For R4 F0/0 that is 172.41.1.1

Add below route on R1 and R2

R1
ip route 172.41.1.0 255.255.255.0 Serial2/0

R2
ip route 172.41.1.0 255.255.255.0 Serial2/2

rahul.bambhnia
Level 1
Level 1

Dear Pawan,

Thank you so much actually i was forgot to add route in R2.

thanks so much again.

Review Cisco Networking for a $25 gift card