LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2011, 10:09 PM   #1
sahil
LQ Newbie
 
Registered: Feb 2007
Posts: 8

Rep: Reputation: 0
Use of mtr


i am using mtr as a network diagnostic tool and i have a basic doubt that whether the intermediate switches or router ping the next switch/router on behalf of the original machine and report it back the route and corresponding response and packet loss to it or it itself identifies the route and pings the individual machines and get the response time and packet loss.

Thanks for your patience and time
Sahil
 
Old 06-30-2011, 02:33 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Are you just asking how traceroute works? The ttl is increased with each packet. So it gets as far as it can gefore the ttl expires. When it expires the router or switch it expired at responds back to you telling you it expired and of course uses its own IP there, identifying the route.
 
Old 06-30-2011, 10:25 PM   #3
sahil
LQ Newbie
 
Registered: Feb 2007
Posts: 8

Original Poster
Rep: Reputation: 0
what i want to know is whether the host machine actually pings all the intermediate router/switches or the successive router/switch pings the next hop and report the time delay back to the initial host. Another part is whether it first computes the route and then pings the intermediate hops and then the result is obtained by the host.
Thanks for your patience and reply
Sahil
 
Old 07-01-2011, 03:06 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I already explained that. I'd really suggest referring to standard documentation for queries like this. I bet there's a good wikipedia page for traceroute.

A route is not calculated. it is just the next hop that any machine is aware about (save for heavy duty dynamic routing protocols which are not relevant here. your client system fundamentally never has a clue how a packet gets where is it going if it's not on the local network.
 
Old 10-25-2011, 12:15 AM   #5
sahil
LQ Newbie
 
Registered: Feb 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Smile

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mtr results highlighting/flashing SupportTech Linux - Networking 1 12-14-2010 09:08 AM
What is the correct syntax for MTR? abefroman Linux - Server 1 08-15-2009 11:20 AM
mtr mahmoud Linux - Newbie 4 04-20-2009 02:59 PM
mtr / traceroute confusion :( gottin Linux - Networking 3 09-28-2004 12:59 AM
traceroute or mtr Alien18 Linux - Newbie 0 05-26-2004 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration