COMMANDS USED IN TOPOLOGY

Embed Size (px)

Citation preview

  • 8/8/2019 COMMANDS USED IN TOPOLOGY

    1/9

    COMMANDS USED IN TOPOLOGY(DYNAMICROUTING)

    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.0192.167.20.0

    Router(config)#ip route 192.167.24.0 255.255.255.0192.167.20.0

    Router(config)#ip route 192.167.23.0 255.255.255.0192.167.20.0

    Router(config)#ip route 192.167.22.0 255.255.255.0192.167.20.0

    Router(config)#ip route 192.167.25.0 255.255.255.0192.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 and192.167.19.0 so there is no need of setting route for them)

    Fast Ethernet Configurationi)Router(config)# int fa0/0

  • 8/8/2019 COMMANDS USED IN TOPOLOGY

    2/9

    j)Router(config) #ip address 192.167.19.2255.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 consoleRouter#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

  • 8/8/2019 COMMANDS USED IN TOPOLOGY

    3/9

    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.0Router(config)#ip route 192.167.24.0 255.255.255.0

    192.167.20.0Router(config)#ip route 192.167.23.0 255.255.255.0

    192.167.20.0Router(config)#ip route 192.167.25.0 255.255.255.0

    192.167.20.0Router(config)#ip route 192.167.26.0 255.255.255.0

    192.167.20.0

    ( Router 3 is directly connected to network192.167.20/21/22.0 so there is no need of setting route forthem)

    Fast Ethernet Configuration

    i)Router(config) # int fa0/0

    j)Router(config)#ip address 192.167.22.2255.255.255.0(Default Gateway)

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

    l) All the configuration are saved before exiting

  • 8/8/2019 COMMANDS USED IN TOPOLOGY

    4/9

    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 consoleRouter#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.2255.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)

  • 8/8/2019 COMMANDS USED IN TOPOLOGY

    5/9

    Router(config-if)#ip address 192.167.21.3255.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.0192.167.20.0

    Router(config #ip route 192.167.20.0 255.255.255.0192.167.20.0

    Router(config)#ip route 192.167.22.0 255.255.255.0192.167.20.0

    Router(config)#ip route 192.167.25.0 255.255.255.0192.167.20.0

    ( Router 4 is directly connected to network192.167.21/23/24/26.0 so there is no need of setting routefor them)Fast Ethernet Configurationi)Router(config)# int fa0/0

    j)Router(config)#ip address 192.167.24.1255.255.255.0(Default Gateway)

    i)Router(config)# int fa0/1

    j)Router(config) #ip address 192.167.26.1255.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

  • 8/8/2019 COMMANDS USED IN TOPOLOGY

    6/9

    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 consoleRouter#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.3255.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.0192.167.20.0

    Router(config#)ip route 192.167.20.0 255.255.255.0192.167.20.0

    Router(config) #ip route 192.167.21.0 255.255.255.0192.167.20.0

  • 8/8/2019 COMMANDS USED IN TOPOLOGY

    7/9

    Router(config) #ip route 192.167.22.0 255.255.255.0192.167.20.0

    Router(config) #ip route 192.167.26.0 255.255.255.0192.167.20.0

    ( Router 5 is directly connected to network 192.167.23/25.0so there is no need of setting route for them)Fast Ethernet Configurationh)Router(config) # int fa0/0

    i)Router(config) #ip address 192.167.25.1255.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

  • 8/8/2019 COMMANDS USED IN TOPOLOGY

    8/9

    PING command is used

    In topology if we want to commumicate with from PC0 to PC7then 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=124Reply from 192.167.25.3: bytes=32 time=188ms TTL=124Reply 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 andreplying back with no loss of

    packets.If there is some

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

    i)Request timed out .

    ii)Destination host unreachable.

    Problem may be in

  • 8/8/2019 COMMANDS USED IN TOPOLOGY

    9/9

    a)Routing is not done properly .

    b)Router interfaces are not set properly.