< Return to Video

Basic Cisco network troubleshooting

  • 0:01 - 0:03
    hello guys welcome back my name is david
  • 0:03 - 0:05
    and today we are going to troubleshoot
  • 0:05 - 0:08
    simple cisco network so what i mean is i
  • 0:08 - 0:10
    have one com one computer and one router
  • 0:10 - 0:13
    this router was configured to pass the
  • 0:13 - 0:15
    traffic to translate this traffic into a
  • 0:15 - 0:18
    public ip so the computer can surf the
  • 0:18 - 0:20
    internet now what i did i broke the
  • 0:20 - 0:22
    configuration in several places and we
  • 0:22 - 0:24
    are going to start from beginning to the
  • 0:24 - 0:27
    end we'll find all the problems and try
  • 0:27 - 0:31
    to fix that stay with me
  • 0:32 - 0:36
    okay let's start this is my computer
  • 0:36 - 0:37
    this comes supposed to have the ip
  • 0:37 - 0:40
    address and dns iprs right and the
  • 0:40 - 0:42
    gateway of course then traffic comes
  • 0:42 - 0:44
    here on the cisco router and then from
  • 0:44 - 0:46
    the router it goes to the internet
  • 0:46 - 0:48
    but here
  • 0:48 - 0:50
    we need to do net right network address
  • 0:50 - 0:53
    translations so let's start and find all
  • 0:53 - 0:55
    the problems i caused in the
  • 0:55 - 0:56
    configuration
  • 0:56 - 0:59
    so in order for the traffic to leave the
  • 0:59 - 1:01
    computer computer is supposed to have
  • 1:01 - 1:03
    the ipad so let's make sure the computer
  • 1:03 - 1:06
    has the ip address
  • 1:06 - 1:09
    and when we say let's make sure computer
  • 1:09 - 1:12
    has the ip address
  • 1:12 - 1:15
    let's test the actual status of the ip
  • 1:15 - 1:17
    address not the configuration and what i
  • 1:17 - 1:19
    mean by that is
  • 1:19 - 1:21
    you can go into a configuration and make
  • 1:21 - 1:23
    sure the configuration is there by
  • 1:23 - 1:24
    clicking this button
  • 1:24 - 1:27
    but that's not the way i want you to
  • 1:27 - 1:29
    test it i want to test it
  • 1:29 - 1:31
    the actual status of the configuration
  • 1:31 - 1:33
    that means you can either click here
  • 1:33 - 1:34
    details
  • 1:34 - 1:36
    or in the cli
  • 1:36 - 1:38
    now what's the difference you must say
  • 1:38 - 1:40
    the difference is that sometimes when
  • 1:40 - 1:42
    you configure the ip address windows is
  • 1:42 - 1:44
    not taking this ip address for some
  • 1:44 - 1:45
    reason
  • 1:45 - 1:47
    there can be many many reasons but the
  • 1:47 - 1:50
    configuration doesn't always work so
  • 1:50 - 1:51
    when you check the configuration on the
  • 1:51 - 1:53
    ip address it's not necessary the
  • 1:53 - 1:55
    computer is using that ipr so what we
  • 1:55 - 1:57
    want to do we want to check the actual
  • 1:57 - 2:00
    status of this configuration okay so
  • 2:00 - 2:02
    let's see what we have we have the ip
  • 2:02 - 2:04
    address here as you can see
  • 2:04 - 2:06
    and we have the gateway so we know the
  • 2:06 - 2:08
    ip address is there and probably the
  • 2:08 - 2:11
    ipaddress works we can ping the ip
  • 2:11 - 2:12
    address itself
  • 2:12 - 2:14
    and
  • 2:14 - 2:17
    yes well ipstac tcp stack works on the
  • 2:17 - 2:19
    computer that's good so now let's test
  • 2:19 - 2:21
    the gateway make sure the gateway works
  • 2:21 - 2:23
    here's the gateway
  • 2:23 - 2:25
    and we want to ping that gateway to make
  • 2:25 - 2:28
    sure the gateway is on the network
  • 2:28 - 2:30
    now you might already see that gateway
  • 2:30 - 2:33
    is that one on the topology so the
  • 2:33 - 2:34
    gateway is wrong but let's try and ping
  • 2:34 - 2:35
    it
  • 2:35 - 2:40
    ping 192 168.1.254
  • 2:40 - 2:42
    and the gateway is not pingable and how
  • 2:42 - 2:44
    do let's say we don't know the if the
  • 2:44 - 2:46
    gateway is correct or not
  • 2:46 - 2:48
    or we know the gateway is correct but we
  • 2:48 - 2:51
    are not sure why we don't ping it ping
  • 2:51 - 2:53
    could could be closed nobody close icmp
  • 2:53 - 2:55
    on the gateway but let's say it's closed
  • 2:55 - 2:58
    you want to make sure the gateway is on
  • 2:58 - 2:59
    the network and for that we can check
  • 2:59 - 3:02
    the r and let's go ahead on the windows
  • 3:02 - 3:04
    machine type r
  • 3:04 - 3:05
    iphone a
  • 3:05 - 3:07
    and this will show you arp cache and you
  • 3:07 - 3:09
    know the ip address mapped to the macro
  • 3:09 - 3:12
    so let's see if we have 254 here in the
  • 3:12 - 3:14
    arc cache and we don't have it
  • 3:14 - 3:17
    but we have that one
  • 3:17 - 3:21
    and let's try and think it dot one
  • 3:22 - 3:25
    it's not pingable that's weird but well
  • 3:25 - 3:27
    at least we know it's that one but let's
  • 3:27 - 3:30
    go ahead and change that one
  • 3:30 - 3:32
    you know what we have the cisco router
  • 3:32 - 3:35
    and we have the interface g3 w3 and
  • 3:35 - 3:36
    let's see what's the ipad address on the
  • 3:36 - 3:37
    interface
  • 3:37 - 3:38
    show
  • 3:38 - 3:42
    run not sure our show interface
  • 3:43 - 3:45
    address
  • 3:45 - 3:48
    and as you can see this is the ip
  • 3:48 - 3:49
    address
  • 3:49 - 3:52
    of the cisco router so yes the computer
  • 3:52 - 3:54
    is supposed to have that one as a
  • 3:54 - 3:57
    gateway not 254
  • 3:57 - 3:59
    so let's go ahead and fix that on the
  • 3:59 - 4:03
    computer we are just one step
  • 4:04 - 4:06
    closer to the fixing the problem
  • 4:06 - 4:08
    and let's do one
  • 4:08 - 4:10
    now
  • 4:10 - 4:13
    remember that one wasn't pingable from
  • 4:13 - 4:15
    the computer
  • 4:15 - 4:17
    and we want to find out why we cannot
  • 4:17 - 4:20
    ping it should we pingable should it not
  • 4:20 - 4:22
    and let's go ahead and check if there is
  • 4:22 - 4:25
    any access list on the cisco router
  • 4:25 - 4:30
    on the inside interface show run
  • 4:30 - 4:35
    inside interface gear v3 and pipe in for
  • 4:35 - 4:37
    the inboard and sure there is an access
  • 4:37 - 4:42
    list and let's check what's inside
  • 4:42 - 4:46
    okay we have permit ip192.168.3
  • 4:47 - 4:48
    okay
  • 4:48 - 4:50
    and slash24
  • 4:50 - 4:54
    so the access list is not permitting our
  • 4:54 - 4:55
    traffic coming from the computer because
  • 4:55 - 4:58
    remember our ip address our subnet on
  • 4:58 - 5:00
    the computer is
  • 5:00 - 5:03
    192.168.1
  • 5:03 - 5:06
    not three but one on the third octa and
  • 5:06 - 5:08
    access list on the cisco hour is not
  • 5:08 - 5:10
    having this dot
  • 5:10 - 5:14
    one so let's go ahead and fix that
  • 5:14 - 5:17
    we need to go into access list
  • 5:17 - 5:18
    extend it
  • 5:18 - 5:21
    inside by inbound and you know we know
  • 5:21 - 5:23
    for sure that they're not there's not
  • 5:23 - 5:25
    supposed to be the three
  • 5:25 - 5:28
    network on this lan right so it's okay
  • 5:28 - 5:32
    to remove this ip address and fix that
  • 5:32 - 5:37
    node 20 and then permit ip192.168.1.0
  • 5:39 - 5:41
    and
  • 5:42 - 5:44
    any okay
  • 5:44 - 5:46
    now it looks great
  • 5:46 - 5:50
    let's see if we can ping the router
  • 5:56 - 5:58
    okay we can ping the router
  • 5:58 - 5:59
    great now let's check do we have the
  • 5:59 - 6:02
    internet
  • 6:03 - 6:07
    and no we don't okay
  • 6:07 - 6:08
    let's see
  • 6:08 - 6:11
    what else we are missing here do we have
  • 6:11 - 6:13
    the route
  • 6:13 - 6:16
    now actually let's make sure the cisco
  • 6:16 - 6:19
    hour has the internet ping
  • 6:19 - 6:21
    made updated
  • 6:21 - 6:24
    doesn't have the internet let's fix that
  • 6:24 - 6:26
    so what do you need on the router to
  • 6:26 - 6:28
    have the internet you need the ip
  • 6:28 - 6:29
    address you need the next hope which is
  • 6:29 - 6:32
    that one and you need connection between
  • 6:32 - 6:34
    isp and the router
  • 6:34 - 6:36
    let's check what is the interface on the
  • 6:36 - 6:38
    gear with one
  • 6:38 - 6:41
    and what is the ip address here
  • 6:46 - 6:47
    okay
  • 6:47 - 6:49
    that's great now what's the gateway show
  • 6:49 - 6:51
    ip route
  • 6:51 - 6:54
    and our gateway is that three but
  • 6:54 - 6:55
    remember
  • 6:55 - 6:57
    our isp has that one not that three so
  • 6:57 - 7:00
    let's go ahead and fix that too
  • 7:00 - 7:02
    here's my route which i need to remove
  • 7:02 - 7:05
    and add the new one
  • 7:05 - 7:08
    now remember if you just add the route
  • 7:08 - 7:10
    you'll have two routes it's not gonna
  • 7:10 - 7:11
    replace even though it has the same
  • 7:11 - 7:14
    destination it's not going to replace so
  • 7:14 - 7:16
    you want to remove the old route and add
  • 7:16 - 7:19
    the new one
  • 7:20 - 7:23
    okay now we have the route and the
  • 7:23 - 7:25
    routing table proper now let's see if we
  • 7:25 - 7:27
    can ping the google
  • 7:27 - 7:28
    ping
  • 7:28 - 7:30
    from the cisco hour
  • 7:30 - 7:31
    okay
  • 7:31 - 7:33
    cisco router has the internet now let's
  • 7:33 - 7:35
    come back on the computer and just see
  • 7:35 - 7:38
    if computers also has the internet
  • 7:38 - 7:40
    well no computer doesn't have the
  • 7:40 - 7:42
    internet okay
  • 7:42 - 7:45
    let's think what do we need to do what
  • 7:45 - 7:48
    do we need to have on the cisco router
  • 7:48 - 7:50
    to allow the internet to access uh from
  • 7:50 - 7:52
    the computer
  • 7:52 - 7:54
    so the computer can serve the internet
  • 7:54 - 7:57
    sites websites okay so first
  • 7:57 - 7:59
    the computer has the private ipads you
  • 7:59 - 8:02
    see and the cisco router external
  • 8:02 - 8:05
    interface is the public ip address so we
  • 8:05 - 8:07
    want to translate our private ips subnet
  • 8:07 - 8:10
    into a public iprs of the router and for
  • 8:10 - 8:13
    that we need to do the net
  • 8:13 - 8:15
    and let's make sure we have the nut
  • 8:15 - 8:18
    translations on the cisco router so
  • 8:18 - 8:20
    let's go ahead and try ping
  • 8:20 - 8:23
    actually that's not
  • 8:23 - 8:26
    let's ping and come back here and see
  • 8:26 - 8:30
    if we have no translations
  • 8:33 - 8:37
    and we have some not translations
  • 8:39 - 8:42
    which is not our google ip addresses so
  • 8:42 - 8:43
    let's clear up
  • 8:43 - 8:46
    our ip not translations
  • 8:46 - 8:48
    dynamic i believe here
  • 8:48 - 8:51
    no just just everything
  • 8:51 - 8:54
    okay show ipmap translations
  • 8:54 - 8:56
    we don't have new translations that
  • 8:56 - 8:58
    means cisco router is not translating
  • 8:58 - 9:01
    our traffic from private subnet into
  • 9:01 - 9:02
    public ip
  • 9:02 - 9:04
    and let's troubleshoot that we need to
  • 9:04 - 9:06
    have the configuration for that right so
  • 9:06 - 9:08
    let's let's go ahead and do this show
  • 9:08 - 9:11
    run defensive gear three and does it
  • 9:11 - 9:14
    have the net configuration on the gearb3
  • 9:14 - 9:17
    it does and it has not ip not inside
  • 9:17 - 9:19
    that's great now
  • 9:19 - 9:21
    inside interface is supposed to have ip
  • 9:21 - 9:24
    not inside the outside default though
  • 9:24 - 9:26
    supposed to have ip nut outside let's
  • 9:26 - 9:28
    check that
  • 9:31 - 9:33
    oh outside the face doesn't have ip not
  • 9:33 - 9:36
    outside at all so let's go ahead and
  • 9:36 - 9:37
    configure that
  • 9:37 - 9:39
    ipnot outside
  • 9:39 - 9:41
    and now
  • 9:41 - 9:45
    we fixed not well at least partially on
  • 9:45 - 9:47
    the cisco router now we know that the
  • 9:47 - 9:49
    inside the face and outside the face
  • 9:49 - 9:51
    they both have not configuration on them
  • 9:51 - 9:53
    let's go ahead and check ipnot
  • 9:53 - 9:56
    translation again
  • 9:57 - 10:00
    all right we have some traffic here
  • 10:00 - 10:03
    this is our ip address
  • 10:03 - 10:05
    right right
  • 10:05 - 10:05
    and
  • 10:05 - 10:08
    this is what we are trying to ping
  • 10:08 - 10:10
    and this is the icmp protocol and this
  • 10:10 - 10:13
    is the ip address we are translated into
  • 10:13 - 10:15
    so if we check this ip address on
  • 10:15 - 10:19
    interface that's our ip address we know
  • 10:19 - 10:22
    that cisco router translates the packet
  • 10:22 - 10:23
    into public ip
  • 10:23 - 10:26
    now what we need to do is we know
  • 10:26 - 10:28
    traffic comes here on the router is
  • 10:28 - 10:30
    translated and we need to make sure
  • 10:30 - 10:32
    traffic can leave the interface now how
  • 10:32 - 10:34
    do we check that
  • 10:34 - 10:35
    well
  • 10:35 - 10:37
    usually if you have the route and there
  • 10:37 - 10:38
    is no restriction on the interface
  • 10:38 - 10:41
    traffic leaves the interface so let's go
  • 10:41 - 10:44
    ahead and check that do we have any
  • 10:44 - 10:45
    access list
  • 10:45 - 10:47
    we don't
  • 10:47 - 10:49
    but do we want to put the access list to
  • 10:49 - 10:51
    make sure traffic leaves the interface
  • 10:51 - 10:53
    you know you can use probably packet
  • 10:53 - 10:55
    capture if you know how to do that but
  • 10:55 - 10:58
    if not what you can do is do a quick
  • 10:58 - 11:00
    configuration show ip access list
  • 11:00 - 11:02
    extended for example
  • 11:02 - 11:04
    and match our traffic in our case
  • 11:04 - 11:08
    let's say outside
  • 11:08 - 11:11
    isp is going to be no i thought
  • 11:11 - 11:14
    outside
  • 11:15 - 11:17
    that's the access list name and permit
  • 11:17 - 11:20
    our traffic what is our traffic ip host
  • 11:20 - 11:24
    192 168.1.10
  • 11:24 - 11:25
    into
  • 11:25 - 11:27
    google dns
  • 11:27 - 11:31
    and we want it to be icmp but ip will
  • 11:31 - 11:34
    work for as well but let's do icmp only
  • 11:34 - 11:35
    and
  • 11:35 - 11:36
    now
  • 11:36 - 11:38
    we want to assign this access list on
  • 11:38 - 11:41
    the public interface but remember
  • 11:41 - 11:42
    right now the interface doesn't have the
  • 11:42 - 11:44
    access which means once you assign this
  • 11:44 - 11:46
    access list you'll permit only the
  • 11:46 - 11:48
    things you have in the access list and
  • 11:48 - 11:51
    in our case that's only icmp packet
  • 11:51 - 11:52
    coming from our computer going to the
  • 11:52 - 11:55
    google but for the rest of the users
  • 11:55 - 11:57
    we're gonna break the internet well if
  • 11:57 - 12:00
    they have already so what we want to do
  • 12:00 - 12:02
    is to add permit any any at the end of
  • 12:02 - 12:05
    the access list
  • 12:06 - 12:08
    which means if we assign this access
  • 12:08 - 12:10
    list on the outbound interface
  • 12:10 - 12:13
    for the outbound traffic
  • 12:13 - 12:15
    we'll get the match here
  • 12:15 - 12:17
    and hit count will increase if the
  • 12:17 - 12:20
    packet leaves the router and for the
  • 12:20 - 12:21
    rest of the traffic to not block them
  • 12:21 - 12:23
    here's the permit ip and then so let's
  • 12:23 - 12:26
    go ahead and do in gigabit estimate
  • 12:26 - 12:28
    one
  • 12:28 - 12:29
    ip access group
  • 12:29 - 12:32
    outside outbound and
  • 12:32 - 12:36
    outbound packets so we want to do out
  • 12:36 - 12:37
    and
  • 12:37 - 12:39
    now now you see there is a match
  • 12:39 - 12:41
    on ipm en
  • 12:41 - 12:44
    probably some kind of you know uh
  • 12:44 - 12:45
    different traffic coming from the
  • 12:45 - 12:46
    computer checking the updates or
  • 12:46 - 12:48
    something like that but our traffic
  • 12:48 - 12:50
    doesn't have the match let's generate
  • 12:50 - 12:53
    the traffic on the computer
  • 12:53 - 12:55
    this is our traffic
  • 12:55 - 12:57
    one
  • 12:57 - 12:59
    two
  • 13:01 - 13:02
    okay
  • 13:02 - 13:04
    and now let's check if we have the match
  • 13:04 - 13:08
    on the access list
  • 13:08 - 13:10
    we don't
  • 13:11 - 13:13
    but that's weird
  • 13:13 - 13:16
    isn't our ap address
  • 13:16 - 13:19
    oh oh i'm sorry guys
  • 13:19 - 13:22
    this ridiculous remember we translated
  • 13:22 - 13:25
    traffic into public ip so there's no way
  • 13:25 - 13:28
    to match the 192.168.1.10
  • 13:28 - 13:30
    on the aggress interface so if we want
  • 13:30 - 13:33
    to do something else
  • 13:33 - 13:37
    let's go ahead and you know fix that
  • 13:39 - 13:40
    we want to remove
  • 13:40 - 13:45
    line 10 and add the new new line ip
  • 13:45 - 13:46
    icmp
  • 13:46 - 13:47
    host
  • 13:47 - 13:49
    what's the our public ip address of the
  • 13:49 - 13:53
    router it is 100
  • 13:53 - 13:56
    that 100 i believe this is the ip
  • 13:56 - 13:57
    address
  • 13:57 - 14:02
    and then we are going to ping google dns
  • 14:02 - 14:06
    here's the axle list now
  • 14:07 - 14:10
    now we need to
  • 14:10 - 14:13
    renumber this because it's incorrectly
  • 14:13 - 14:16
    we want to have permit any at the end so
  • 14:16 - 14:20
    remove 20 permit any any
  • 14:21 - 14:24
    and now it's correct okay now let's ping
  • 14:24 - 14:25
    and let's see
  • 14:25 - 14:27
    if packet leaves the
  • 14:27 - 14:30
    router
  • 14:37 - 14:40
    we still don't have the match
  • 14:40 - 14:42
    on the interface okay here's the match i
  • 14:42 - 14:45
    was like what's going on
  • 14:45 - 14:47
    so we have match
  • 14:47 - 14:49
    and that confirms two things
  • 14:49 - 14:51
    not two actually several
  • 14:51 - 14:53
    we have the working gateway for the
  • 14:53 - 14:56
    cisco router so traffic can leave the
  • 14:56 - 14:57
    interface
  • 14:57 - 14:59
    now because the match is for the public
  • 14:59 - 15:02
    ip address we also know that the traffic
  • 15:02 - 15:04
    is being translated so even if you
  • 15:04 - 15:06
    didn't check the iphone translation this
  • 15:06 - 15:08
    confirms that there was a translation
  • 15:08 - 15:10
    and the private ipad is translated into
  • 15:10 - 15:13
    public ipads and the third
  • 15:13 - 15:15
    packet leaves the router
  • 15:15 - 15:16
    okay
  • 15:16 - 15:17
    now
  • 15:17 - 15:19
    that's good it leaves the router is it
  • 15:19 - 15:21
    coming back
  • 15:21 - 15:22
    no
  • 15:22 - 15:25
    it might be coming back or it it's my
  • 15:25 - 15:28
    not coming back depends on the problems
  • 15:28 - 15:29
    on the internet
  • 15:29 - 15:31
    so since this video about the
  • 15:31 - 15:32
    troubleshooting let's make sure the
  • 15:32 - 15:34
    traffic is coming back
  • 15:34 - 15:37
    and for that we again can capture the
  • 15:37 - 15:39
    traffic or we can assign the similar
  • 15:39 - 15:43
    access list on the inbound traffic
  • 15:45 - 15:48
    extend it and that would be outside
  • 15:48 - 15:50
    inbound
  • 15:50 - 15:53
    and now what do we want to match here
  • 15:53 - 15:56
    we won't match google dns as a source
  • 15:56 - 15:57
    because remember
  • 15:57 - 16:00
    answer is coming from google now
  • 16:00 - 16:02
    and we want to do
  • 16:02 - 16:05
    destination is going to be our ip
  • 16:05 - 16:07
    address on the public interface on the
  • 16:07 - 16:09
    outside interface
  • 16:09 - 16:11
    and the protocol is icmp
  • 16:11 - 16:12
    also you can use
  • 16:12 - 16:15
    echo reply if you want
  • 16:15 - 16:17
    not necessary for this purpose but you
  • 16:17 - 16:19
    can because
  • 16:19 - 16:22
    like if you are troubleshooting with
  • 16:22 - 16:25
    someone else on the other side and they
  • 16:25 - 16:27
    are pinging your ip address as well you
  • 16:27 - 16:29
    might want to add echo reply to make
  • 16:29 - 16:31
    sure this is your reply not their ping
  • 16:31 - 16:34
    but google is not going to ping us so
  • 16:34 - 16:36
    it's okay to not
  • 16:36 - 16:39
    put the echo reply any any icmp we match
  • 16:39 - 16:41
    here we know it's our reply from google
  • 16:41 - 16:42
    dns
  • 16:42 - 16:45
    and now let's permit any any because we
  • 16:45 - 16:47
    don't want to block any other traffic on
  • 16:47 - 16:49
    the interface because right now there is
  • 16:49 - 16:50
    no access to the game there is no access
  • 16:50 - 16:53
    list and if we assign the axle list
  • 16:53 - 16:55
    we'll block everything that is not
  • 16:55 - 16:57
    permitted on the access list
  • 16:57 - 17:00
    so let's go ahead and configure the
  • 17:00 - 17:02
    internet gigabyte
  • 17:02 - 17:04
    gigabit ethernet one
  • 17:04 - 17:09
    ip access list not access access group
  • 17:09 - 17:10
    and
  • 17:10 - 17:12
    here we use inbound
  • 17:12 - 17:14
    okay in
  • 17:14 - 17:15
    now
  • 17:15 - 17:18
    let's check what match do we have on the
  • 17:18 - 17:22
    interface for inbound traffic
  • 17:22 - 17:26
    is there any reply from google
  • 17:31 - 17:33
    and there is reply
  • 17:33 - 17:36
    so we know now that the traffic not only
  • 17:36 - 17:38
    leaves the router but it's also coming
  • 17:38 - 17:40
    back from google so internet in between
  • 17:40 - 17:43
    google dns and our isp is okay we
  • 17:43 - 17:45
    receive the traffic but
  • 17:45 - 17:48
    computers still cannot ping that
  • 17:48 - 17:49
    how come
  • 17:49 - 17:52
    we need the ping on the computer
  • 17:52 - 17:54
    so what else are left
  • 17:54 - 17:57
    when traffic comes back
  • 17:57 - 17:58
    to the router
  • 17:58 - 18:02
    let me try to draw it here
  • 18:08 - 18:09
    where traffic
  • 18:09 - 18:12
    lives okay we we have this traffic it
  • 18:12 - 18:14
    left the router
  • 18:14 - 18:18
    went to dsp not sp google dns
  • 18:18 - 18:20
    and coming back and it comes here we
  • 18:20 - 18:23
    have this match on this interface now
  • 18:23 - 18:26
    what's supposed to happen well nat will
  • 18:26 - 18:28
    catch the traffic will check the port
  • 18:28 - 18:30
    translations and we'll figure out okay
  • 18:30 - 18:32
    that's the returning traffic for this
  • 18:32 - 18:34
    ping this guy is pinging from the
  • 18:34 - 18:37
    windows 7 machine and now this packet
  • 18:37 - 18:38
    sorry
  • 18:38 - 18:40
    now this package supposed to leave this
  • 18:40 - 18:42
    interface
  • 18:42 - 18:44
    okay to
  • 18:44 - 18:46
    to be delivered to the
  • 18:46 - 18:48
    computer and let's make sure that is
  • 18:48 - 18:50
    happening
  • 18:50 - 18:51
    for that
  • 18:51 - 18:54
    what we are going to do is
  • 18:54 - 18:58
    we are
  • 18:59 - 19:00
    for that we are going to check if the
  • 19:00 - 19:03
    traffic leaves the cisco router
  • 19:03 - 19:06
    again this is the same as we did on the
  • 19:06 - 19:07
    outside interface you can capture
  • 19:07 - 19:09
    traffic if you know how to capture if
  • 19:09 - 19:11
    not you can assign the interface on the
  • 19:11 - 19:13
    address let's first make sure there is
  • 19:13 - 19:17
    no access list on the router
  • 19:19 - 19:22
    and let's do out
  • 19:22 - 19:25
    there is an access list okay
  • 19:25 - 19:28
    now let's check what this access list
  • 19:28 - 19:30
    has in it
  • 19:31 - 19:34
    does it have any match
  • 19:34 - 19:37
    and it doesn't but look at this
  • 19:37 - 19:39
    this subnet is not what we are expecting
  • 19:39 - 19:43
    to have because remember our subnet is
  • 19:43 - 19:45
    192
  • 19:45 - 19:46
    161.10
  • 19:46 - 19:49
    and here we see two so again the subnet
  • 19:49 - 19:51
    on the axle is wrong
  • 19:51 - 19:55
    let's try and fix that
  • 20:07 - 20:09
    now it's correct
  • 20:09 - 20:10
    so
  • 20:10 - 20:12
    remember the traffic leaves the router
  • 20:12 - 20:16
    so the source here is going to be any in
  • 20:16 - 20:18
    our case it's google dns and destination
  • 20:18 - 20:20
    is our computer so the access list order
  • 20:20 - 20:23
    like from any tool subnet is correct
  • 20:23 - 20:28
    and let's see if we can finally ping it
  • 20:29 - 20:31
    we still cannot bring it
  • 20:31 - 20:32
    wow
  • 20:32 - 20:34
    let's see what's going on
  • 20:34 - 20:38
    is it leaving the interface
  • 20:41 - 20:43
    it is actually
  • 20:43 - 20:44
    it's my bad
  • 20:44 - 20:45
    i did
  • 20:45 - 20:47
    two again
  • 20:47 - 20:50
    okay this is wrong
  • 20:50 - 20:52
    ah
  • 20:53 - 20:56
    this is what happened when you rush
  • 20:57 - 21:00
    and
  • 21:00 - 21:02
    actually turn
  • 21:02 - 21:04
    and
  • 21:04 - 21:06
    then we need to do
  • 21:06 - 21:07
    one
  • 21:07 - 21:10
    yeah once you remove the all lines from
  • 21:10 - 21:11
    the axles that actually doesn't work
  • 21:11 - 21:13
    anymore so there's no denying any at the
  • 21:13 - 21:16
    end if there's no any line in the axis
  • 21:16 - 21:17
    so
  • 21:17 - 21:19
    as soon as we removed 10 we start
  • 21:19 - 21:22
    pinging it and now and then we added
  • 21:22 - 21:24
    correct line here
  • 21:24 - 21:27
    and we can still ping it
  • 21:27 - 21:29
    and we have hit counts
  • 21:29 - 21:32
    so this is how you troubleshoot simple
  • 21:32 - 21:34
    basic cisco network
  • 21:34 - 21:36
    not only cisco network pretty much any
  • 21:36 - 21:38
    network you need to know what your
  • 21:38 - 21:40
    troubleshooting you need to know how
  • 21:40 - 21:41
    traffic goes
  • 21:41 - 21:43
    what gateway are you supposed to have on
  • 21:43 - 21:44
    the computer you need to know all the
  • 21:44 - 21:47
    things to troubleshoot and
  • 21:47 - 21:49
    after some several months or years you
  • 21:49 - 21:51
    have the enough experience to skip some
  • 21:51 - 21:53
    of the steps for example you might know
  • 21:53 - 21:54
    the gateway
  • 21:54 - 21:57
    on the router is correct because you
  • 21:57 - 21:59
    connected to the router remotely and
  • 21:59 - 22:01
    from the internet so the router most
  • 22:01 - 22:04
    likely has the default gateway or you
  • 22:04 - 22:05
    might know that the
  • 22:05 - 22:08
    the access is not supposed to be checked
  • 22:08 - 22:09
    on the inside device because user told
  • 22:09 - 22:12
    you that they can ping the ip address of
  • 22:12 - 22:14
    the gateway
  • 22:14 - 22:17
    so many many things can be skipped based
  • 22:17 - 22:19
    on your experience but this is from
  • 22:19 - 22:22
    starting to the end you check from the
  • 22:22 - 22:24
    beginning where you have the problem you
  • 22:24 - 22:27
    don't check at the end if the cisco has
  • 22:27 - 22:28
    the internet first you make sure you
  • 22:28 - 22:32
    have everything you need to leave the uh
  • 22:32 - 22:35
    area to leave the subnet now let's see
  • 22:35 - 22:38
    if you can paint google the google
  • 22:38 - 22:39
    website
  • 22:39 - 22:41
    directly using dns
  • 22:41 - 22:43
    and we can ping so if i go
  • 22:43 - 22:46
    on the browser here i'll try to open the
  • 22:46 - 22:48
    google website
  • 22:48 - 22:51
    i should be able to open it
  • 22:52 - 22:53
    and sure enough
  • 22:53 - 22:56
    i can open it and it works
  • 22:56 - 22:58
    perfect
  • 22:58 - 23:00
    i hope this was useful for you guys and
  • 23:00 - 23:02
    at some point you'll use it
  • 23:02 - 23:04
    that's it
  • 23:04 - 23:06
    so guys if you like this videos please
  • 23:06 - 23:08
    like the video and hit the subscribe
  • 23:08 - 23:10
    button if you want to see more videos
  • 23:10 - 23:12
    like this also i'm looking for an ideas
  • 23:12 - 23:14
    what kind of videos to create so if you
  • 23:14 - 23:16
    have any idea and you're looking for
  • 23:16 - 23:19
    some kind of configuration on the cisco
  • 23:19 - 23:20
    or
  • 23:20 - 23:21
    similar network you can put in the
  • 23:21 - 23:23
    comments what do you want to see in the
  • 23:23 - 23:25
    next video thanks for watching and have
  • 23:25 - 23:29
    a good one
  • 23:36 - 23:38
    you
Title:
Basic Cisco network troubleshooting
Description:

more » « less
Video Language:
English
Duration:
23:37

English subtitles

Revisions Compare revisions