All, is there an easy way to designate a vr as aq source when pinging ? Like ping host a.b.c.d virtual-router myvr ?
So far I only found a way to specify a source interface but the I need first look up a source interface in the specific VR. Any easier way ?
Solved! Go to Solution.
A ping can only be sourced from a legitimate IP address so you need to select one which will then automatically bind to the appropriate VR, but you can't select the VR manually since it does not have it's own IP
Thanks for the quick answer.
What I don't understand here, is that "ping host a.b.c.d" is a valid command without a source, so I assume the source gets auto selected based on route table, just like in case of a router. If that works, why does the same not work for a specific VR ? By the way, I also wonder which route table is used for the first case ?
the >ping host a.b.c.d is sourced from the management interface by default (the only interface available to the management plane, with only a single default route)
only if you set a source IP will the management go looking for an IP to bind to on the dataplane
got it, thank you.
But...as a feature request it would be very nice to have Pan OS to look into the the given VR's routing table to decide source interface and hence source ip. Jut like a router would do. So eventually we could have "ping host a.b.c.d virtual-router xy".
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!