You are on page 1of 5

CCN LAB REPORT # 09

16-CP-07(M BASHIR REHAN)

OCTOBER 26, 2018


DEPARTMENT OF COMPUTER ENGINEERING
UET TAXILA
ROUTING PROTPCOL
LAB REPORT #09
LAB OBJECTIVES:
 To understand the concept of OSPF and EIGRP routing.
 To configure the router according to OSPF & EIGRP schemes of dynamic routing.
 To test the connectivity of the network model.

PROCEDURE:
STEPS:
 I designed the following Network model:

 Then I configured the router in OSPF mode:


Syntax:
Router(config)# router ospf process_ID
Router(config-router)# network network_id wildcard_mask area area_#

Implementation:

Firstly, assign ip addresses to the ports of the router 1 and 2 using following commands:
Router01>enable
Router01#configure terminal
Router01#int fa 0/0 ip address 192.168.2.1 255.255.255.0

Router01#int se 2/0 ip address 192.168.3.1 255.255.255.0


Go in global configuration mode and configure router 1 with the help of following
command, to assign dynamic routes.
Router01>enable
Router01#configure terminal

Router01(config)#router ospf 1
Router01(config-router)#network 192.168.2.0 0.0.0.255 area 1
Router01(config-router)#network 192.168.3.0 0.0.0.255 area 1
Router01(config-router)#exit
Router01(config)#exit

Now,assign ip addresses to ports of second router:

Router02>enable
Router02#configure terminal
Router02#int fa 0/0 ip address 192.168.1.1 255.255.255.0

Router02#int se 2/0 ip address 192.168.3.2 255.255.255.0

Now, configure second router using ospf:


Router01>enable
Router01#configure terminal

Router01(config)#router ospf 1
Router01(config-router)#network 192.168.1.0 0.0.0.255 area 1
Router01(config-router)#network 192.168.3.0 0.0.0.255 area 1
Router01(config-router)#exit
Router01(config)#exit

 Then I configured the router in EIGRP mode:


Syntax:
Router(config)# router eigrp ASN
Router(config-router)# network Network_ID

Implementation:

Firstly, assign ip addresses to the ports of the router 1 and 2 using following commands:
Router01>enable
Router01#configure terminal
Router01#int fa 0/0 ip address 192.168.2.1 255.255.255.0

Router01#int se 2/0 ip address 192.168.3.1 255.255.255.0


Go in global configuration mode and configure router 1 with the help of following
command, to assign dynamic routes.
Router01>enable
Router01#configure terminal

Router01(config)#router eigrp 1
Router01(config-router)#network 192.168.2.0
Router01(config-router)#network 192.168.3.0
Router01(config-router)#exit
Router01(config)#exit

Now,assign ip addresses to ports of second router:

Router02>enable
Router02#configure terminal
Router02#int fa 0/0 ip address 192.168.1.1 255.255.255.0

Router02#int se 2/0 ip address 192.168.3.2 255.255.255.0

In the IOS "network" command, shown below, we specify only the directly connected networks of this router.

Router01>enable
Router01#configure terminal

Router01(config)#router eigrp 1
Router01(config-router)#network 192.168.1.0
Router01(config-router)#network 192.168.3.0
Router01(config-router)#exit
Router01(config)#exit

 Then I tested the connectivity using ping command:


SUMMARY:
This lab was oriented towards the basic understanding of dynamic routing. We configured the
routers for OSPF & EIGRP scheme of dynamic routing, that works on the link state.in this
scheme every router share its routing table to its neighbor in every 30 minutes.and check for any
change in the network by following hello Protocol after every 10 seconds.In this way the whole
routing table is updated and maintained in case of addition of a network, or breakage of an
existing link. We tested the connectivity by using ping command.

You might also like