CS 456/656 - Lab Details of Static Routing

Introduction

The goal of this labs is to obtain hands-on experience with IP routing. You are asked to carry out Parts 1-3 of Lab 3 from:

Mastering Networks - An Internet Lab Manual
Jörg Liebeherr and Magda El Zarki
Addison Wesley 2004

A copy of the relevant pages is available here.

Notes for Experiment I

Start graphical user interface

You can use the graphical user interface by executing the command 'startx'

Network interface name

Note that the network interface card name are different from the lab manual. Following list shows the mapping relationship:

eth0 -> p1p1

eth1 -> p1p2

eth2 -> p1p3

eth3 -> p1p4

When doing ping in the lab exercises, do not use the name of the PCs. For example, PC1.net1 resolves to 192.168.1.11 and uses the admin network to communicate, instead of the network you configured. Use their IP addresses instead (e.g. ping 10.0.1.11 rather than ping PC1.net1).

Interfaces other than em1 are disabled by default after a fresh installation. They will be enabled once an address is assigned to them; or by ifconfig ethX up, where X is the interface number.

Exercise 1(A)

This step first asks you to assign IP addresses to the interfaces in the PCs and the router. *If* you want to set the ip address of network interface eth0 to 192.168.1.5 with netmask 255.255.255.0. Run the following command
ifconfig eth0 192.168.1.5 netmask 255.255.255.0 up

This lab uses the Ethereal program to capture network traffic. However, Ethereal is a very outdated software, so we use Wireshark instead. To start Wireshark, click Applications > Internet > Wireshark. When capturing packets, it may be useful to pay attention to the capturing window and notice what types of packets are captured during various actions.

Exercise 2(A)

Each Cisco router is connected to PC1's COM1 port. In our lab, we use minicom instead of kermit. We have set up the connection parameters for you. So you can skip all the steps in Exercise 2(A) and directly connect to the router by type in minicom in console.

Exercise 2(B)

The router has no preset password. Please leave it that way and do not set any password as the recovery process is very lengthy (and consequently make one of the TAs very unhappy).

Exercise 3(D)

In Step 1, the gateway 10.0.1.61 mentioned in the lab book may not exist. Remove all gateways for subnet 10.0.3.0 and add the gateway 10.0.1.61 as instructed in the lab book.

Remove Router Password

In case that the router password has been set, this is the way to remove the password.

Turn off the router and then turn it on using the switch on the router.

Send a 'break' to the router by pressing Ctrl-A followed by F. Do this until you see 'rommon 1>'
Type 'confreg 0x2142'
Type 'reset'
Type 'no' for all setup questions
After restart, type 'enable'
Type 'copy startup-config running-config'
You are now in the enable mode and you can do the lab.