Why can't every device have its own unique IP address?
Why can't every device have its own unique IP address?
Imagine you're in a small apartment building with only one phone line. Everyone wants their own phone number, but there's only one available.
NAT allows multiple devices to share a single IP address by changing the IP address information in the packet header, so everyone can use the one phone line.
Example
Your laptop (IP: 192.168.1.2) and smartphone (IP: 192.168.1.3) both send data to the Internet using the same home IP address (192.168.1.1) through NAT.
Remember this
NAT lets many devices use one IP address, conserving the limited number of available IP addresses.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
TCP vs UDP: TCP guarantees delivery order, UDP is faster but unreliable
TCP guarantees delivery order, UDP is faster but unreliable
Domain Name System
DNS translates domain names to IP addresses
Peer-to-peer
How do you find a lost friend in a huge city?
consistent hashing solves: minimizes key redistribution when servers are added/removed
Ever wonder why adding or removing servers doesn't mess up your favorite streaming service?
the lottery ticket hypothesis says: sparse subnetworks can match full network performance
Can a small part of a puzzle fit perfectly into its place by chance?
File system
Can you instantly share a photo from your phone across devices worldwide?
Swipe through 100 ML concepts daily
Open Pocket Polymath