ping from vr

Reply
L0 Member

ping from vr

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 ?

Community Manager

Re: ping from vr

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


Help the community: Like helpful comments and mark solutions
Reaper out
L0 Member

Re: ping from vr

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 ?

Highlighted
Community Manager

Re: ping from vr

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


Help the community: Like helpful comments and mark solutions
Reaper out
L0 Member

Re: ping from vr

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".

Community Manager

Re: ping from vr

If you rewch out to your local sales SE, they can submit a feature request for you :)


Help the community: Like helpful comments and mark solutions
Reaper out
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!