cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3703
Views
0
Helpful
3
Replies

Source ping from the HSRP standby IP

Difan Zhao
Level 5
Level 5

Hi guys,

Is there a way to source the ping from the standby IP?

We have VMware hosts that can't ping the virtual IP address. But they can ping the physical IP addresses on our cores. I just want to try myself to ping their IP from the virtual IP address. Is it possible?

My cores that run HSPR are 6500 with sup720 with 12.2(33) IOS

Thanks,

Difan

1 Accepted Solution

Accepted Solutions

mvsheik123
Level 7
Level 7

With extended ping option you can do that.

Test-S1#ping

Protocol [ip]:

Target IP address: 192.168.110.40

Repeat count [5]:

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface: 192.168.140.1  --> hsrp standby ip (virtual).

Type of service [0]:

Set DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]:

Sweep range of sizes [n]:

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.110.40, timeout is 2 seconds:

Packet sent with a source address of 192.168.140.1

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

hth

MS

View solution in original post

3 Replies 3

mvsheik123
Level 7
Level 7

With extended ping option you can do that.

Test-S1#ping

Protocol [ip]:

Target IP address: 192.168.110.40

Repeat count [5]:

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface: 192.168.140.1  --> hsrp standby ip (virtual).

Type of service [0]:

Set DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]:

Sweep range of sizes [n]:

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.110.40, timeout is 2 seconds:

Packet sent with a source address of 192.168.140.1

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

hth

MS

Thank you!

Jan Hrnko
Level 4
Level 4

Hi Difan,

mvsheik123 is absolutely correct, however, If you would like to use abbreviated command, just type:

Router#ping [ip] source [virtual_ip]

for example

Router#ping 192.168.1.100 source 192.168.1.1

It comes handy when you use this command a lot .

Best regards,

Jan

Review Cisco Networking for a $25 gift card