- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
02-11-2019 05:11 AM
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 ?
02-11-2019 06:15 AM - edited 02-11-2019 06:27 AM
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
02-11-2019 06:08 AM
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
02-11-2019 06:12 AM
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 ?
02-11-2019 06:15 AM - edited 02-11-2019 06:27 AM
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
02-11-2019 07:27 AM - edited 02-11-2019 07:31 AM
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".
02-11-2019 11:54 AM
If you rewch out to your local sales SE, they can submit a feature request for you 🙂
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!