Internet and Society/Technological Infrastructure/Exercises
Appearance
Assignment
[edit | edit source]- Run a series of traceroutes from a local IP address to a variety of IP addresses around the world.
- To run the traceroutes from your computer's IP address:
- In Windows, open the command prompt (Start>Run, type in "cmd") and type "tracert [address]", where "address" is either an IP address (e.g. 129.64.99.138) or a domain name (e.g. www.brandeis.edu).
- In Linux or Mac OS X, open a Terminal window and type "traceroute [address]".
- Five columns will appear. The first is the line number, the second through fourth are the ping times from three attempts at each hop, and the last column is the IP address and/or name of the server hopped to. If there are stars instead of numbers in the middle columns, it means that the trace timed out on that hop and will try a different route.
- To run traceroute from a foreign IP address to a local one, visit www.traceroute.org for a list of international route tracers. Some will let you manually input the final destination; others automatically use your computer's address.
- To run the traceroutes from your computer's IP address:
- Record these addresses in a list formatted like this: http://people.brandeis.edu/~tjhickey/map.dot and save it as a .dot file. (Note: this is the same extension as a Microsoft Word template file, so do not be alarmed if the icon changes accordingly.)
- Download the program Graphviz from www.graphviz.org and install it. Feel free to play around with the various options, but to end up with something like this http://people.brandeis.edu/~tjhickey/map.jpg:
- From the series of programs created by the install, run "dot."
- Set the input file as the .dot you created.
- Choose an output path, filename and file type.
- Click Do layout.
- Open your new graph!
- Upload your graph to your Web space.
Optional fun
[edit | edit source]- As can be seen at http://people.brandeis.edu/~tjhickey/map3.dot and http://people.brandeis.edu/~tjhickey/map3.jpg, Graphviz can be customized and color-coded.
- There is a program called VisualRoute (www.visualroute.com) that will show your traceroute on a map and graph the relative latency between hops.
- The Web site Geobytes has both an IP locator (http://www.geobytes.com/IpLocator.htm) and a trace route locator (http://www.geobytes.com/traceroutelocator.htm), which will tell you the geographical location of any IP addresses in its databases.