Imagine I am trying to test ACLs and validate whether a given IP
could communicate with a target server.
My goal in this case below is to ping target server=10.66.206.5 as if I was
a client IP=10.66.217.131.
Isn't possible to do this with extended ping? I don't understand why it does
not work. I am doing this from the layer 3 switch where routing takes place for the respective VLANs both server and clients are member of. Both servers and clients are connected to layer 2 switches which are connected to layer 3 3750 distribution switches.
Protocol [ip]: 10.66.206.5
% Unknown protocol - "10.66.206.5", type "ping ?" for help
Target IP address: 10.66.206.5
Repeat count :
Datagram size :
Timeout in seconds :
Extended commands [n]: y
Source address or interface: 10.66.217.131 <=== *** Not sure why it returns invalid source. This is actual IP from a client.
% Invalid source
Source address or interface: