Department of Software Engineering
University of Engineering and Technology Taxila
Subject: Computer Communication and Networks (SE-307) 6th Semester
Practical Mid Term Examination Total marks: 20
Roll No. 17-SE-23 (Amina Zafar) Time allowed: 1 Week
Note: Late assignment will not be accepted at any reason.
CLO # Description
CLO: 1 Apply the knowledge for solving problems of varying complexities.
Task: The network shown below is a small network consisting of 3 routers and 2 hosts. Each
connection to a router has its own network segment and this is shown in the diagram.
Perform Dynamic Routing in Packet tracer. Configure RIP version 2 protocol on routers for
the networks specified in the given topology. Show all routes using appropriate
commands. Make a report and attach the results of all commands in report.
Solution
First Find the Addressing table for PC and routers connections:
Default
Device Interface IP Address Subnet Mask
Gateway
Fa 0/0 [Link] [Link]
R1
S0/0/0 [Link] [Link]
Serial0/0/0 [Link] [Link]
R2
Serial 0/0/1 [Link] [Link]
R3 Fa0/0 [Link] [Link]
Serial 0/0/0 [Link] [Link]
PC0 NIC [Link] [Link] [Link]
PC1 NIC [Link] [Link] [Link]
Assign these ip addresses to PC devices and routers that is given as below steps
1. Step 1: Create Network: Connect the routers and PC devices through cable
i. Step 1: Assign the serial port to Router1
ii. Step 2: Assign the serial port to Router2
Step 3: Assign serial port to Router3
After that connections, network is created as below
2. Step 2: Assign IP addresses to Routers
Router1 Fa0/0
Router1 S0/0/0
Router2 S 0/0/0
Router2 S 0/0/1
Router3 Fa0/0
Router3 Serial0/0/0
3. Step 3 : Assign IP addresses to PC
Host A as PC0 and Host B as PC1 in this task
PC1
Set the bandwidth of Router1 Serial0/0//0
Router2 Serial 0/0/1
After assigning ip address to routers and PC devices, network setup look like as shown below:
4. Step 4: Verify that IP addresses are active
Router1
Router2
Router3
5. Step 5: Configration of rip
Router1
Router2
Router3
6. Step 6: copy running-configration file and show startup config
Router1
For Router2
Router3
To verify the setup we will use ping command. ping command is used to test the connectivity
between two devices.
Access the command prompt of PC0 and use ping command to test the connectivity from PC1.
v
Same as with PC1
Used Command on Router1: show ip protocols
Used command on Router1: show ip route
Used command on Router1: show ip rip database
Used Command on Router2: show ip protocols
Used Command on Router2: show ip route
Used commands on Router2: show ip rip database
Used commands on Router3: show ip protocols
Used commands on Router3: show ip route
Used commands on Router3: show ip rip database
Used command on Router1: debug ip rip
And up to so on values are generated with router1
Used command on Router2: debug ip rip
And up to so on values are generated with router2
Used command on Router3: debug ip rip
And up to so on values are generated with router3