07-25-2013 10:51 AM - edited 03-04-2019 08:33 PM
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
Solved! Go to Solution.
07-25-2013 11:20 AM
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
07-25-2013 11:20 AM
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
07-25-2013 12:41 PM
Thank you!
07-25-2013 02:14 PM
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
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