How "The Internet" works โšก

A lightning talk by

Julien Melissas

Hi! I'm Julienย ๐Ÿค“

Twitter: @JulienMelissas

Technical Director atย Craftpeak

I like...

  • Dogs
  • Motorcycling
  • Music
  • Cooking
  • Other Stuff

Dina

Wilbur

Fun Fact:

In High School I hung out in the basement and got some Cisco networking certifications that say I'm qualified to talk about this stuff. Nerdy, huh?

There's no way I can explain how "The Internet" fully works in 10 minutes, sorry.

๐Ÿ˜ž

But I can try.

๐Ÿ˜•

"It's a series of tubes"

๐Ÿš‡

What is this "Internet" thing anyways?

๐Ÿค”

Internet:

a vast computer network linking smaller computer networks worldwide (usually preceded by the). The Internet includes commercial, educational, governmental, and other networks, all of which use the same set of communications protocols.

Internet:

a vast computer network linking smaller computer networks worldwide (usually preceded by the). The Internet includes commercial, educational, governmental, and other networks, all of which use the same set of communications protocols.

Capitalization

  • "The Internet"
  • "Internet"
  • "internet"

ย 

More Info, Also Here

Nerd Speak

๐Ÿ—ฃ

Client ๐Ÿ’ป

A "thing" that requests information.

Server ๐Ÿ“ 

A "thing" that sends information.

Router ๐Ÿ“ก

The "traffic director" of the internet, sometimes wireless.

Modem โ˜Ž๏ธ

A box that sends and receivies packets from the Internet Service Provider.

Hardware

Packet ๐Ÿ“จ

A unit of data transferred over the internet.

IP Address ๐Ÿ“ฅ

A number that is a unique address for anything that lives on an internet.

TCP ๐Ÿ› 

Transmission Control Protocol, manages the breaking down and assembly of packets.

DNS ๐Ÿ”ฎ

Servers that translate a domain name into a server's IP Address.

Software

Okay, start paying attention.

โ‰๏ธ

We need an IP Address

๐Ÿ“ฅ

๐Ÿ“ก

๐Ÿ’ป

Yo, I need an IP Address

Oh, word. I'm supposed to be pretty good at that. I've got DHCP bro.

๐Ÿ“ก

๐Ÿ’ป

Heck yeah! Thanks homes!
Well my IP address is 192.168.1.1 but I can hand out any IP address from 192.168.1.10 - 50. Here's 192.168.1.15!

High Five!

๐Ÿ™

Let's "ping" something

๐Ÿ“ฒ

What just happened?

๐Ÿ˜ฑ

โ˜Ž๏ธ

๐Ÿ“ก

๐Ÿ’ป

๐Ÿ“จ

๐Ÿ“ก

๐Ÿ“ 

โ˜Ž๏ธ

๐Ÿ“ก

๐Ÿ“ก/โ˜๏ธ

๐Ÿ”ฎ

Lets do a Traceroute!

๐ŸŒ

(image from HowStuffWorks)

Okay, how does this relate to my WordPress site?

๐Ÿ˜ด

Your WordPress site lives on a server.

๐Ÿ“ 

Every time someone wants to view your site, they request it via a packet.

๐Ÿ’ป โžก๏ธ ๐Ÿ“จ

First, your computer has to ask DNS what IP address your server's hosting company has. It'll say something like:

example.com actually lives somewhere with the IP address of 93.184.216.34

๐Ÿ’ป โžก๏ธ ๐Ÿ”ฎ

Your local router talks to the internet, which gets it to your hosting provider, who lives at that IP address.

๐Ÿ“ก โžก๏ธ โ˜๏ธ โžก๏ธ ๐Ÿ“ก

The Server processes everything with PHP, packages the website's data up, and sends it back your way.

๐Ÿ“  โžก๏ธ ๐Ÿ“ฉ

Your hosting provider's router sends it back to the internet, which finds your router via the packet's destination header, and sends the packets.

๐Ÿ“ก โฌ…๏ธ โ˜๏ธ โฌ…๏ธ ๐Ÿ“ก

Your router finds your computer and delivers the information. Your computer's web browser saves the response and displays the webpage!

๐Ÿ’ปย โฌ…๏ธ ๐Ÿ“ก

High Five!

๐Ÿ™

Thanks!

Any Questions?

Bonus Thing: What is IPv6 and why should I care?

๐ŸŒŸ

IPv4 Address:

0-255.0-255.0-255.0-255

๐Ÿ˜–

That's a 32-bit number because 8 x 4 = 32

ย 

Some Examples:

0000 0000 = 0

0100 0100 = 34

1111 1111 = 255

๐Ÿค”

So 256 x 256 x 256 x 256 = ~4.3billion

ย 

There are projected to be 6.1billion smartphones in use in the world by 2020!

IPv6 Address:

2001:0DB8:7AAB:0008:0000:0000:A573:2618

(super good article on IPv4 vs IPv6 here)

Made with Slides.com