cli: traceroute host, ping host use connected interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

cli: traceroute host, ping host use connected interface

L2 Linker

Is it possible to have traceroute host and ping host default to using the interface the cli was connected to?

 

We have the Management Interface of our PA 500 set to an internal address, like 192.168.129.11.  We can connect to it from our mpls network using the IP assigned to that interface, example: 10.129.1.11,

When we try a traceroute host or oping host the traffic uses the Management Interface gateway (192.168,129.1) instead of the gatesway of the mpls interface (10.129.1.1).

 

Is there a way to force those commands to use a different gateway/ethernet interface for egress?

 

TIA!

 

VV

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

Hi Vince

 

yes there is, you can use the 'source' option to pick a source interface ip address (this needs to correspond to a configured ip address on a dataplane interface)

 

> ping source 192.168.0.1 host 4.2.2.2

hope this helps

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

1 REPLY 1

Cyber Elite
Cyber Elite

Hi Vince

 

yes there is, you can use the 'source' option to pick a source interface ip address (this needs to correspond to a configured ip address on a dataplane interface)

 

> ping source 192.168.0.1 host 4.2.2.2

hope this helps

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization
  • 1 accepted solution
  • 13334 Views
  • 1 replies
  • 0 Likes
  • 101 Subscriptions
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!