Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 8

COMMANDS USED IN TOPOLOGY(DYNAMIC ROUTING)

1.)Configuring the router 2

a)Router>en

b)Router#(privilege mode)conf t

c) Router(config) #int se0/0/0(port of router 2 are set)

d) Router(config-if)#ip address 192.167.20.3 255.255.255.0(class c)

e) Router(config-if)#clock rate 9600

f) Router(config-if)# no shutdown

g) Router(config-if)#exit

h) Router(config)#ip route 192.167.21.0 255.255.255.0 192.167.20.0


Router(config)#ip route 192.167.24.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.23.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.22.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.25.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.26.0 255.255.255.0 192.167.20.0

( Router 2 is directly connected to network 192.167.20.0 and 192.167.19.0 so there


is no need of setting route for them)

Fast Ethernet Configuration


i)Router(config)# int fa0/0

j)Router(config) #ip address 192.167.19.2 255.255.255.0(Default Gateway)

k)Router(config)#

l)Ctrl-z and wr
Router(config)#router rip

Router(config-router)#network 192.167.20.0

Router(config-router)#network 192.167.19.0

Router(config-router)#exit^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#wr

Building configuration...
[OK]

2.)Configuring the Router 3

a)Router>en

b)Router#(privilege mode)conf t

c) Router(config)#int se0/0/0(port of router 2 are set)

d) Router(config-if)#ip address 192.167.21.2 255.255.255.0(class c)

e) Router(config-if)#clock rate 9600

f) Router(config-if)# no shutdown

g) Router(config-if) #exit

h) Router(config) #int se0/0/1(port of router 3 are set)

Router(config-if) #ip address 192.167.20.2 255.255.255.0(class c)

Router(config-if) # no shutdown

Router(config-if) # exit
i) Router(config)#ip route 192.167.19.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.24.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.23.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.25.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.26.0 255.255.255.0 192.167.20.0

( Router 3 is directly connected to network 192.167.20/21/22.0 so there is no need of


setting route for them)

Fast Ethernet Configuration

i)Router(config) # int fa0/0

j)Router(config)#ip address 192.167.22.2 255.255.255.0(Default Gateway)

k)Router(config)# Ctrl-z and wr

l) All the configuration are saved before exiting

Router(config)#router rip

Router(config-router)#network 192.167.20.0

Router(config-router)#network 192.167.22.0

Router(config-router)#network 192.167.21.0

Router(config-router)#exit^Z

%SYS-5-CONFIG_I: Configured from console by console


Router#wr

Building configuration...

[OK]
3.)Configuring the Router 4

a)Router>en

b)Router#(privilege mode)conf t

c) Router(config) #int se0/0/1(port of router 2 are set)

d) Router(config-if) #ip address 192.167.23.2 255.255.255.0(class c)

e) Router(config-if)#clock rate 9600

f) Router(config-if)# no shutdown

g) Router(config-if)#exit

h) Router(config) #int se0/0/0(port of router 3 are set)

Router(config-if)#ip address 192.167.21.3 255.255.255.0(class c)

Router(config-if)# no shutdown

Router(config-if)#exit

i) Router(config)#ip route 192.167.19.0 255.255.255.0 192.167.20.0


Router(config #ip route 192.167.20.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.22.0 255.255.255.0 192.167.20.0
Router(config)#ip route 192.167.25.0 255.255.255.0 192.167.20.0

( Router 4 is directly connected to network 192.167.21/23/24/26.0 so there is no


need of setting route for them)
Fast Ethernet Configuration
i)Router(config)# int fa0/0

j)Router(config)#ip address 192.167.24.1 255.255.255.0(Default Gateway)

i)Router(config)# int fa0/1


j)Router(config) #ip address 192.167.26.1 255.255.255.0(Default Gateway)

k)Router(config) # Ctrl-z and wr

Router(config)#router rip

Router(config-router)#network 192.167.26.0

Router(config-router)#network 192.167.24.0

Router(config-router)#network 192.167.23.0

Router(config-router)#network 192.167.21.0

Router(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#wr

Building configuration...

[OK]

l) All the configuration are saved before exiting

4.)Configuring the Router 5

a)Router>en

b)Router#(privilege mode)conf t

c) Router(config) #int se0/0/0(port of router 3 are set)

d) Router(config-if) #ip address 192.167.21.3 255.255.255.0(class c)

e) Router(config-if) # no shutdown
f) Router(config-if) # exit

g) Router(config#)ip route 192.167.19.0 255.255.255.0 192.167.20.0


Router(config#)ip route 192.167.20.0 255.255.255.0 192.167.20.0
Router(config) #ip route 192.167.21.0 255.255.255.0 192.167.20.0
Router(config) #ip route 192.167.22.0 255.255.255.0 192.167.20.0
Router(config) #ip route 192.167.26.0 255.255.255.0 192.167.20.0

( Router 5 is directly connected to network 192.167.23/25.0 so there is no need of


setting route for them)
Fast Ethernet Configuration
h)Router(config) # int fa0/0

i)Router(config) #ip address 192.167.25.1 255.255.255.0(Default Gateway)

j)Router(config) # Ctrl-z and wr

k) All the configuration are saved before exiting

Router(config)#router rip

Router(config)#version 2

Router(config-router)#network 192.167.25.0

Router(config-router)#network 192.167.23.0

Router(config-router)#^Z

%SYS-5-CONFIG_I: Configured from console by console

Router#wr

Building configuration...
[OK]
Commands for checking the communication

PING command is used

In topology if we want to commumicate with from PC0 to PC7 then the following

Command is used

ping 192.167.25.3

now reply will come as

Pinging 192.167.25.3 with 32 bytes of data:

Reply from 192.167.25.3: bytes=32 time=172ms TTL=124


Reply from 192.167.25.3: bytes=32 time=219ms TTL=124
Reply from 192.167.25.3: bytes=32 time=188ms TTL=124
Reply from 192.167.25.3: bytes=32 time=158ms TTL=124

Ping statistics for 192.167.25.3:


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

This means every route of this topology is working and replying back with no loss of

packets.If there is some

problem in the network or configuration the message will be of ICMP Group i.e

i)Request timed out .

ii)Destination host unreachable.

Problem may be in

a)Routing is not done properly .

b)Router interfaces are not set properly.

You might also like