====== Testing Connectivity with traceroute ====== A very simple way to test connectivity between hosts, and to verify routing paths is to use the ''traceroute'' tool. traceroute uses UDP datagrams (or ICMP if the ''-I'' option is specified) to determine the path which packets take over the network. Unfortunately, ''traceroute'' is not installed by default. Luckily, Ubuntu makes it easy to add. If you can "see" the Internet, simply issue the command: icct@myhost:~$ sudo apt-get install traceroute This has the effect of downloading the traceroute package from the Internet and installing it for you. You may be asked to run the additional command: icct@myhost:~$ sudo apt-get update Once installed, ''traceroute'' is invoked as follows: icct@myhost:~$ traceroute -n www.swan.ac.uk Try this command from your host and note the results. ===== What Next? ===== Once you have achieved a connection to the interface, you need to update your installation of Ubuntu. You can do this most easily from the command line using the apt-get utility: icct@myhost:~$ sudo apt-get update Now that your network is configured, we can move on to installing an Apache web server. This will be the subject of the next lab exercise. ---- [[eg-253:network:step6|Previous Step]] | [[eg-253:network:home|Home]]