0% found this document useful (0 votes)
9 views8 pages

Experiment 6

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views8 pages

Experiment 6

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

EXPERIMENT NO.

-6

TITLE : To configure 3 Desktops through 3 Routers and Switch in different Network using
dynamic routing (scenario is given below).

59 | P a g e
ROUTER CONFIGURATION

In 1st Router:

Router>
Router>enable
Router# show running-config
Router#config terminal
Router(config)#hostname ECE-01
ECE-01(config)#enable password test123
ECE-01(config)#enable secret admin123
ECE-01(config)#line console 0
ECE-01(config-line)#password pass123
ECE-01(config-line)#login
ECE-01(config-line)#exec-timeout 5 30
ECE-01(config-line)#line vty 0 4
ECE-01(config-line)#password pass123
ECE-01(config-line)#login
ECE-01(config-line)#exit
ECE-01(config)#interface fa0/0
ECE-01(config-if)#ip address 192.168.1.1 255.255.255.0
ECE-01(config-if)#no shutdown
ECE-01(config-if)#exit
ECE-01(config)#interface Se2/0
ECE-01(config-if)#ip address 10.0.1.1 255.255.255.0
ECE-01(config-if)#no shutdown
ECE-01(config-if)#exit
ECE-01(config)#ip route rip
ECE-01(config-router)#ver 2
ECE-01(config-router)#net 192.168.1.0
ECE-01(config-router)#net 10.0.1.0
ECE-01(config-router)#exit
ECE-01(config)#exit
ECE-01#sh run
ECE-01#copy running-config startup-config
ECE-01#exit
ECE-01>

In 2nd Router:

Router>
Router>enable
Router# show running-config
Router#config terminal
Router(config)#hostname ECE-02

60 | P a g e
ECE-02(config)#enable password test123
ECE-02(config)#enable secret admin123
ECE-02(config)#line console 0
ECE-02(config-line)#password pass123
ECE-02(config-line)#login
ECE-02(config-line)#exec-timeout 5 30
ECE-02(config-line)#line vty 0 4
ECE-02(config-line)#password pass123
ECE-02(config-line)#login
ECE-02(config-line)#exit
ECE-02(config)#interface fa0/0
ECE-02(config-if)#ip address 192.168.2.1 255.255.255.0
ECE-02(config-if)#no shutdown
ECE-02(config-if)#exit
ECE-02(config)#interface Se2/0
ECE-02(config-if)#ip address 10.0.1.2 255.255.255.0
ECE-02(config-if)#no shutdown
ECE-02(config-if)#exit
ECE-02(config)#interface Se3/0
ECE-02(config-if)#ip address 10.0.2.1 255.255.255.0
ECE-02(config-if)#no shutdown
ECE-02(config-if)#exit
ECE-02(config)#router rip
ECE-02(config-router)#ver 2
ECE-02(config-router)#net 192.168.2.0
ECE-02(config-router)#net 10.0.1.0
ECE-02(config-router)#net 10.0.2.0
ECE-02(config-router)#exit
ECE-02(config)#exit
ECE-02#sh run
ECE-02#copy running-config startup-config
ECE-02#exit
ECE-02>

In 3rd Router:

Router>
Router>enable
Router# show running-config
Router#config terminal
Router(config)#hostname ECE-03
ECE-03(config)#enable password test123
ECE-03(config)#enable secret admin123
ECE-03(config)#line console 0
ECE-03(config-line)#password pass123
ECE-03(config-line)#login

