Traceroute Explained | Real World Examples

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 มิ.ย. 2024
  • Join the Discord Server!
    / discord
    ---------------------
    MY FULL CCNA COURSE
    📹 CCNA - certbros.teachable.com/p/cisc...
    FREE CCNA FLASHCARDS
    🃏 CCNA Flashcards - certbros.com/ccna/flashcards
    HOW TO PASS THE CCNA
    📚 Get a great book - amzn.to/3f16QA5
    📹 Take a video course - certbros.teachable.com/p/cisc...
    ✔ Use practice exams - www.certbros.com/ccna/Exsim
    SOCIAL
    🐦 Twitter - / certbros
    📸 Instagram - / certbros
    👔 LinkedIn - / certbros
    💬 Discord - www.certbros.com/discord
    Disclaimer: These are affiliate links. If you purchase using these links, I'll receive a small commission at no extra charge to you.
    ---------------------------------------------------------------------------------------------------------------
    00:00 What is Traceroute
    01:07 How Traceroute works
    2:45 Hands-on with traceroute
    08:08 Troubleshooting
    11:20 Outro
    Just like ping, Traceroute uses the ICMP protocol to attempt to establish communication with a remote host.
    It can be found on all operating systems and even on switches, routers and firewalls. So it is widely supported.
    What traceroute does differently is instead of just telling us if a host can be reached or not, it also tells us every hop that was used to get to the destination host.
    A hop is every layer 3 device, typically routers, that our Traceroute message needs to pass through in order to get to the destination.
    This can be really handy if you are trying to figure out which direction or which route your traffic is taking.
    The way Traceroute collects a list of hops is pretty clever. It uses something called Time To Live or TTL.
    TTL is a method of limiting the lifespan of data. For IP packets, the TTL is a counter that decreases for every hop, that the data passes on its way to the destination.
    This is where the magic of traceroute comes from.
    So let's say we want to reach the Google DNS server 8.8.8.8. When we do a traceroute, our computer will send an ICMP request to 8.8.8.8, but with a TTL value of 1.
    That means, that as soon as our request hits the first router, the TTL value will decrease to 0 and the request will be dropped.
    The router will respond back to our host with a message saying ‘Time-to-live Exceeded’
    Our computer then does something clever. It takes note of the router's IP address that just responded.
    It then sends the same traceroute request, but this time with a TTL value of 2.
    So now, our request hits the first router, decreases the TTL value to 1, and then passes it to the next router.
    Again, the TTL value reaches 0 and the message is sent back to the sending computer where we can take note of the second hops IP address.
    And this process will continue until either it reaches the destination host, or the traceroute hits its maximum hops which is usually 30.
    Ping Explained: • Ping Command Explained...

