Extended ping source IP address question

Answered Question
Aug 26th, 2010

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

I have this problem too.
0 votes
Correct Answer by Nagaraja Thanthry about 6 years 3 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
Jerry Ye Thu, 08/26/2010 - 09:09

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

Correct Answer
Nagaraja Thanthry Thu, 08/26/2010 - 10:25

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

Actions

This Discussion