rudedog
02-25-2005, 10:02 PM
How to use tracrout (tracert) to help troubleshoot your client or server problems.
Tracert is a very useful too. It can be used to diagnose a, latency (high pings) problem with your game server.
By using this command you can see if the problem lies within, your provider's network, the Internet, or your game server's network.
Tracert is a command line utilities that is built into Windows and most other computer operating systems.
The basic tracert command syntax is " tracert hostname ". For example, " tracert 66.151.108.123 " and the output might look like:
http://www.mohadmin.com/nuke/download/dos_tracert_output.gif
tracert will return a list of routers or hops taken to get to our final destination. Along with all these hops, we will also get the latency (ping) to each router along the way.
Let get started. I will be using XP for this demonstration. But basically it's the same for all the Window's operating system's
To open a Command prompt.
start->run type: cmd press enter
You should get the following window:
http://www.mohadmin.com/nuke/download/dos.gif
Let's start by looking at the output from my tracert. This shows the path from my box to my Dedicated game
server.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\jim>tracert 66.151.108.123
Tracing route to 66.151.108.123 over a maximum of 30 hops
1 28 ms 20 ms 17 ms 10.2.120.1
2 8 ms 7 ms 5 ms 68.9.8.85
3 43 ms 36 ms 34 ms 68.9.8.201
4 191 ms 15 ms 7 ms provdsrc02-gew0304.rd.ri.cox.net [68.9.14.17]
5 6 ms 57 ms 47 ms provbbrc02-pos0101.rd.ri.cox.net [68.1.0.48]
6 36 ms 87 ms 38 ms provdsrc02-gew03010999.rd.ri.cox.net [68.1.0.51]
7 66 ms 38 ms 36 ms so-6-0-0.gar2.wdc1.Level3.net [67.29.170.1]
8 56 ms 37 ms 36 ms so-7-0-0.edge1.Washington1.Level3.net [209.244.11.14]
9 37 ms 36 ms 37 ms POS1-1.BR1.IAD8.ALTER.NET [209.0.227.118]
10 37 ms 58 ms 36 ms 0.so-1-3-0.XR2.IAD8.ALTER.NET [152.63.32.118]
11 42 ms 53 ms 37 ms 0.so-0-0-0.CL2.IAD5.ALTER.NET [152.63.38.142]
12 60 ms 69 ms 39 ms 201.at-2-0-0.XR2.DCA6.ALTER.NET [152.63.35.49]
13 39 ms 111 ms 38 ms 0.so-1-3-0.XL2.DCA6.ALTER.NET [152.63.35.118]
14 40 ms 38 ms 66 ms POS7-0.GW4.DCA6.ALTER.NET [152.63.36.177]
15 211 ms 227 ms 57 ms internap1-gw.customer.alter.net [157.130.59.194]
16 44 ms 41 ms 96 ms border1.ge4-1-bbnet2.ext1.wdc.pnap.net [216.52.127.82]
17 437 ms 672 ms 423 ms netfire-2.border1.ext1.wdc.pnap.net [66.150.126.58]
18 44 ms 42 ms 41 ms 216.52.118.2
19 * * * Request timed out.
20 45 ms 44 ms 47 ms 66.151.108.123
Trace complete.
C:\Documents and Settings\jim>
Wow, we have some problems. We'll get to those in a minute.
1st some basic info. I live in RI. My game server is located in Washington, DC. My provider is Cox.net. From what
I can see. It takes 20 hops to reach my game server. My information or packets travel within my ISP's network
until it reaches Washington, DC. Normally Cox.net connects to the Internet in Atlanta, but with all the problems
with MCI, they have changed their backbone provider to one in the DC area.
Once my information exits the Cox network, it looks like it bounces around DC before entering, Netfire. My game server's ISP.
It then travels threw another router before ending at my game server, IP 66.151.108.123.
Lets look at some of the information provided for each hop. Let's look at hop 8
8 56 ms 37 ms 36 ms so-7-0-0.edge1.Washington1.Level3.net [209.244.11.14]
8 = The router or hop number
56ms 37ms 36 ms = The three ICMP (ping) times. ms=milliseconds. These are averaged when using the ping command.
so-7-0-0.edge1.Washington1.Level3.net = router name ( you can learn a lot from the router name ) This one is
located in Washington and is owned by Level 3. A major backbone provider.
[209.244.11.14] = routers IP address.
Now looking over the data returned form my tracert. I see that my provider is having some problems, at my hop 4.
provdsrc02-gew0304.rd.ri.cox.net [68.9.14.17] . which is my ISP cox.net. I also notice that hop15 is having some
major ping issues. But this router lies outside both my provider and my game server's provider. Good luck getting
that fixed soon. Now hop17 netfire-2.border1.ext1.wdc.pnap.net [66.150.126.58] is having major latency problems.
also hop 19 is timing out. An * means a particular segment did not return any information and could be
experiencing major congestion. Hops 17 -20 fall under my game server provider.
so from this tracert I can see several problems. Two of which I have some control over as I am a customer within,
that particular network.
Hop 15 is outside my ISP's and game server's network. I hope they realize there problem and fix it soon. Basically we
are at the mercy of the internet as we share this world wide network.
Remember this tracert was only done once. I would want to run several tracerts to get an overview of the
situation. As luck would have it. Soon after, I was done with this guide, I ran another tracert and everythign
was back to normal.
What did we learn from this. You can do some basic network trouble shooting and find out exactly where your high pings
are coming from. If they fall within your network then you can complain to your ISP. Hopefully they can fix the
problem ASAP.
Good luck and hopefully this document helps you understand what is between you and your game server.
Advanced users can use the following link for syntax and parameters:
http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/winxppro/proddocs/tracert.asp
Tracert is a very useful too. It can be used to diagnose a, latency (high pings) problem with your game server.
By using this command you can see if the problem lies within, your provider's network, the Internet, or your game server's network.
Tracert is a command line utilities that is built into Windows and most other computer operating systems.
The basic tracert command syntax is " tracert hostname ". For example, " tracert 66.151.108.123 " and the output might look like:
http://www.mohadmin.com/nuke/download/dos_tracert_output.gif
tracert will return a list of routers or hops taken to get to our final destination. Along with all these hops, we will also get the latency (ping) to each router along the way.
Let get started. I will be using XP for this demonstration. But basically it's the same for all the Window's operating system's
To open a Command prompt.
start->run type: cmd press enter
You should get the following window:
http://www.mohadmin.com/nuke/download/dos.gif
Let's start by looking at the output from my tracert. This shows the path from my box to my Dedicated game
server.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\jim>tracert 66.151.108.123
Tracing route to 66.151.108.123 over a maximum of 30 hops
1 28 ms 20 ms 17 ms 10.2.120.1
2 8 ms 7 ms 5 ms 68.9.8.85
3 43 ms 36 ms 34 ms 68.9.8.201
4 191 ms 15 ms 7 ms provdsrc02-gew0304.rd.ri.cox.net [68.9.14.17]
5 6 ms 57 ms 47 ms provbbrc02-pos0101.rd.ri.cox.net [68.1.0.48]
6 36 ms 87 ms 38 ms provdsrc02-gew03010999.rd.ri.cox.net [68.1.0.51]
7 66 ms 38 ms 36 ms so-6-0-0.gar2.wdc1.Level3.net [67.29.170.1]
8 56 ms 37 ms 36 ms so-7-0-0.edge1.Washington1.Level3.net [209.244.11.14]
9 37 ms 36 ms 37 ms POS1-1.BR1.IAD8.ALTER.NET [209.0.227.118]
10 37 ms 58 ms 36 ms 0.so-1-3-0.XR2.IAD8.ALTER.NET [152.63.32.118]
11 42 ms 53 ms 37 ms 0.so-0-0-0.CL2.IAD5.ALTER.NET [152.63.38.142]
12 60 ms 69 ms 39 ms 201.at-2-0-0.XR2.DCA6.ALTER.NET [152.63.35.49]
13 39 ms 111 ms 38 ms 0.so-1-3-0.XL2.DCA6.ALTER.NET [152.63.35.118]
14 40 ms 38 ms 66 ms POS7-0.GW4.DCA6.ALTER.NET [152.63.36.177]
15 211 ms 227 ms 57 ms internap1-gw.customer.alter.net [157.130.59.194]
16 44 ms 41 ms 96 ms border1.ge4-1-bbnet2.ext1.wdc.pnap.net [216.52.127.82]
17 437 ms 672 ms 423 ms netfire-2.border1.ext1.wdc.pnap.net [66.150.126.58]
18 44 ms 42 ms 41 ms 216.52.118.2
19 * * * Request timed out.
20 45 ms 44 ms 47 ms 66.151.108.123
Trace complete.
C:\Documents and Settings\jim>
Wow, we have some problems. We'll get to those in a minute.
1st some basic info. I live in RI. My game server is located in Washington, DC. My provider is Cox.net. From what
I can see. It takes 20 hops to reach my game server. My information or packets travel within my ISP's network
until it reaches Washington, DC. Normally Cox.net connects to the Internet in Atlanta, but with all the problems
with MCI, they have changed their backbone provider to one in the DC area.
Once my information exits the Cox network, it looks like it bounces around DC before entering, Netfire. My game server's ISP.
It then travels threw another router before ending at my game server, IP 66.151.108.123.
Lets look at some of the information provided for each hop. Let's look at hop 8
8 56 ms 37 ms 36 ms so-7-0-0.edge1.Washington1.Level3.net [209.244.11.14]
8 = The router or hop number
56ms 37ms 36 ms = The three ICMP (ping) times. ms=milliseconds. These are averaged when using the ping command.
so-7-0-0.edge1.Washington1.Level3.net = router name ( you can learn a lot from the router name ) This one is
located in Washington and is owned by Level 3. A major backbone provider.
[209.244.11.14] = routers IP address.
Now looking over the data returned form my tracert. I see that my provider is having some problems, at my hop 4.
provdsrc02-gew0304.rd.ri.cox.net [68.9.14.17] . which is my ISP cox.net. I also notice that hop15 is having some
major ping issues. But this router lies outside both my provider and my game server's provider. Good luck getting
that fixed soon. Now hop17 netfire-2.border1.ext1.wdc.pnap.net [66.150.126.58] is having major latency problems.
also hop 19 is timing out. An * means a particular segment did not return any information and could be
experiencing major congestion. Hops 17 -20 fall under my game server provider.
so from this tracert I can see several problems. Two of which I have some control over as I am a customer within,
that particular network.
Hop 15 is outside my ISP's and game server's network. I hope they realize there problem and fix it soon. Basically we
are at the mercy of the internet as we share this world wide network.
Remember this tracert was only done once. I would want to run several tracerts to get an overview of the
situation. As luck would have it. Soon after, I was done with this guide, I ran another tracert and everythign
was back to normal.
What did we learn from this. You can do some basic network trouble shooting and find out exactly where your high pings
are coming from. If they fall within your network then you can complain to your ISP. Hopefully they can fix the
problem ASAP.
Good luck and hopefully this document helps you understand what is between you and your game server.
Advanced users can use the following link for syntax and parameters:
http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/winxppro/proddocs/tracert.asp