How do I know what is the origin IP if I ping from a router to a host of an external network in packet tracer?Can't ping a router's interface which is in a WAN directly connected to my router- (Packet tracer)What is this node in packet tracer?NAT Translation IP usagewhat does “-m” mean in UNIX ping commandConfigure ethernet ports at an router in packet tracer 7Computer unable to ping another over two routersHow does a switch know how to route ping packets?Can I connect a PC to a router directly in Packet Tracer?security benefits of using RADIUS in router authentication - packet tracerLet connections go through a server to a router in packet tracer
I unknowingly submitted plagarised work
Writing with dry erase marker on Shabbos, is it permitted?
How to pull out the underlying query syntax being used by dataset?
Adding spaces to string based on list
Why doesn't the Earth accelerate towards the Moon?
Would jet fuel for an F-16 or F-35 be producible during WW2?
Simple fuzz pedal using breadboard
Employer demanding to see degree after poor code review
What to do when you've set the wrong ISO for your film?
How to know if a folder is a symbolic link?
Defining the standard model of PA so that a space alien could understand
Why aren't space telescopes put in GEO?
Count rotary dial pulses in a phone number (including letters)
Pirate democracy at its finest
Is the Starlink array really visible from Earth?
Were pens caps holes designed to prevent death by suffocation if swallowed?
Why do airplanes use an axial flow jet engine instead of a more compact centrifugal jet engine?
Would Brexit have gone ahead by now if Gina Miller had not forced the Government to involve Parliament?
NIntegrate doesn't evaluate
Boss wants me to falsify a report. How should I document this unethical demand?
How do Human Traits Work?
What is memelemum?
Crossing US border with music files I'm legally allowed to possess
Should breaking down something like a door be adjudicated as an attempt to beat its AC and HP, or as an ability check against a set DC?
How do I know what is the origin IP if I ping from a router to a host of an external network in packet tracer?
Can't ping a router's interface which is in a WAN directly connected to my router- (Packet tracer)What is this node in packet tracer?NAT Translation IP usagewhat does “-m” mean in UNIX ping commandConfigure ethernet ports at an router in packet tracer 7Computer unable to ping another over two routersHow does a switch know how to route ping packets?Can I connect a PC to a router directly in Packet Tracer?security benefits of using RADIUS in router authentication - packet tracerLet connections go through a server to a router in packet tracer
When we ping from a router to a host in an external network, how do we know what is the origin IP of the packet?
I searched and I didn't find a way to select which interface is the starting point of the ping.
So is the router taking a default pattern of "what to do in case we ping something"?
I'm using Packet Tracer 7.1.1
cisco ping packet-tracer networking
New contributor
green_yallowa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
When we ping from a router to a host in an external network, how do we know what is the origin IP of the packet?
I searched and I didn't find a way to select which interface is the starting point of the ping.
So is the router taking a default pattern of "what to do in case we ping something"?
I'm using Packet Tracer 7.1.1
cisco ping packet-tracer networking
New contributor
green_yallowa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
When we ping from a router to a host in an external network, how do we know what is the origin IP of the packet?
I searched and I didn't find a way to select which interface is the starting point of the ping.
So is the router taking a default pattern of "what to do in case we ping something"?
I'm using Packet Tracer 7.1.1
cisco ping packet-tracer networking
New contributor
green_yallowa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
When we ping from a router to a host in an external network, how do we know what is the origin IP of the packet?
I searched and I didn't find a way to select which interface is the starting point of the ping.
So is the router taking a default pattern of "what to do in case we ping something"?
I'm using Packet Tracer 7.1.1
cisco ping packet-tracer networking
cisco ping packet-tracer networking
New contributor
green_yallowa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
green_yallowa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
green_yallowa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 8 hours ago


green_yallowagreen_yallowa
132
132
New contributor
green_yallowa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
green_yallowa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The default behavior of a ping (of any traffic originated from a machine unless explicitly configured to behave differently) is to use the IP address of the interface closest to the destination.
The device will lookup its routing table, find the interface that will be used to send the packet and use the (primary) IP address of this interface.
On real device, you can often override this behavior with the -I
option of ping followed by the interface name or the IP address you want to use.
Example:
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.72 ms
ping -I 198.51.100.193 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 198.51.100.193 : 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.87 ms
I don't know if this option is available in packet tracer, which is a simulator with a limited set of features and options, but you can try.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "496"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
green_yallowa is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f59400%2fhow-do-i-know-what-is-the-origin-ip-if-i-ping-from-a-router-to-a-host-of-an-exte%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The default behavior of a ping (of any traffic originated from a machine unless explicitly configured to behave differently) is to use the IP address of the interface closest to the destination.
The device will lookup its routing table, find the interface that will be used to send the packet and use the (primary) IP address of this interface.
On real device, you can often override this behavior with the -I
option of ping followed by the interface name or the IP address you want to use.
Example:
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.72 ms
ping -I 198.51.100.193 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 198.51.100.193 : 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.87 ms
I don't know if this option is available in packet tracer, which is a simulator with a limited set of features and options, but you can try.
add a comment |
The default behavior of a ping (of any traffic originated from a machine unless explicitly configured to behave differently) is to use the IP address of the interface closest to the destination.
The device will lookup its routing table, find the interface that will be used to send the packet and use the (primary) IP address of this interface.
On real device, you can often override this behavior with the -I
option of ping followed by the interface name or the IP address you want to use.
Example:
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.72 ms
ping -I 198.51.100.193 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 198.51.100.193 : 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.87 ms
I don't know if this option is available in packet tracer, which is a simulator with a limited set of features and options, but you can try.
add a comment |
The default behavior of a ping (of any traffic originated from a machine unless explicitly configured to behave differently) is to use the IP address of the interface closest to the destination.
The device will lookup its routing table, find the interface that will be used to send the packet and use the (primary) IP address of this interface.
On real device, you can often override this behavior with the -I
option of ping followed by the interface name or the IP address you want to use.
Example:
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.72 ms
ping -I 198.51.100.193 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 198.51.100.193 : 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.87 ms
I don't know if this option is available in packet tracer, which is a simulator with a limited set of features and options, but you can try.
The default behavior of a ping (of any traffic originated from a machine unless explicitly configured to behave differently) is to use the IP address of the interface closest to the destination.
The device will lookup its routing table, find the interface that will be used to send the packet and use the (primary) IP address of this interface.
On real device, you can often override this behavior with the -I
option of ping followed by the interface name or the IP address you want to use.
Example:
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.72 ms
ping -I 198.51.100.193 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 198.51.100.193 : 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=4.87 ms
I don't know if this option is available in packet tracer, which is a simulator with a limited set of features and options, but you can try.
answered 8 hours ago
JFLJFL
12.8k11443
12.8k11443
add a comment |
add a comment |
green_yallowa is a new contributor. Be nice, and check out our Code of Conduct.
green_yallowa is a new contributor. Be nice, and check out our Code of Conduct.
green_yallowa is a new contributor. Be nice, and check out our Code of Conduct.
green_yallowa is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Network Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f59400%2fhow-do-i-know-what-is-the-origin-ip-if-i-ping-from-a-router-to-a-host-of-an-exte%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown