Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
LAB # 5A
EQUIPMENT
PC
Router with console
RJ-45 TO DB-9 adapter
RJ-45 TO RJ 45 rollover cable
net 192.168.6.2
ROUTER B
170.16.54.0
net 192.182.6.1
Once RIP is enabled on a router, you must specify each network in which the router will advertise
routing.
Type "network 210.16.54.0"
Type "network 172.10.0.0"
Dynamic routing is now configured through RIP.
Type Ctrl-z to exit config mode.
Type "show ip route". Note that routes to all four networks are shown.
The same steps would be used to establish IGRP routing:
Enter config mode. (Type "configure terminal" or "config t")
First remove RIP by typing "no router rip"
Type "router igrp" to enable IGRP on your router.
Once IGRP is enabled on a router, you must specify each network in which the router will
advertise routing.
Type "network 210.16.54.0"
Type "network 172.10.0.0"
Dynamic routing is now configured through IGRP.
Type Ctrl-z to exit config mode.
Type "show ip route". Note that routes to all four networks are shown.
LAB # 5B
Part B:To Perform RIP Routing
PERFORMANCE OBJECTIVE
To become familiar with RIP router
EQUIPMENT
Two PC
Two Router with console
Two RJ-45 TO DB-9 adapter
Two RJ-45 TO RJ 45 rollover cable
Before you start, make sure you clear both routers' configuration using the
Router#erase startup-config
command.
First we will configure RouterA, after the router reboots, the following message will be
displayed:
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]
Type no and press ENTER. Press ENTER again when the message Press RETURN to
get started appears. Type enable at the Router> command prompt to enter
Privileged Exec mode, notice the prompt chances to Router#.
Change the host name of the router to Router A using the following command:
Router(config)#hostname Router A
Next, set the password for telnet connections to cisco456 using the following
commands:
Router(config)#line vty 0 4
Router(config-line)#password imad
Router(config-line)#login
The passwords stored in the router's configuration must be encrypted, use the following
command:
Router(config)#service password-encryption
Configure the IP address (see diagram for correct address) for the interface using the
following command:
Router(config-if)#ip address 192.168.11.1 255.255.255.0
Give it the description "Direct connection to RouterB" using the following command:
Configure the IP address (see diagram for correct address) for the interface using the
following command:
Router(config-if)#ip address 192.168.22.5 255.255.255.0
Configure the interface to use PPP encapsulation using the following command:
Router(config-if)#encapsulation ppp
Configure the router to receive and send only RIP Version 2 packets using the following
command:
Router(config-router)#version 2
Use the following commands to specify the networks directly connected to the router:
Router(config-router)#network 192.168.11.0
Router(config-router)#network 192.168.22.0
Change the update timer to 45 seconds, the invalid timer and the holddown timer to
270, and the flush timer to 360 seconds, using the following command:
Router(config-router)#timers-basic 45 270 270 360
On both routers, run the following command in Privileged Exec mode to determine
which device is the DCE:
Router#show controllers s0
On one of the routers, run the following command in Privileged Exec mode to display
the parameters and current state of the active routing protocol process, and examine the
output:
Router#show ip protocols
Use the following command to verify routing table entries on both routers:
Router#show ip route
Use the following command to list a summary of the interface's IP information and
status on both routers, and examine the output:
Router#show ip interface
Use the same command with the brief option, and the notice output:
Router#show ip interface brief