Let me try to help you with your query.
As per my experience and knowledge
The correct answer is: ping
Ping allows you to see if a remote computer is reachable, but it does not show you the path that a packet takes to get to the remote computer. ifup is used to start (bring up) network interfaces
Hope this might help you.