06-12-2006 11:43 PM - edited 03-05-2019 11:57 AM
from the attachment that i have attached
Kindly explian me how Ping and traceroute works when i ping from 10.1.1.1 to 10.1.1.2
Waht will be the possible output for the traceroute 10.1.1.2 from 10.1.1.1
06-13-2006 01:19 AM
ping command is used to check your connectivity to the destination/machine. by traceroute you can verify the hops it goes through while moving towards ur desired destination. it will tell u the no. of hops ur destination is away from you and how much time do u take to reach the destination.
* Please rate the post if it helps. *
Regards.
06-13-2006 01:26 AM
According to the scenario as shown in your attachment,
when you try to ping from 10.1.1.1, this command if ends in success will tell you that you can reach the host (that it is up, running and accessible). where as the the trace route will tell you will take the path
10.1.254.1, 10.1.254.2, 10.1.254.3, 10.1.254.4 i.e 4 hops to reach the desird host.
* Please rate the Helpful posts.*
Regards.
06-13-2006 01:50 AM
HI
Ping is used to check connectivity between u r hosts.
As posted above.and traceroute will show u the path u r packets r taking accross hops to reach the destination.
But in u r case as u r pinging from 10.1.1.2 to 10.1.1.1 as they are on the same network.it will show u r default gateway IP as the next with a value of 1.
Thanks
Mahmood
06-13-2006 02:02 AM
how it works....swicth broadcasts right ?... if 10.1.1.1 pings...is it such such a way that it broad casts to all ports until a reply is got ?
06-13-2006 02:48 AM
HI
The switch is going to send an arp request to get the mac-address of the host if it is not in the cam-table.
Thanks
Mahmood
06-15-2006 09:54 AM
yes, what you say is ARP. The Broadcost will happen only at the first time, then next time it will take the entries from the MAC table,
The other thing, since you are using the switch and all the systems are working in the same VLAN, why do you want to have the IP addresses on the switches, just truncking is enough to communicate each other.
While talking about trace route, 10.1.1.2 's next hop will be 10.1.1.1. if you use trunking betn switches.
-Senthil.C
06-16-2006 09:02 AM
The benefit of having an IP on the switch is for management (telnet into the switch remotely) and monitoring purposes. Without an IP to it, you need to be physically at the switch and go through the console cable to configure or troubleshoot.
Jeff.
06-13-2006 04:50 AM
Also keep in mind that if you ping from a cisco command line, you are using udp ping, not ICMP.
06-13-2006 06:36 AM
Sean
You have confused ping and traceroute. ping uses ICMP (echo request and echo reply) whether it is Cisco or non-Cisco. traceroute on Cisco uses UDP where tracert on Windows PCs uses ICMP.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide