Assignment 5 : TCP/IP
Type the following commands and see the output. Identify as what they are
doing by reading their man pages. Make your observations available on your home-page.
You may have to set /usr/sbin/ in your PATH.
The following commands are used by the users as well as the administrators for
knowing the information about other machines in the network. These
commands will generate network traffic when we fire them.
These commands will use different protocols which are indicated in the
parenthesis.
ping (ICMP,IP,MAC)
traceroute (UDP,IP,MAC ---- ICMP,IP,MAC)
nslookup (UDP,IP,MAC or TCP,IP,MAC)
Suffix singleton addresses below by ".cse.iitb.ac.in" if required.
1. See if machines chandra, voxel, netmon, athira, oswpc-20 are 'alive'.
2. What does -t option of ping do?
3. Find who all are logged on everest?(Use finger command).
4. Trace the route for machine sharada.ee.iitb.ac.in using 'traceroute' command. Can you use ping to trace the route?
5. Find the IP addresses of athira, chandra, everest, backup, kurinji.iitm.ernet.in, www.yahoo.com, shakti.ncst.ernet.in using nslookup command.
6. Find domain name for the machine whose IP address is 158.144.1.11.
7. Find the number of telnet sessions open on everest(use netstat -a).
8. Look at the active interfaces present on the machine(use ifconfig lan0).
9. Look at the files /etc/services, /etc/hosts, /etc/protocols.