Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2. Using HyperTerminal to connect from Windows workstations and tip from Sun
workstations
Equipment:
1. PC with monitor, keyboard, mouse, and power cords
3. NIC card and console cable connected to the console port and Cat5 patch cable to
LAN
Background:
During this lab you will configure a Router using CISCO IOS commands. You will first
configure the device through the connection to its console ports. Then you will access
your router by the Ethernet connection and set up the routing table.
3-1
Lab 3 Configuration
CAT5500 RSM
10.0.100.254
10.0.100.100
The switch supervisor module is the “brain” of the 5500 switch. It acts as a virtual host
for all switches on the backbone network. Its IP address is 10.0.100.254.
3-2
Task1: Direct connection to router via console port for initial configuration
Direction: in order to reach the router before it is configured, you have to use the
router’s console port with terminal tools.
1. Click StartÆProgramsÆAccessoriesÆCommunicationÆHyperTerminal
see: a HyperTerminal window and its setup dialog
2. Set a name for this connection: routerX, where X is the number of your segment
Direction: Now we have logged on to the router. The next step is to assign IP
addresses to router’s network interfaces, or the router won’t work for the Ethernet
network.
3. To interrogate:
$ routerX# show config
See: the whole configuration on the screen
4. To modify:
$ routerX# config t
See: “routerX (config)#” on the screen
Note: Now you are in the general configuration mode
3-3
5. $ router1 (config)# ip routing
Note: Enabling routing function
Direction: Now that the router’s IP addresses are configured, and it becomes
active on the Ethernet network. Thus, we can reach it using the telnet command.
3-4
2. At the command prompt type:
$telnet 10.0.X0.1 (or 10.0.100.X)
see: “Enter password: _ “ on the screen
note: X is the number of your segment
4. $ routerX>enable
see: “Enter password: _” on the screen
note: always use command “enable” first, if you want to see something
Direction: routing table is the key part of the router’s configuration. It must be
built before workstations can communicate from one sub-network to another
through the router.
One line of such entry means: forward all packets addressed to the network
“10.0.X0.0 255.255.255.0” to the next router represented by the IP address
“10.0.100.X”
3-5
3. $router1 (config)# ip route 10.0.60.0 255.255.255.0 10.0.100.6
4. $router1 (config)# ip route 10.0.50.0 255.255.255.0 10.0.100.5
5. $router1 (config)# ip route 10.0.40.0 255.255.255.0 10.0.100.4
6. $router1 (config)# ip route 10.0.30.0 255.255.255.0 10.0.100.3
7. $router1 (config)# ip route 10.0.20.0 255.255.255.0 10.0.100.2
8. $router1 (config)# exit
9. $router1# write
Open a local terminal window, execute commands in the following table, and
record the results.
Note: command “tracert” is for Windows PC, and “traceroute” is for SUN
workstation. You need only run one of them, depending on which kind of
computer you are using.
X is the number of your segment; Y is the number of another segment.
ping 10.0.X0.1
ping 10.0.100.X
ping 10.0.Y0.20
tracert 10.0.Y0.20 or
traceroute 10.0.Y0.20
ping 10.0.100.254
3-6