ความคิดเห็น • 64

  • @robinhood8302
    @robinhood8302 ปีที่แล้ว +22

    Never have I regretted subscribing to this channel

    • @Certbros
      @Certbros  ปีที่แล้ว +2

      Great to hear! Love having you as a subscriber!

    • @9ight5ox
      @9ight5ox ปีที่แล้ว

      right ?!!!

  • @MarkDonegal
    @MarkDonegal ปีที่แล้ว +20

    Excellent explanation and visuals. As a lecturer in IT (infrastructure, Cybersecurity) I will be using your video content in lecture classes. Appreciate the uploads!

    • @Certbros
      @Certbros  ปีที่แล้ว +5

      Thanks Mark! Great to hear you liked the video, especially as a lecturer yourself. I hope your classes get some value from it.

  • @ReflexRL
    @ReflexRL ปีที่แล้ว +1

    CertBros never disappoints. 🙌🏼💯

  • @Don-Carillo
    @Don-Carillo ปีที่แล้ว +4

    Always know I'm in for a treat when certbros drops in my notifications. Never dissapointed

    • @Certbros
      @Certbros  ปีที่แล้ว +1

      I'm always in for a treat when Don Neto comments 😁 Thanks man, really appreciate it!

    • @Don-Carillo
      @Don-Carillo ปีที่แล้ว

      @@Certbros haha no problem at all 😊

  • @jmontign1
    @jmontign1 ปีที่แล้ว +1

    Very good explanation and detail. People use this tool for years without ever really understanding what it is doing

  • @86hemantkhare
    @86hemantkhare 8 หลายเดือนก่อน +1

    great explanation... thanks a lot for clear graphical representation.

  • @rockinron5113
    @rockinron5113 ปีที่แล้ว +1

    Nice one. Clearly explained. Thanks. 😁

  • @fchas15
    @fchas15 ปีที่แล้ว

    excellent! love your channel. thank you!

  • @killyrodriguez3944
    @killyrodriguez3944 ปีที่แล้ว

    Cool vid. Very informative 👍

  • @superkr1000
    @superkr1000 10 หลายเดือนก่อน

    Im a beginner, and DAAAAMN, this is a comprehensive video for dummies like me.

  • @parveezchoudhari7123
    @parveezchoudhari7123 ปีที่แล้ว +4

    Very nicely explained. Thanks 😊

    • @Certbros
      @Certbros  ปีที่แล้ว

      Thank you Parveez! Glad you liked it 👍

  • @lieutenant-llama6950
    @lieutenant-llama6950 ปีที่แล้ว +2

    Please do a video on all the ways you can use NS lookup. Explaining all the various DNS record types would be a good one too.

  • @built4u2
    @built4u2 ปีที่แล้ว

    Great job, we’ll spoken!

  • @camilotello3296
    @camilotello3296 ปีที่แล้ว

    I loved this video.

  • @baharehshahpar8674
    @baharehshahpar8674 5 หลายเดือนก่อน

    Awsome explanation

  • @silvanabongiorno3292
    @silvanabongiorno3292 ปีที่แล้ว

    Thank you for this tutorial.

  • @evansonmugo4469
    @evansonmugo4469 3 หลายเดือนก่อน

    a very good explanation

  • @avinashgawade822
    @avinashgawade822 ปีที่แล้ว

    excellent explanation sir.

  • @ciscobatais6530
    @ciscobatais6530 ปีที่แล้ว

    excellent video keep it up👍

  • @marlymutos1000
    @marlymutos1000 ปีที่แล้ว

    Thanks for the knowledge

  • @lalith_kumar_akhila2411
    @lalith_kumar_akhila2411 ปีที่แล้ว +4

    Great explanation

    • @Certbros
      @Certbros  ปีที่แล้ว

      Thanks Lalith! Always one of the first people to comment 🙏

  • @PetrPekarovic
    @PetrPekarovic ปีที่แล้ว

    great explanation thanks for this video

  • @sajeshk8489
    @sajeshk8489 ปีที่แล้ว +1

    Very well explained 👏 👌

    • @Certbros
      @Certbros  ปีที่แล้ว

      Thank you Sajesh! Glad you liked it.

  • @xeridea
    @xeridea ปีที่แล้ว +1

    IIRC, traceroute wasn't designed into networks and the internet, but someone clever figured out you could use the TTL value to find the hops.

  • @germancalderon1672
    @germancalderon1672 ปีที่แล้ว +2

    Thank you!

    • @Certbros
      @Certbros  ปีที่แล้ว

      You're welcome!

  • @behzadbazargan
    @behzadbazargan ปีที่แล้ว

    Very Nice , Good learn

  • @shadowrealm8937
    @shadowrealm8937 18 วันที่ผ่านมา

    great visualization, what tool you used to create it?

  • @sreejishnair5922
    @sreejishnair5922 ปีที่แล้ว

    Great tutorial, can you post video on how to perform port mirroring in Windows
    Also please make video about ICMP and how ping is a portless protocol
    I would also request you to make video on Port Binding and socket creation
    I really want to study this topics from you.
    Appreciate your efforts

  • @roeshambo
    @roeshambo ปีที่แล้ว +4

    I never realized how painful it was to hear someone say "rooter" Lol.

    • @Certbros
      @Certbros  ปีที่แล้ว

      Not as painful as it is to pronounce it r-out-er 😆

  • @markfalina9160
    @markfalina9160 ปีที่แล้ว

    I ran a tracert and received several asterisks (and "request timed out" messages) for many hops. Then one subsequent hop showed times. Afterwards, all remaining hops (limit = 30) showed asterisks and timed out messages. What message should be inferred?

  • @radicalsolih
    @radicalsolih ปีที่แล้ว

    Liiiiikkkkkkeeeeeee 😄

  • @theoryandapplication7197
    @theoryandapplication7197 21 วันที่ผ่านมา

    thanks

  • @bhaskarp6722
    @bhaskarp6722 ปีที่แล้ว

    Thank you, it was very nice explanation. I got one doubt, I understand that TTL value increases each time, and it sends, and we continue getting Time exceeded value, Type(11), what would be the reply, when it reaches destination.

  • @Martin958
    @Martin958 ปีที่แล้ว

    Is it possible to use this technology to see what hardware is sending data to your computer? eg. screen capture hardware sending data packets, or can that kind of specificity not be attained?

  • @eyecatcheramit
    @eyecatcheramit ปีที่แล้ว

    Have used tracert all my life, only learned the mechanism now 😂😂

  • @christopheryeung5785
    @christopheryeung5785 ปีที่แล้ว +1

    thx for the vide

    • @Certbros
      @Certbros  ปีที่แล้ว

      Thank you Christopher!

  • @scottcampbell5536
    @scottcampbell5536 ปีที่แล้ว

    Please note ICMP is blocked by many switches so ping and traceroute work intermittently.

  • @ierosgr
    @ierosgr ปีที่แล้ว +1

    Nice video as always, Near the end where you mentioned that a hop might have a big response time (like 500ms) and we would know that the specific hop causes delay problems, what then? How you bypass that node / hop afterwards?
    Do you just find out to whom this hop belongs to and send an email letting them know for instance?

    • @andresv8856
      @andresv8856 ปีที่แล้ว

      I really want to see this question answer .

    • @midnitefreakin
      @midnitefreakin ปีที่แล้ว

      Me too.

  • @silvanabongiorno3292
    @silvanabongiorno3292 หลายเดือนก่อน

    I have a question, I hope you can read it. Would you suggest the installation of wireshark, even if you are not troubleshooting any end users, only for private reasons?

  • @saisumanth-ju7xw
    @saisumanth-ju7xw ปีที่แล้ว

    May I know why tracert cmd was taking max of 30 hops?

  • @milesdyson5211
    @milesdyson5211 6 หลายเดือนก่อน

    QUESTION : Is it ROOT or RRRR-OUT as in Route?

  • @rishimondal3010
    @rishimondal3010 4 หลายเดือนก่อน

    Is there any API to identify the source and destination?

  • @jayrajnaik5117
    @jayrajnaik5117 ปีที่แล้ว

    As you said "e.g. if the hop is taking around 500ms to respond is potentially bottle naking the traffic."
    Is there any specific limit of time to ensure that?
    Thanks

    • @xeridea
      @xeridea ปีที่แล้ว +1

      First hop may high depending on your internet speed, though most likely less than about 60ms, unless you are saturating your connection. Certain other hops may be high if server is on another continent, and traveling under the ocean but still under 200ms (wild guess).

  • @roneezy5
    @roneezy5 7 หลายเดือนก่อน

    Did the tracert crap out because you used a private scope that wasn't a part of your network?

  • @ludzo2347
    @ludzo2347 ปีที่แล้ว +1

    I can see a lot of "request timed out" in your examples, so I was wondering what would be the potentials reasons why a hop doesn't respond to an icmp with expired ttl ?

    • @fyzzlefry
      @fyzzlefry ปีที่แล้ว +2

      some hops can have icmp disabled but will still pass traffic

  • @humairafasihahmed1754
    @humairafasihahmed1754 3 หลายเดือนก่อน

    why are there 3 packets sent tho

  • @soeasyastonercoulddoit
    @soeasyastonercoulddoit 5 หลายเดือนก่อน

    Traceroot

  • @soorajpmenon9835
    @soorajpmenon9835 ปีที่แล้ว +2

    🥲life saver

    • @Certbros
      @Certbros  ปีที่แล้ว

      No problem! Glad you liked the video