LAB01
LAB01
Lab 01
Objectives
Get you familiar with basic networking tools.
(e) Why could it be that some interfaces do not have a MAC address?
If you observe that some hosts are not reachable, then can you explain why? Check if the ad-
dresses that were unreachable by the ping command are reachable from the Web browser (here
you should use the website’s URL instead of the IP address).
The traceroute utility lists the routers that are located between your computer and a remote
one. E.g., if you type traceroute <target> in the command line, where <target> is a website
name or IP address, it will display a list of router names and/or IP addresses and the RTTs
(Round Trip Times) that were measured between your computer and each router.
(b) How many routers are there between your workstation and www.mit.edu ?
(c) Between which two routers do packets cross the Atlantic Ocean?
Run traceroute from your machine to the following destinations: (I)www.ucla.edu (II)www.u-
tokyo.ac.jp and (III)www.lancaster.ac.uk.
(a) At which router do the paths from your machine to these three destinations diverge?
(c) Is the number of hops on each path proportional to the physical distance?
Several servers distributed around the world provide a web interface from which you can perform
a traceroute to any other host in the Internet. Here are two examples:
(I) http://www.speedtest.com.sg/tr.php and (ii) https://www.telstra.net/cgi-bin/trace. You
can find other traceroute servers at www.traceroute.org
(b) What are the IP addresses of the two servers that you have chosen?
(c) Does the reverse path go through the same routers as the forward path?
(d) If you observe common routers between the forward and the reverse path, do you also
observe the same IP addresses? Why or why not?
• You can introduce the packet size in tracert command, exp: tracert 1.1.1.1 133
• -m MaxHop: Sets the maximum number of hops used in outgoing probe packets.
• -q Nqueries: Specifies the number of probes the traceroute command sends at each hop.
The default is three probes.
• -w WaitTime: Sets the time (in seconds) to wait for a response to a probe. The default is
3 seconds.
(a) Can you think of at least two reasons why the y-axis values that you plot are greater than
2?
Copyright © A. Bachir, A. Bensalem, A. Djouama, K. Lounis, Y. Sahraoui 2024/2025.
(b) Is the delay to the destinations constant or does it vary over time? Explain why.
(c) The measured delay (i.e., the delay you can see in the graphs) is composed of propagation
delay, transmission delay, processing delay and queuing delay. Which of these delays
depend on the packet size and which do not?
Exercise 05: dig
Humans use special names to refer to computers (more precisely, to the network interfaces of
computers). When you instruct your computer to communicate with a remote computer that
has a given name, your computer translates the given name to an IP address.
• What are the IP addresses of www.ensia.edu.dz?
• What are the IP addresses of www.yahoo.fr ?
– Why could it be that www.yahoo.fr maps to more than one IP addresses?
• What is the IP address of www.google.com?
• Answer the same question again in an hour or so. Has anything changed? If so,
– What could be the reason for the change?
– Which is the IP address of the Google site ( www.google.com )?
– n your opinion, what is the reason of having several IP addresses as an output?
• Find out name of the IP address 127.0.0.1. What is special about this IP address
The equivalent command in windows is nslookup.