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
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)
How The Internet Works
By Julien Melissas
How The Internet Works
A lighting talk for WordCamp Asheville on how the internet works.
- 4,187