CrashCourse · @crashcourse

The Internet: Crash Course Computer Science #29

Uploaded June 8, 2018 · Length 11:58

The Internet: Crash Course Computer Science #29

Summary

This video explains how the internet works, covering IP addresses, packets, UDP, and TCP protocols for data transmission.

  • how internet works
  • ip addresses explained
  • data packets
  • udp vs tcp
  • internet protocols

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:03

    Hi, I’m Carrie Anne, and welcome to CrashCourse Computer Science!

  2. 0:06

    As we talked about last episode, your computer is connected to a large, distributed network,

  3. 0:10

    called The Internet.

  4. 0:11

    I know this because you’re watching a youtube video, which is being streamed over that very

  5. 0:15

    internet.

  6. 0:16

    It’s arranged as an ever-enlarging web of interconnected devices.

  7. 0:19

    For your computer to get this video, the first connection is to your local area network,

  8. 0:23

    or LAN, which might be every device in your house that’s connected to your wifi router.

  9. 0:28

    This then connects to a Wide Area Network, or WAN, which is likely to be a router run

  10. 0:32

    by your Internet Service Provider, or ISP – companies like Comcast, AT&T or Verizon.

  11. 0:37

    At first, this will be a regional router, like one for your neighborhood, and then that

  12. 0:41

    router connects to an even bigger WAN, maybe one for your whole city or town.

  13. 0:45

    There might be a couple more hops, but ultimately you’ll connect to the backbone of the internet

  14. 0:49

    made up of gigantic routers with super high-bandwidth connections running between them.

  15. 0:53

    To request this video file from youtube, a packet had to work its way up to the backbone,

  16. 0:58

    travel along that for a bit, and then work its way back down to a youtube server that

  17. 1:01

    had the file.

  18. 1:03

    That might be four hops up, two hops across the backbone, and four hops down, for a total

  19. 1:07

    of ten hops.

  20. 1:08

    If you’re running Windows, MacOS or Linux, you can see the route data takes to different

  21. 1:12

    places on the internet by using the traceroute program on your computer.

  22. 1:16

    Instructions in the Doobly Doo.

  23. 1:18

    For us here at the Chad & Stacey Emigholz Studio in Indianapolis, the route to the DFTBA

  24. 1:22

    server in California goes through 11 stops.

  25. 1:25

    We start at 192.168.0.1 -- thats the IP address for my computer on our LAN.

  26. 1:30

    Then there’s the wifi router here at the studio, then a series of regional routers,

  27. 1:34

    then we get onto the backbone, and then we start working back down to the computer hosting

  28. 1:39

    “DFTBA dot com”, which has the IP address 104.24.109.186.

  29. 1:43

    But how does a packet actually get there?

  30. 1:47

    What happens if a packet gets lost along the way?

  31. 1:50

    If I type “DFTBA dot com” into my web browser, how does it know the server’s address?

  32. 1:54

    Those are our topics for today!

  33. 1:56

    INTRO