You are on page 1of 2

LABORATORY TUTORIAL

This tutorial gives a hands-on experience to the students learning basic


networking tools and SNMP-based tools.

C.1 NETWORK BASIC TOOLS LAB

Read about functions and the use of the following basic network tool
commands. You can invoke man commandname to obtain the
manual page of a command in a UNIX system.

1. ping
2. traceroute
3. nslookup
4. host
5. dig

Use these commands in the Lab to do the following practice exercises.


You may create your own additional exercises and be prepared to discuss
them in class.

1. Choose any IP address in your subnet or outside and find the name of the
host.
2. Ping at least two public institutions' addresses inside and outside India.
Analyse your results and note the significant points.

Execute traceroute to the following IP addresses and analyze:

www.gatech.edu

ns1.bangla.net

C.2 SNMP TOOLS LAB

This lab is designed to learn the SNMP-testing tools. Many tools are
available on public domain.

 The SNMP test tool is an interactive tool to obtain values of several


managed objects, one at a time.
 Get, Get-next, and Set are the SNMP commands that we learned under
SNMP architecture/messages. Execution of these will return an SNMP
Response message. Pay particular attention to index and instance in this
exercise.
 SNMPWalk uses snmpgetnext to trace the entire MIB. A network status
command is used to test the status of network connections of a host.

Exercise the following test tools:

 snmptest
 snmpget
 snmpgetnext
 snmpset
 snmptrap
 snmpwalk
 snmpnetstat

C.3 SNMP APPLICATIONS

Apply the SNMP tools you have learned to the following applications.

Application 1: Choose any three hosts and determine which of the


hosts has been running the longest.

Application 2: Use SNMP system MIB and find all the information
about the hosts that you used in Application 1.

Application 3: Acquire the routing table of a router using IP MIB and


find out the approximate size of the table.

Application 4: Your instructor has set the snmpd.conf table in a host


with different community users accessing different profiles of
information from the database.

Inspect the configuration file (/etc/snmpd.conf) for the SNMP daemon


running on the host. Attempt an snmpwalk using each of the community
names it defines. Compare the amount of information available with
each.

Application 5: Your instructor will give you MIB views for different
groups of users. Modify the snmpd.conf table to implement those views.

You might also like