cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13475
Views
4
Helpful
2
Replies

Extended ping source IP address question

Kevin Melton
Level 2
Level 2

I was discussing the extended ping option with

a collegue of mine.  we started discussing the "source Ip address or interface" line within the extended ping command set.  He claimed that the source IP address or interface had to be configured on the router.  I claimed that the source IP address could be any address that as within a valid range that any IP address configured on the router.

Can anyone please clarify this?

Thanks for your help.

Kevin

1 Accepted Solution

Accepted Solutions

Nagaraja Thanthry
Cisco Employee
Cisco Employee

Hello,

The IP address you are using as the source should be the IP address on the

router. You cannot use a random IP in the subnet. If you go to a firewall

(PIX/ASA), there is an option for packet tracer where you can use any random

IP as the source.

Hope this helps.

Regards,

NT

View solution in original post

2 Replies 2

Jerry Ye
Cisco Employee
Cisco Employee

You collegue is right.

Rack1R1#ping 150.1.2.2 sour 150.3.2.25

% Invalid source address- IP address not on any of our up interfaces

HTH,

jerry

Nagaraja Thanthry
Cisco Employee
Cisco Employee

Hello,

The IP address you are using as the source should be the IP address on the

router. You cannot use a random IP in the subnet. If you go to a firewall

(PIX/ASA), there is an option for packet tracer where you can use any random

IP as the source.

Hope this helps.

Regards,

NT

Review Cisco Networking for a $25 gift card