8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

  • Upload
    asdfjkl

  • View
    27

  • Download
    1

Embed Size (px)

Citation preview

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    1/15

    Lab Testing Network Connectivity with Ping and Traceroute

    Topology

    Addressing Table

    Device Interface IP Address ubnet !ask Default "ateway

    LOCAL G0/1 192.168.1.1 255.255.255.0 N/A

    S0/0/0 (DCE) 10.1.1.1 255.255.255.252 N/A

    ISP S0/0/0 10.1.1.2 255.255.255.252 N/A

    S0/0/1 (DCE) 10.2.2.2 255.255.255.252 N/A

    REMOTE G0/1 192.168.3.1 255.255.255.0 N/A

    S0/0/1 10.2.2.1 255.255.255.252 N/A

    S1 VLAN 1 192.168.1.11 255.255.255.0 192.168.1.1

    S3 VLAN 1 192.168.3.11 255.255.255.0 192.168.3.1

    PC-A NIC 192.168.1.3 255.255.255.0 192.168.1.1

    PC-C NIC 192.168.3.3 255.255.255.0 192.168.3.1

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* #" #$

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    2/15

    Lab Testing Network Connectivity with Ping and Traceroute

    %b&ectives

    Part #' (uild and Configure the Network

    C#* ',* $*'"&.

    C"$i+&* ',* PC.

    C"$i+&* ',* &"'*&.

    C"$i+&* ',* i'!,*.

    Part )' *se Ping Co++and for (asic Network Testing

    * 4i$+ &" # PC.

    * 4i$+ &" Ci!" %*i!*.

    Part ,' *se Tracert and Traceroute Co++ands for (asic Network Testing

    * '!*&' &" # PC.

    * '!*&"'* &" Ci!" %*i!*.

    Part -' Troubleshoot the Topology

    (ackground . cenario

    Pi$+ #$% '!*&"'* #&* '" '"" ',#' #&* i$%i4*$#* ,*$ '*'i$+ TCP/IP $*'"& !"$$*!'ii'. Pi$+ i #$*'"& #%i$i''i"$ 'ii' *% '" '*' ',* &*#!,#ii' " # %*i!* "$ #$ IP $*'"&. T,i 'ii' #"*#&* ',* &"$%-'&i4 'i* "& *#+* *$' &" ',* "&i+i$#'i$+ ,"' '" # %*'i$#'i"$ !"4'*&. T,* 4i$+'ii' i ##i#* "$ i$%"7 $i-i* "4*'i$+ '* (OS)7 #$% ',* Ci!" I$'*&$*'"& O4*'i$+S'* (IOS).

    T,* '!*&"'* 'ii' i # $*'"& %i#+$"'i! '"" "& %i4#i$+ ',* &"'* #$% *#&i$+ ',* '$i' %*# "4#!*' '*i$+ #$ IP $*'"&. T,* '!*&' 'ii' i ##i#* "$ i$%"7 #$% # ii#& 'ii'7 '!*&"'*7 i##i#* "$ $i-i* OS #$% Ci!" IOS.

    I$ ',i #7 ',* ping#$% traceroute!"#$% #&* *#i$*% #$% !"#$% "4'i"$ #&* *4"&*% '" "%i',* !"#$% *,#i"&. Ci!" %*i!* #$% PC #&* *% i$ ',i # "& !"#$% *4"'i"$. Ci!" &"'*&i * E$,#$!*% I$'*&i"& G#'*# R"'i$+ P&"'"!" (EIGRP) '" &"'* 4#!*' *'**$ $*'"&. T,*$*!*#& Ci!" %*i!* !"$i+'i"$ #&* 4&"i%*% i$ ',i #.

    Note T,* &"'*& *% i', CCNA ,#$%-"$ # #&* Ci!" 19:1 I$'*+'*% S*&i!* R"'*& (ISR) i',Ci!" IOS R**#* 15.2(:)M3 ($i* i#+*). T,* i'!,* *% #&* Ci!" C#'#' 2960 i', Ci!"IOS R**#* 15.0(2) (#$#*9 i#+*). O',*& &"'*&7 i'!,* #$% Ci!" IOS *&i"$ !#$ * *%.D*4*$%i$+ "$ ',* "%* #$% Ci!" IOS *&i"$7 ',* !"#$% ##i#* #$% "'4' 4&"%!*% i+,' #&&" ,#' i ,"$ i$ ',* #. R**& '" ',* R"'*& I$'*!* S#& T#* #' ',* *$% " ',i # "& ',*!"&&*!' i$'*!* i%*$'ii*&.

    Note M#* &* ',#' ',* &"'*& #$% i'!,* ,#* **$ **% #$% ,#* $" '#&'4 !"$i+'i"$. I "#&* $&*7 !"$'#!' "& i$'&!'"&.

    /e0uired /esources

    3 R"'*& (Ci!" 19:1 i', Ci!" IOS R**#* 15.2(:)M3 $i* i#+* "& !"4#*)

    2 Si'!,* (Ci!" 2960 i', Ci!" IOS R**#* 15.0(2) #$#*9 i#+* "& !"4#*)

    2 PC (i$%" ;7 Vi'#7 "&

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    3/15

    Lab Testing Network Connectivity with Ping and Traceroute

    tep #'(uild and Configure the Network

    I$ P#&' 17 " i *' 4 ',* $*'"& i$ ',* '"4""+ #$% !"$i+&* ',* PC #$% Ci!" %*i!*. T,* i$i'i#!"$i+'i"$ "& ',* &"'*& #$% i'!,* #&* 4&"i%*% "& "& &**&*$!*. I$ ',i '"4""+7 EIGRP i *% '"&"'* 4#!*' *'**$ $*'"&.

    a1 Cable the network as shown in the topology1

    b1 2rase the configurations on the routers and switches3 and reload the devices1

    c1 Configure PC IP addresses and default gateways according to the Addressing Table1

    d1 Configure the L%CAL3 IP3 and /2!%T2 routers using the initial configurations provided

    below1

    A' ',* i'!, "& &"'*& +"# !"$i+ "%* 4&"4'7 !"4 #$% 4#'* ',* !"$i+'i"$ "& *#!, %*i!*. S#* ',*!"$i+'i"$ '" '#&'4-!"$i+.

    Initial configurations for the L%CAL router'

    hostname LOCALno ip domain-lookup

    interface s0/0/0

    ip address 10.1.1.1 255.255.255.252

    clock rate 56000

    no shutdown

    interface 0/1

    ip add 1!2.16".1.1 255.255.255.0

    no shutdown

    router eirp 1

    network 10.1.1.0 0.0.0.#

    network 1!2.16".1.0 0.0.0.255

    no auto-summar$

    Initial configurations for IP'

    hostname %&'

    no ip domain-lookup

    interface s0/0/0

    ip address 10.1.1.2 255.255.255.252

    no shutdown

    interface s0/0/1

    ip add 10.2.2.2 255.255.255.252

    clock rate 56000

    no shutdown

    router eirp 1

    network 10.1.1.0 0.0.0.#

    network 10.2.2.0 0.0.0.#

    no auto-summar$

    end

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* ," #$

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    4/15

    Lab Testing Network Connectivity with Ping and Traceroute

    Initial configurations for /2!%T2'

    hostname ()*O+)

    no ip domain-lookup

    interface s0/0/1

    ip address 10.2.2.1 255.255.255.252

    no shutdowninterface 0/1

    ip add 1!2.16".#.1 255.255.255.0

    no shutdown

    router eirp 1

    network 10.2.2.0 0.0.0.#

    network 1!2.16".#.0 0.0.0.255

    no auto-summar$

    end

    e1 Configure the # and , switches with the initial configurations1

    Initial configurations for #'

    hostname &1

    no ip domain-lookup

    interface ,lan 1

    ip add 1!2.16".1.11 255.255.255.0

    no shutdown

    eit

    ip default-atewa$ 1!2.16".1.1

    end

    Initial configurations for ,'

    hostname

    no ip domain-lookup

    interface ,lan 1

    ip add 1!2.16".#.11 255.255.255.0

    no shutdown

    eit

    ip default-atewa$ 1!2.16".#.1

    end

    f1 Configure an IP host table on the L%CAL router1

    T,* IP ,"' '#* #" " '" * # ,"'$#* '" !"$$*!' '" # &*"'* %*i!* ',*& ',#$ #$ IP #%%&*. T,*,"' '#* 4&"i%* $#* &*"'i"$ "& ',* %*i!* i', ',* ""i$+ !"$i+'i"$. C"4 #$% 4#'* ',*""i$+ !"$i+'i"$ "& ',* LOCAL &"'*&. T,* !"$i+'i"$ i #" " '" * ',* ,"'$#* "& ping#$% traceroute!"#$% "$ ',* LOCAL &"'*&.

    ip host ()*O+) 10.2.2.1 1!2.16".#.1

    ip host %&' 10.1.1.2 10.2.2.2

    ip host LOCAL 1!2.16".1.1 10.1.1.1

    ip host 'C-C 1!2.16".#.#

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* -" #$

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    5/15

    Lab Testing Network Connectivity with Ping and Traceroute

    ip host 'C-A 1!2.16".1.#

    ip host &1 1!2.16".1.11

    ip host 1!2.16".#.11

    end

    tep )'*se Ping Co++and for (asic Network TestingI$ P#&' 2 " ',i #7 * ',* ping!"#$% '" *&i *$%-'"-*$% !"$$*!'ii'. Pi$+ "4*'* *$%i$+I$'*&$*' C"$'&" M*#+* P&"'"!" (ICMP) *!," &*=*' 4#!*' '" ',* '#&+*' ,"' #$% ',*$ #i'i$+ "& #$ICMP &*4"$*. I' !#$ &*!"&% ',* &"$% '&i4 'i* #$% #$ 4#!*' ".

    >" i *#i$* ',* &*' i', ',* ping!"#$% #$% ',* #%%i'i"$# 4i$+ "4'i"$ ',#' #&* ##i#* "$i$%"-#*% PC #$% Ci!" %*i!*.

    a1 Test network connectivity fro+ the L%CAL network using PC4A1

    A ',* 4i$+ &" PC-A '" "',*& %*i!* i$ ',* '"4""+ ,"% * !!*. I ',* #&* $"'7 !,*! ',*'"4""+ #$% ',* !#i$+7 # * # ',* !"$i+'i"$ " ',* Ci!" %*i!* #$% ',* PC.

    #. Pi$+ &" PC-A '" i' %*#' +#'*# (LOCAL? Gi+#i'E',*&$*' 0/1 i$'*!*).

    Csersser1ping 192.168.1.1

    'inin 1!2.16".1.1 with #2 $tes of data

    (epl$ from 1!2.16".1.1 $tes3#2 time41ms ++L3255

    (epl$ from 1!2.16".1.1 $tes3#2 time41ms ++L3255

    (epl$ from 1!2.16".1.1 $tes3#2 time41ms ++L3255

    (epl$ from 1!2.16".1.1 $tes3#2 time41ms ++L3255

    'in statistics for 1!2.16".1.1

    'ackets &ent 3 (ecei,ed 3 Lost 3 0 708 loss9

    Approimate round trip times in milli-seconds

    *inimum 3 0ms *aimum 3 0ms A,erae 3 0ms

    I$ ',i *#4*7 "& (:) ICMP &*=*'7 32 '* *#!,7 *&* *$' #$% ',* &*4"$* *&* &*!*i*% i$* ',#$ "$* ii*!"$% i', $" 4#!*' ". T,* '$ii"$ #$% &*4 'i* i$!&*#* # ',* ICMP&*=*' #$% &*4"$* #&* 4&"!**% "&* %*i!* %&i$+ ',* @"&$* '" #$% &" ',* i$#%*'i$#'i"$.

    . &" PC-A7 4i$+ ',* #%%&** i'*% i$ ',* ""i$+ '#* #$% &*!"&% ',* #*+* &"$% '&i4 'i* #$%Ti* '" Li* (TTL).

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* $" #$

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    6/15

    Lab Testing Network Connectivity with Ping and Traceroute

    Destination Average /ound Trip Ti+e 5+s6 TTL

    192.168.1.1 (LOCAL)

    192.168.1.11 (S1)

    10.1.1.1 (LOCAL)

    10.1.1.2 (ISP)

    10.2.2.2 (ISP)

    10.2.2.1 (REMOTE)

    192.168.3.1 (REMOTE)

    192.168.3.11 (S3)

    192.168.3.3 (PC-C)

    N"'i!* ',* #*+* &"$% '&i4 'i* '" 192.168.3.3 (PC-C). T,* 'i* i$!&*#*% *!#* ',* ICMP &*=*'*&* 4&"!**% ',&** &"'*& *"&* PC-A &*!*i*% ',* &*4 &" PC-C.

    Csersser1ping 192.168.3.3

    'inin 1!2.16".#.# with #2 $tes of data

    (epl$ from 1!2.16".#.# $tes3#2 time31ms ++L3125

    (epl$ from 1!2.16".#.# $tes3#2 time31ms ++L3125

    (epl$ from 1!2.16".#.# $tes3#2 time30ms ++L3125

    (epl$ from 1!2.16".#.# $tes3#2 time31ms ++L3125

    'in statistics for 1!2.16".#.#

    'ackets &ent 3 (ecei,ed 3 Lost 3 0 708 loss9

    Approimate round trip times in milli-seconds

    *inimum 3 0ms *aimum 3 1ms A,erae 3 0ms

    b1 *se e7tended ping co++ands on a PC1

    T,* %*#' ping!"#$% *$% "& &*=*' #' 32 '* *#!,. I' #i' :7000 ii*!"$% (: *!"$%) "&*#!, &*4"$* '" * &*'&$*% *"&* %i4#i$+ ',* BR*=*' 'i*% "' *#+*. T,* ping!"#$% !#$ *i$* '$*% "& '&"*,""'i$+ # $*'"&.

    #. A' ',* !"#$% 4&"4'7 '4* ping#$% 4&* E$'*&.

    Csersser1ping

    sae pin :-t; :-a; :-n count; :-l si :-k host-list;;

    :-w timeout; :-(; :-& srcaddr; :-; :-6; taret?name

    Options -t 'in the specified host until stopped.

    +o see statistics and continue - t$pe Control-@reak

    +o stop - t$pe Control-C.

    -a (esol,e addresses to hostnames.

    -n count Bumer of echo reuests to send.

    -l si

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    7/15

    Lab Testing Network Connectivity with Ping and Traceroute

    -i ++L +ime +o Li,e.

    -, +O& +$pe Of &er,ice 7%',-onl$. +his settin has een deprecated

    and has no effect on the t$pe of ser,ice field in the %' Geader9.

    -r count (ecord route for count hops 7%',-onl$9.

    -s count +imestamp for count hops 7%',-onl$9.

    -= host-list Loose source route alon host-list 7%',-onl$9.

    -k host-list &trict source route alon host-list 7%',-onl$9.

    -w timeout +imeout in milliseconds to wait for each repl$.

    -( se routin header to test re,erse route also 7%',6-onl$9.

    -& srcaddr &ource address to use.

    - Force usin %',.

    -6 Force usin %',6.

    . i$+ ',*t"4'i"$7 4i$+ PC-C '" *&i ',#' PC-C i &*#!,#*.

    Csersser1ping t 192.168.3.3

    (epl$ from 1!2.16".#.# $tes3#2 time31ms ++L3125

    (epl$ from 1!2.16".#.# $tes3#2 time30ms ++L3125

    T" i''* ',* &*' ,*$ # ,"' i $&*#!,#*7 %i!"$$*!' ',* !#* *'**$ ',* REMOTE &"'*$% ',* S3 i'!,7 "& ,' %"$ ',* Gi+#i'E',*&$*' 0/1 i$'*!* "$ ',* REMOTE &"'*&.

    (epl$ from 1!2.16".#.# $tes3#2 time31ms ++L3125

    (epl$ from 1!2.16".1.# Destination host unreachale.

    (epl$ from 1!2.16".1.# Destination host unreachale.

    ,i* ',* $*'"& i $!'i"$i$+ !"&&*!'7 ',* ping!"#$% !#$ %*'*&i$* ,*',*& ',* %*'i$#'i"$&*4"$%*% #$% ," "$+ i' '"" '" &*!*i* # &*4 &" ',* %*'i$#'i"$. I # $*'"& !"$$*!'ii' 4&"**i'7 ',* ping!"#$% %i4# #$ *&&"& *#+*.

    !. R*!"$$*!' ',* E',*&$*' !#* "& *$#* ',* Gi+#i'E',*&$*' i$'*!* "$ ',* REMOTE &"'*& (i$+ ',*no shutdown!"#$%) *"&* "i$+ "$'" ',* $*' '*4. A'*& #"' 30 *!"$%7 ',* 4i$+ ,"% *!!* #+#i$.

    (euest timed out.

    (euest timed out.

    (euest timed out.

    (euest timed out.

    (epl$ from 1!2.16".#.# $tes3#2 time31ms ++L3125

    (epl$ from 1!2.16".#.# $tes3#2 time30ms ++L3125

    %. P&* CtrlC'" '"4 ',* 4i$+ !"#$%.

    c1 Test network connectivity fro+ the L%CAL network using Cisco devices1

    T,* ping!"#$% i #" ##i#* "$ Ci!" %*i!*. I$ ',i '*47 ',* ping!"#$% i *#i$*% i$+ ',*LOCAL &"'*& #$% ',* S1 i'!,.

    #. Pi$+ PC-C "$ ',* REMOTE $*'"& i$+ ',* IP #%%&* " 192.168.3.3 &" ',* LOCAL &"'*&.LOCALHping 192.168.3.3

    +$pe escape seuence to aort.

    &endin 5 100-$te %C*' )chos to 1!2.16".#.# timeout is 2 seconds

    IIIII

    &uccess rate is 100 percent 75/59 round-trip min/a,/ma 3 60/6/6" ms

    T,* *!##'i"$ 4"i$' () i$%i!#'* ',#' ',* 4i$+ # !!* &" ',* LOCAL &"'*& '" PC-C. T,*&"$% '&i4 '#* #$ #*+* " 6: i', $" 4#!*' "7 # i$%i!#'*% # 100F !!* '*.

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* 9" #$

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    8/15

    Lab Testing Network Connectivity with Ping and Traceroute

    . *!#* # "!# ,"' '#* # !"$i+&*% "$ ',* LOCAL &"'*&7 " !#$ 4i$+ PC-C "$ ',* REMOTE$*'"& i$+ ',* ,"'$#* !"$i+&*% &" ',* LOCAL &"'*&.

    LOCALHping PC-C

    +$pe escape seuence to aort.

    &endin 5 100-$te %C*' )chos to 1!2.16".#.# timeout is 2 seconds

    IIIII

    &uccess rate is 100 percent 75/59 round-trip min/a,/ma 3 60/6#/6 ms

    !. T,*&* #&* "&* "4'i"$ ##i#* "& ',* ping!"#$%. A' ',* CLI7 '4* ping#$% 4&* E$'*&. I$4'#:)1#8;1,1,"& PC4C"& ',* T#&+*' IP #%%&*. P&* E$'*& '" #!!*4' ',* %*#' #* "& "',*& "4'i"$.

    LOCALHping

    'rotocol :ip;

    +aret %' address PC-C

    (epeat count :5;

    Dataram si

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    9/15

    Lab Testing Network Connectivity with Ping and Traceroute

    T,* *''*& i$ ',* &*' i$%i!#'* ',#' # %*'i$#'i"$ i $&*#!,#*. A$ *&&"& 4&"'"!" %#'# $i' (PD)# &*!*i*% ',* LOCAL &"'*&. E#!, 4*&i"% (.) i$ ',* "'4' i$%i!#'* ',#' ',* 4i$+ 'i*% "' ,i*#i'i$+ "& # &*4 &" PC-C. I$ ',i *#4*7 5F " ',* 4#!*' *&* "' %&i$+ ',* i#'*% $*'"&"'#+*.

    Note >" !#$ #" * ',* ""i$+ !"#$% "& ',* #* &*'

    LOCALHping 192.168.3.3 repeat 500

    "&

    LOCALHping PC-C repeat 500

    *. >" !#$ #" '*' $*'"& !"$$*!'ii' i', # i'!,. I$ ',i *#4*7 ',* S1 i'!, 4i$+ ',* S3 i'!,"$ ',* REMOTE $*'"&.

    &1Hping 192.168.3.11

    +$pe escape seuence to aort.

    &endin 5 100-$te %C*' )chos to 1!2.16".#.11 timeout is 2 seconds

    IIIII

    &uccess rate is 100 percent 75/59 round-trip min/a,/ma 3 6J/6J/6" ms

    T,* ping!"#$% i *'&** * ,*$ '&"*,""'i$+ $*'"& !"$$*!'ii'. H"**&7 4i$+ !#$$"'i$%i!#'* ',* "!#'i"$ " 4&"* ,*$ # 4i$+ i $"' !!*. T,* tracert("& traceroute) !"#$% !#$%i4# $*'"& #'*$! #$% 4#', i$"'i"$.

    tep ,'*se Tracert and Traceroute Co++ands for (asic Network Testing

    T,* !"#$% "& '!i$+ &"'* !#$ * "$% "$ PC #$% $*'"& %*i!*. "& # i$%"-#*% PC7 ',*tracert !"#$% * ICMP *#+* '" '!* ',* 4#', '" ',* i$# %*'i$#'i"$. T,* traceroute!"#$%'ii* ',* *& D#'#+ P&"'"!" (DP) %#'#+ "& '!i$+ &"'* '" ',* i$# %*'i$#'i"$ "& Ci!"%*i!* #$% "',*& $i-i* PC.

    I$ P#&' 37 " i *#i$* ',* '!*&"'* !"#$% #$% %*'*&i$* ',* 4#', ',#' # 4#!*' '* '" i' i$#%*'i$#'i"$. >" i * ',* tracert!"#$% &" ',* i$%" PC #$% ',* traceroute!"#$% &" ',*Ci!" %*i!*. >" i #" *#i$* ',* "4'i"$ ',#' #&* ##i#* "& i$* '$i$+ ',* '!*&"'* &*'.

    a1 *se the tracert co++and fro+ PC4A to PC4C1

    #. A' ',* !"#$% 4&"4'7 '4* tracert #:)1#8;1,1,.

    Csersser1 tracert 192.168.3.3

    +racin route to 'C-C :1!2.16".#.#;

    O,er a maimum of #0 hops

    1 41 ms 41 ms 41 ms 1!2.16".1.1

    2 2 ms 2 ms 2 ms 10.1.1.2

    # " ms " ms " ms 10.2.2.1

    5! ms 5! ms 5! ms 'C-C :1!2.16".#.#;

    +race complete.

    T,* '!*&' &*' i$%i!#'* ',* 4#', &" PC-A '" PC-C i &" PC-A '" LOCAL '" ISP '" REMOTE '"PC-C. T,* 4#', '" PC-C '**% ',&"+, ',&** &"'*& ,"4 '" ',* i$# %*'i$#'i"$ " PC-C.

    b1 27plore additional options for the tracert co++and1

    #. A' ',* !"#$% 4&"4'7 '4* tracert#$% 4&* E$'*&.

    Csersser1 tracert

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* :" #$

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    10/15

    Lab Testing Network Connectivity with Ping and Traceroute

    sae tracert :-d; :-h maimum?hops; :-= host-list; :-w timeout;

    :-(; :-& srcaddr; :-; :-6; taret?name

    Options

    -d Do not resol,e addresses to hostnames.

    -h maimum?hops *aimum numer of hops to search for taret.

    -= host-list Loose source route alon host-list 7%',-onl$9.

    -w timeout Kait timeout milliseconds for each repl$.

    -( +race round-trip path 7%',6-onl$9.

    -& srcaddr &ource address to use 7%',6-onl$9.

    - Force usin %',.

    -6 Force usin %',6.

    . * ',* 4d"4'i"$. N"'i!* ',#' ',* IP #%%&* " 192.168.3.3 i $"' &*"*% # PC-C.

    Csersser1 tracert d 192.168.3.3

    +racin route to 1!2.16".#.# o,er a maimum of #0 hops

    1 41 ms 41 ms 41 ms 1!2.16".1.1

    2 2 ms 2 ms 2 ms 10.1.1.2

    # " ms " ms " ms 10.2.2.1

    5! ms 5! ms 5! ms 1!2.16".#.#

    +race complete.

    c1 *se the traceroute co++and fro+ the L%CAL router to PC4C1

    #. A' ',* !"#$% 4&"4'7 '4* traceroute #:)1#8;1,1,"& traceroute PC4C"$ ',* LOCAL &"'*&. T,*,"'$#* #&* &*"*% *!#* # "!# IP ,"' '#* # !"$i+&*% "$ ',* LOCAL &"'*&.

    LOCALH traceroute 192.168.3.3

    +$pe escape seuence to aort.

    +racin the route to 'C-C 71!2.16".#.#9

    (F info 7,rf in name/id ,rf out name/id9

    1 %&' 710.1.1.29 16 msec 16 msec 16 msec

    2 ()*O+) 710.2.2.19 2" msec #2 msec 2" msec

    # 'C-C 71!2.16".#.#9 #2 msec 2" msec #2 msec

    LOCALH traceroute PC-C

    +$pe escape seuence to aort.

    +racin the route to 'C-C 71!2.16".#.#9

    (F info 7,rf in name/id ,rf out name/id9

    1 %&' 710.1.1.29 16 msec 16 msec 16 msec 2 ()*O+) 710.2.2.19 2" msec #2 msec 2" msec

    # 'C-C 71!2.16".#.#9 #2 msec #2 msec 2" msec

    d1 *se the traceroute co++and fro+ the # switch to PC4C1

    #. O$ ',* S1 i'!,7 '4* traceroute #:)1#8;1,1,. T,* ,"'$#* #&* $"' %i4#*% i$ ',* '!*&"'* &*'*!#* # "!# IP ,"' '#* # $"' !"$i+&*% "$ ',i i'!,.

    &1H traceroute 192.168.3.3

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* #

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    11/15

    Lab Testing Network Connectivity with Ping and Traceroute

    +$pe escape seuence to aort.

    +racin the route to 1!2.16".#.#

    (F info 7,rf in name/id ,rf out name/id9

    1 1!2.16".1.1 100J msec 0 msec 0 msec

    2 10.1.1.2 1J msec 1J msec 16 msec

    # 10.2.2.1 # msec ## msec 26 msec

    1!2.16".#.# ## msec # msec ## msec

    T,* traceroute!"#$% ,# #%%i'i"$# "4'i"$. >" !#$ * ',* ="& @' 4&* E$'*& #'*& '4i$+traceroute#' ',* 4&"4' '" *4"&* ',** "4'i"$.

    T,* ""i$+ i$ 4&"i%* "&* i$"'i"$ &*+#&%i$+ ',* ping#$% traceroute!"#$% "& # Ci!"%*i!*

    ,''4//.!i!".!"/*$/S/4&"%!'//i"&*/41831/4&"%!'J'*!,J$"'*09186#00800#605;.,'

    tep -'Troubleshoot the Topology

    a1 2rase the configurations on the /2!%T2 router1

    b1 /eload the /2!%T2 router1

    c1 Copy and paste the following configuration into the /2!%T2 router1

    hostname ()*O+)

    no ip domain-lookup

    interface s0/0/1

    ip address 10.2.2.1 255.255.255.252

    no shutdown

    interface 0/1

    ip add 1!2.16".".1 255.255.255.0

    no shutdownrouter eirp 1

    network 10.2.2.0 0.0.0.#

    network 1!2.16".#.0 0.0.0.255

    no auto-summar$

    end

    d1 >ro+ the L%CAL network3 use ping and tracert or traceroute co++ands to troubleshoot

    and correct the proble+ on the /2!%T2 network1

    #. * ',* ping#$% tracert!"#$% &" PC-A.

    >" !#$ * ',* tracert!"#$% '" %*'*&i$* *$%-'"-*$% $*'"& !"$$*!'ii'. T,i '!*&' &*'i$%i!#'* ',#' PC-A !#$ &*#!, i' %*#' +#'*# " 192.168.1.17 ' PC-A %"* $"' ,#* $*'"&!"$$*!'ii' i', PC-C.

    Csersser1 tracert 192.168.3.3

    +racin route to 1!2.16".#.# o,er a maimum of #0 hops

    1 41 ms 41 ms 41 ms 1!2.16".1.1

    2 1!2.16".1.1 reports Destination host unreachale.

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* ##" #$

    http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a6057.shtmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a6057.shtml
  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    12/15

    Lab Testing Network Connectivity with Ping and Traceroute

    +race complete.

    O$* # '" "!#'* ',* $*'"& i* i '" 4i$+ *#!, ,"4 i$ ',* $*'"& '" PC-C. i&' %*'*&i$* i PC-A!#$ &*#!, ',* ISP &"'*& S*&i# 0/0/1 i$'*!* i', #$ IP #%%&* " 10.2.2.2.

    Cserstraser1ping 10.2.2.2

    'inin 10.2.2.2 with #2 $tes of data(epl$ from 10.2.2.2 $tes3#2 time31ms ++L325

    (epl$ from 10.2.2.2 $tes3#2 time31ms ++L325

    (epl$ from 10.2.2.2 $tes3#2 time31ms ++L325

    (epl$ from 10.2.2.2 $tes3#2 time31ms ++L325

    'in statistics for 10.2.2.2

    'ackets &ent 3 (ecei,ed 3 Lost 3 0 708 loss9

    Approimate round trip times in milli-seconds

    *inimum 3 20ms *aimum 3 21ms A,erae 3 20ms

    T,* 4i$+ # !!* '" ',* ISP &"'*&. T,* $*' ,"4 i$ ',* $*'"& i ',* REMOTE &"'*&. Pi$+ ',*REMOTE &"'*& S*&i# 0/0/1 i$'*!* i', #$ IP #%%&* " 10.2.2.1.

    Csersser1ping 10.2.2.1

    'inin 10.2.2.1 with #2 $tes of data

    (epl$ from 10.2.2.1 $tes3#2 time31ms ++L325#

    (epl$ from 10.2.2.1 $tes3#2 time31ms ++L325#

    (epl$ from 10.2.2.1 $tes3#2 time31ms ++L325#

    (epl$ from 10.2.2.1 $tes3#2 time31ms ++L325#

    'in statistics for 10.2.2.1

    'ackets &ent 3 (ecei,ed 3 Lost 3 0 708 loss9

    Approimate round trip times in milli-seconds

    *inimum 3 0ms *aimum 3 1ms A,erae 3 0ms

    PC-A !#$ &*#!, ',* REMOTE &"'*&. #*% "$ ',* !!* 4i$+ &*' &" PC-A '" ',* REMOTE&"'*&7 ',* $*'"& !"$$*!'ii' i* i i', 192.168.3.0/2: $*'"&. Pi$+ ',* %*#' +#'*# '" PC-C7,i!, i ',* Gi+#i'E',*&$*' 0/1 i$'*!* " ',* REMOTE &"'*&.

    Csersser1ping 192.168.3.1

    'inin 1!2.16".#.1 with #2 $tes of data

    (epl$ from 1!2.16".1.1 Destination host unreachale.

    (epl$ from 1!2.16".1.1 Destination host unreachale.

    (epl$ from 1!2.16".1.1 Destination host unreachale.

    (epl$ from 1!2.16".1.1 Destination host unreachale.

    'in statistics for 1!2.16".#.1

    'ackets &ent 3 (ecei,ed 3 Lost 3 0 708 loss9

    PC-A !#$$"' &*#!, ',* Gi+#i'E',*&$*' 0/1 i$'*!* " ',* REMOTE &"'*&7 # %i4#*% ',* &*'&" ',* ping!"#$%.

    T,* S3 i'!, !#$ #" * 4i$+*% &" PC-A '" *&i ',* "!#'i"$ " ',* $*'"&i$+ !"$$*!'ii' i* '4i$+ ping #:)1#8;1,1###' ',* !"#$% 4&"4'. *!#* PC-A !#$$"' &*#!, Gi+#i'E',*&$*' 0/1 " ',*REMOTE &"'*&7 PC-A 4&"# !#$$"' 4i$+ ',* S3 i'!, !!*7 # i$%i!#'*% ',* &*' *".

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* #)" #$

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    13/15

    Lab Testing Network Connectivity with Ping and Traceroute

    Csersser1ping 192.168.3.11

    'inin 1!2.16".#.11 with #2 $tes of data

    (epl$ from 1!2.16".1.1 Destination host unreachale.

    (epl$ from 1!2.16".1.1 Destination host unreachale.

    (epl$ from 1!2.16".1.1 Destination host unreachale.

    (epl$ from 1!2.16".1.1 Destination host unreachale.

    'in statistics for 1!2.16".#.11

    'ackets &ent 3 (ecei,ed 3 Lost 3 0 708 loss9

    T,* '!*&' #$% 4i$+ &*' !"$!%* ',#' PC-A !#$ &*#!, ',* LOCAL7 ISP7 #$% REMOTE &"'*&7 ' $"'PC-C "& ',* S3 i'!,7 $"& ',* %*#' +#'*# "& PC-C.

    . * ',* show!"#$% '" *#i$* ',* &$$i$+ !"$i+'i"$ "& ',* ',* REMOTE &"'*&.

    ()*O+)H show ip interface brief

    %nterface %'-Address OMN *ethod &tatus 'rotocol

    )medded-&er,ice-)nine0/0 unassined )& unset administrati,el$ down down

    Piait)thernet0/0 unassined )& unset administrati,el$ down down

    Piait)thernet0/1 1!2.16".".1 )& manual up up

    &erial0/0/0 unassined )& unset administrati,el$ down down

    &erial0/0/1 10.2.2.1 )& manual up up

    ()*O+)H show run

    4output omitted

    interface Piait)thernet0/0

    no ip address

    shutdown

    duple auto

    speed auto

    I

    interface Piait)thernet0/1

    ip address 1!2.16".".1 255.255.255.0

    duple auto

    speed auto

    I

    interface &erial0/0/0

    no ip address

    shutdown

    clock rate 2000000

    I

    interface &erial0/0/1

    ip address 10.2.2.1 255.255.255.252

    4output omitted

    T,* "'4' " ',* show run#$% show ip interface brief!"#$% i$%i!#'* ',#' ',* Gi+#i'E',*&$*'0/1 i$'*!* i 4/47 ' # !"$i+&*% i', #$ i$!"&&*!' IP #%%&*.

    !. C"&&*!' ',* IP #%%&* "& Gi+#i'E',*&$*' 0/1.

    ()*O+)H configure terina!

    )nter confiuration commands one per line. )nd with CB+L/Q.

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* #," #$

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    14/15

    Lab Testing Network Connectivity with Ping and Traceroute

    ()*O+)7confi9H interface "igabit#thernet 0$1

    ()*O+)7confi-if9H ip address 192.168.3.1 255.255.255.0

    %. V*&i ',#' PC-A !#$ 4i$+ #$% '!*&' '" PC-C.

    Csersser1ping 192.168.3.3

    'inin 1!2.16".#.# with #2 $tes of data

    (epl$ from 1!2.16".#.# $tes3#2 time3ms ++L3125(epl$ from 1!2.16".#.# $tes3#2 time31ms ++L3125

    (epl$ from 1!2.16".#.# $tes3#2 time30ms ++L3125

    (epl$ from 1!2.16".#.# $tes3#2 time31ms ++L3125

    'in statistics for 1!2.16".#.#

    'ackets &ent 3 (ecei,ed 3 Lost 3 0 708 loss9

    Approimate round trip times in milli-seconds

    *inimum 3 0ms *aimum 3 ms A,erae 3 1ms

    Csersser1 tracert 192.168.3.3

    +racin route to 'C-C :1!2.16".#.#;

    O,er a maimum of #0 hops

    1 41 ms 41 ms 41 ms 1!2.16".1.1

    2 2 ms 2 ms 2 ms 10.1.1.2

    # " ms " ms " ms 10.2.2.1

    5! ms 5! ms 5! ms 'C-C :1!2.16".#.#;

    +race complete.

    Note T,i !#$ #" * #!!"4i,*% i$+ ping#$% traceroute!"#$% &" ',* CLI "$ ',* ',*LOCAL &"'*& #$% ',* S1 i'!, #'*& *&ii$+ ',#' ',*&* #&* $" $*'"& !"$$*!'ii' i* "$ ',*

    192.168.1.0/2: $*'"&.

    /eflection

    1. ,#' !"% 4&**$' 4i$+ "& '!*&"'* &*4"$* &" &*#!,i$+ ',* "&i+i$#'i$+ %*i!* *i%* $*'"&!"$$*!'ii' i*K

    JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

    JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

    2. I " 4i$+ # $"$-*i'*$' #%%&* "$ ',* &*"'* $*'"&7 !, # 192.168.3.:7 ,#' i ',* *#+*%i4#*% ',* ping!"#$%K ,#' %"* ',i *#$K I " 4i$+ # #i% ,"' #%%&* #$% &*!*i* ',i&*4"$*7 ,#' ,"% " !,*!K

    JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

    3. I " 4i$+ #$ #%%&* ',#' %"* $"' *i' i$ #$ $*'"& i$ "& '"4""+7 !, # 192.168.5.37 &" #i$%"-#*% PC7 ,#' i ',* *#+* %i4#*% ',* ping!"#$%K ,#' %"* ',i *#+*i$%i!#'*K

    JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

    JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* #-" #$

  • 7/17/2019 8.3.2.7 Lab - Testing Network Connectivity With Ping and Traceroute

    15/15

    Lab Testing Network Connectivity with Ping and Traceroute

    /outer Interface u++ary Table

    /outer Interface u++ary

    /outer !odel 2thernet Interface ?# 2thernet Interface ?) erial Interface ?# erial Interface ?)

    1800 #' E',*&$*' 0/0(0/0)

    #' E',*&$*' 0/1(0/1)

    S*&i# 0/0/0 (S0/0/0) S*&i# 0/0/1 (S0/0/1)

    1900 Gi+#i' E',*&$*' 0/0(G0/0)

    Gi+#i' E',*&$*' 0/1(G0/1)

    S*&i# 0/0/0 (S0/0/0) S*&i# 0/0/1 (S0/0/1)

    2801 #' E',*&$*' 0/0(0/0)

    #' E',*&$*' 0/1(0/1)

    S*&i# 0/1/0 (S0/1/0) S*&i# 0/1/1 (S0/1/1)

    2811 #' E',*&$*' 0/0(0/0)

    #' E',*&$*' 0/1(0/1)

    S*&i# 0/0/0 (S0/0/0) S*&i# 0/0/1 (S0/0/1)

    2900 Gi+#i' E',*&$*' 0/0(G0/0)

    Gi+#i' E',*&$*' 0/1(G0/1)

    S*&i# 0/0/0 (S0/0/0) S*&i# 0/0/1 (S0/0/1)

    Note T" i$% "' ," ',* &"'*& i !"$i+&*%7 "" #' ',* i$'*!* '" i%*$'i ',* '4* " &"'*& #$% ," #$i$'*!* ',* &"'*& ,#. T,*&* i $" # '" **!'i* i' # ',* !"i$#'i"$ " !"$i+'i"$ "& *#!, &"'*&!#. T,i '#* i$!%* i%*$'ii*& "& ',* 4"i* !"i$#'i"$ " E',*&$*' #$% S*&i# i$'*!* i$ ',* %*i!*.T,* '#* %"* $"' i$!%* #$ "',*& '4* " i$'*!*7 **$ ',"+, # 4*!ii! &"'*& # !"$'#i$ "$*. A$*#4* " ',i i+,' * #$ ISDN RI i$'*!*. T,* '&i$+ i$ 4#&*$',*i i ',* *+# #&*i#'i"$ ',#' !#$ **% i$ Ci!" IOS !"#$% '" &*4&**$' ',* i$'*!*.

    2013 Ci!" #$%/"& i' #ii#'*. A &i+,' &**&*%. T,i %"!*$' i Ci!" Pi!. P#+* #$" #$