61 | P a g e
ECE-03(config-line)#exec-timeout 5 30
ECE-03(config-line)#line vty 0 4
ECE-03(config-line)#password pass123
ECE-03(config-line)#login
ECE-03(config-line)#exit
ECE-03(config)#interface fa0/0
ECE-03(config-if)#ip address 192.168.3.1 255.255.255.0
ECE-03(config-if)#no shutdown
ECE-03(config-if)#exit
ECE-03(config)#interface Se2/0
ECE-03(config-if)#ip address 10.0.2.2 255.255.255.0
ECE-03(config-if)#no shutdown
ECE-03(config-if)#exit
ECE-03(config)#router rip
ECE-03(config-router)#ver 2
ECE-03(config-router)#net 192.168.3.0
ECE-03(config-router)#net 10.0.2.0
ECE-03(config-router)#exit
ECE-03(config)#exit
ECE-03#sh run
ECE-03#copy running-config startup-config
ECE-03#exit
ECE-03>

62 | P a g e
DESKTOP CONFIGURATION
st
1 Desktop (PC1)

2nd Desktop (PC2)

63 | P a g e
3rd Desktop (PC3)

FINAL OBSERVATION
From Desktop 1(PC1)

PC>ping 192.168.2.100
Pinging 192.168.2.100 with 32 bytes of data:

Reply from 192.168.2.100: bytes=32 time=20ms TTL=255


Reply from 192.168.2.100: bytes=32 time=10ms TTL=255
Reply from 192.168.2.100: bytes=32 time=0ms TTL=255
Reply from 192.168.2.100: bytes=32 time=0ms TTL=255

Ping statistics for 192.168.2.100:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 20ms, Average = 7ms

PC>
PC>ping 192.168.3.100
Pinging 192.168.3.100 with 32 bytes of data:

Reply from 192.168.3.100: bytes=32 time=13ms TTL=128


Reply from 192.168.3.100: bytes=32 time=0ms TTL=128
Reply from 192.168.3.100: bytes=32 time=0ms TTL=128
Reply from 192.168.3.100: bytes=32 time=0ms TTL=128

64 | P a g e
Ping statistics for 192.168.3.100:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 13ms, Average = 3ms
PC>

From Desktop 2(PC2)

PC>ping 192.168.1.100
Pinging 192.168.1.100 with 32 bytes of data:

Reply from 192.168.1.100: bytes=32 time=20ms TTL=255


Reply from 192.168.1.100: bytes=32 time=10ms TTL=255
Reply from 192.168.1.100: bytes=32 time=0ms TTL=255
Reply from 192.168.1.100: bytes=32 time=0ms TTL=255

Ping statistics for 192.168.1.100:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 20ms, Average = 7ms

PC>
PC>ping 192.168.3.100
Pinging 192.168.3.100 with 32 bytes of data:

Reply from 192.168.3.100: bytes=32 time=13ms TTL=128


Reply from 192.168.3.100: bytes=32 time=0ms TTL=128
Reply from 192.168.3.100: bytes=32 time=0ms TTL=128
Reply from 192.168.3.100: bytes=32 time=0ms TTL=128

Ping statistics for 192.168.3.100:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 13ms, Average = 3ms
PC>

From Desktop 3(PC3)

PC>ping 192.168.1.100
Pinging 192.168.1.100 with 32 bytes of data:

Reply from 192.168.1.100: bytes=32 time=13ms TTL=128


Reply from 192.168.1.100: bytes=32 time=0ms TTL=128
Reply from 192.168.1.100: bytes=32 time=0ms TTL=128
Reply from 192.168.1.100: bytes=32 time=0ms TTL=128

65 | P a g e
Ping statistics for 192.168.1.100:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 13ms, Average = 3ms
PC>
PC>ping 192.168.2.100
Pinging 192.168.2.100 with 32 bytes of data:

Reply from 192.168.2.100: bytes=32 time=20ms TTL=255


Reply from 192.168.2.100: bytes=32 time=10ms TTL=255
Reply from 192.168.2.100: bytes=32 time=0ms TTL=255
Reply from 192.168.2.100: bytes=32 time=0ms TTL=255

Ping statistics for 192.168.2.100:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 20ms, Average = 7ms

PC>
Hence, User can interconnect between Desktop-1, 2, & 3 and vice-versa using dynamic
RIPv2 protocol.

66 | P a g e

You might also like