CNL (Lab-9) - RIP

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Course Code: CSE314

Course Name: Computer Networks Lab


Lab Report: 09

Course Teacher: Submitted By


Mr. Narayan Ranjan Chakraborty Md. Iftekhar Rahman Likhan

Associate Head & Professor ID: 213-15-4243


Department of CSE Section: 60_B
Department of CSE
Daffodil International Daffodil International
University University

Date of Submission: 18/11/2023


▪ Title: Configuring networks using RIP

▪ Equipments:
● End Devices (8)
⮚ PC (8)
● Connecting Device (9)
⮚ Router-PT (6)
⮚ Switch-PT (3)
● Connection Type:
⮚ Copper Straight Through
⮚ Copper Cross Over
⮚ Serial DCE

▪ Topology:
▪ Configuration:

⮚ PC-No:

PC No IP Subnet Mask Gateway

0 198.168.10.2 255.255.255.0 198.168.10.1

1 198.168.10.3

2 198.168.10.4

3 198.168.30.2 255.255.255.0 198.168.30.1

4 198.168.30.3

5 198.168.30.4

6 198.168.30.2 255.255.255.0 198.168.30.1

7 198.168.30.3
⮚ Router:
Router Port Connected to Subnet Mask
0 Fa0/0 192.168.10.1 255.255.255.0

Se2/0 172.16.1.1 255.255.255.0

Se3/0 30.30.20.2 255.0.0.0

1 Fa0/0 192.168.20.1 255.255.255.0

Fa1/0 192.168.5.1 255.255.255.0

Se2/0 172.16.1.2 255.255.255.0

Se3/0 40.0.0.1 255.0.0.0

2 Fa0/0 192.168.5.2 255.255.255.0

Se2/0 30.30.20.1 255.0.0.0

Se3/0 50.0.0.1 255.0.0.0

3 Fa0/0 192.168.50.2 255.255.255.0

Fa1/0 192.168.40.2 255.255.255.0

Se2/0 50.0.0.2 255.0.0.0

Se3/0 40.0.0.2 255.0.0.0

4 Fa0/0 192.168.50.1 255.255.255.0

Fa1/0 192.168.30.1 255.255.255.0

5 Fa0/0 192.168.40.1 255.255.255.0


▪ Command:

⮚ Router-0 Configuration:
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed
state to up
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#ip address 172.16.1.1 255.255.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial3/0
Router(config-if)#ip address 30.30.20.2 255.0.0.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#ip address 172.16.1.1 255.255.255.0
⮚ Router-1 Configuration:
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed
state to up
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#ip address 172.16.1.2 255.255.0.0
Router(config-if)#ip address 172.16.1.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#interface Serial3/0
Router(config-if)#clock rate 72000
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state
to up
clock rate 64000
Router(config-if)#no ip address
Router(config-if)#ip address 40.0.0.1 255.0.0.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial3/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet1/0
Router(config-if)#ip address 192.168.5.1 255.255.255.0
Router(config-if)#no shutdown

⮚ Router-2 Configuration:
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.5.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed
state to up
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#ip address 30.30.20.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#interface Serial3/0
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state
to up
ip address 50.0.0.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
⮚ Router-3 Configuration:
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.5.2 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed
state to up
Router(config-if)#exit
Router(config)#interface Serial2/0
Router(config-if)#ip address 30.30.20.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#interface Serial3/0
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state
to up
ip address 50.0.0.1 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown

⮚ Router-4 Configuration:
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.40.1 255.255.255.0
Router(config-if)#no shutdown

⮚ Router-5 Configuration:
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.50.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#interface FastEthernet1/0
Router(config-if)#ip address 192.168.30.1 255.255.255.0
Router(config-if)#no shutdown

ROUTING
● Router 0:

Router(config)#router rip
Router(config-router)#network 192.168.10.0
Router(config-router)#network 172.16.1.0
Router(config-router)#network 30.30.20.2

● Router 1:

Router(config)#router rip
Router(config-router)#network 192.168.20.0
Router(config-router)#network 172.16.1.0
Router(config-router)#network 40.0.0.0
Router(config-router)#network 192.168.5.0
● Router 2:

Router(config)#router rip
Router(config-router)#network 30.0.0.0
Router(config-router)#network 192.168.5.0
Router(config-router)#network 50.0.0.0

● Router 3:

Router(config)#router rip
Router(config-router)#network 40.0.0.0
Router(config-router)#network 50.0.0.0
Router(config-router)#network 192.168.50.0
Router(config-router)#network 192.168.40.0

● Router 4:

Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 192.168.40.0

● Router 5:

Router(config)#router rip
Router(config-router)#network 192.168.50.0
Router(config-router)#network 192.168.30.0
▪ Result:
⮚ PC-1 to PC-6 :

⮚ PC-6 to PC-1 :
▪ Comment: This is a practice problem on RIP. RIP is a dynamic
routing method that automatically finds path to the destination

You might also like