How Does The Internet Work?

TLDR: Routers Moving Packets According To Various Protocols

Steven Li
Steven Li
Aug 1, 2017 · 12 min read
Image for post
Image for post
Visualization of the Internet. Source: www.neondystopia.com

How does the Internet Work?

What’s a protocol?

What’s a packet?

What’s a packet routing network?

Image for post
Image for post
Command-line utility traceroute showing all the hops between my computer and google’s servers

Where did these Internet routers come from? Who owns them?

Do the packets always arrive in order? If not, how is the message re-assembled?

Do packets always make it to their destination?

What do these Internet addresses look like?

How can there be over 8 billion networked devices on the Internet if there are only about 4 billion IPv4 addresses?

How does the router know where to send a packet? Does it need to know where all the IP addresses are on the Internet?

Network Prefix: 129.42
Host Identifier: 13.69

But a router still needs to know a lot of network prefixes . If a new router is added to the Internet how does it know how to handle packets for all these network prefixes?

How do networked computers figure out ip addresses based on domain names?

How do applications communicate over the Internet?

Image for post
Image for post

What do each of these Internet layers do?

What’s a client versus a server?

How can sensitive data like credit cards be transmitted securely over the Internet?

What is SSL/TLS?

Image for post
Image for post
The medium.com web server is SSL-enabled. The browser can connect to it over https to ensure that communication is encrypted. The browser is also confident it is communicating with a real medium.com server, and not a man-in-the-middle.

How does SSL authenticate the identity of a server and encrypt their communication?

What happens if a hacker intercepts an SSL-encrypted session?

Summary

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store