In this lab, we will configure three Cisco routers. We will enable these routers for dynamic routing using the Rip protocol.
To setup routers, we will assign IP address to the router interfaces. It’s the best practice to give a unique name to the router, as well as giving a description to the interfaces of the routers.
To enable the routing between routers we will use a basic routing protocol called Rip. After implementing the Rip protocol on all routers, we can look into the routing table of every router to check if it has learned the routes with the help of Rip protocol. We can check the routing table using the command ‘show IP route’.
We will also disable auto summarization of the routes in routing table by using the command ‘no auto summary’.
Also, we will setup MOTD banner on all the routers.
Lab Tasks
- assign IP address the router interfaces
- enable rip protocol and disable auto summarization
- set router 0 name as Arizona, router 1 as Virginia, router 2 as NY
- Set description of the interfaces as follow
fa 0/0 interface of router 0 – connection to headquarter
fa 0/0 of router 1 – connection to branch 1
se 2/0 of router 1 – connection to branch 2
se 2/0 of router 2 – connection to headquarter
5. Set MOTD on all routers to —- UNAUTHORIZED ACCESS IS NOT ALLOWED —-
Lab Configuration
Task 1
router 0
Router(config)#in fa 0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no sh
router 1
Router(config)#in fa 0/0
Router(config-if)#ip add 192.168.1.2 255.255.255.0
Router(config-if)#no sh
Router(config-if)#in se 2/0
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#clock rate 56000
router 2
Router(config)#in se 2/0
Router(config-if)#ip add 192.168.2.2 255.255.255.0
Router(config-if)# no sh
Task 2
router 0
Router(config)#router rip
Router(config-router)#ver 2
Router(config-router)#network 192.168.1.0
Router(config-router)#no auto-summary
Router 1
Router(config)#router rip
Router(config-router)#ver 2
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router(config-router)#no auto-summary
router 2
Router(config)#router rip
Router(config-router)#ver 2
Router(config-router)#network 192.168.2.0
Router(config-router)#no auto-summary
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Task 3
router 0
Router(config)#hostname Arizona
router 1
Router(config)#hostname Virginia
router 2
Router(config)#hostname NY
Task 4
router 0
Router(config)#in fa 0/0
Router(config-if)#description connection to headquarter
router 1
Router(config)#in fa 0/0
Router(config-if)#description connection to branch 1
Router(config)#in se 2/0
Router(config-if)#description connection to branch 2
router 2
Router(config)#in se 2/0
Router(config-if)#description connection to headquarter
Task 5
On all routers
Router(config)#banner motd / —- UNAUTHORIZED ACCESS IS NOT ALLOWED —- /