By Mehraj H.
Let me tell you something that'll break your brain a little.
IPv6 can assign a unique IP address to every atom on the surface of the Earth.
And still have addresses left over.
Let that sink in for a second.
But first — why do we even need IPv6?
Cast your mind back to 1983. The internet was a tiny academic experiment. A few hundred machines, maybe. The engineers who built it created IPv4 — a 32-bit address system that could handle about 4.3 billion unique addresses.
In 1983, that felt infinite.
Today? There are over 15 billion connected devices on the planet. Phones, laptops, smart TVs, fridges, doorbells, toothbrushes — everything wants an internet connection.
4.3 billion addresses. 15 billion devices.
The math collapsed. IANA — the body that manages IP addresses globally — officially ran out of fresh IPv4 blocks in 2011. Today, IPv4 addresses are bought and sold like real estate. A single address can go for $50 or more.
Something had to change.
Enter IPv6.
Where IPv4 uses 32 bits, IPv6 uses 128 bits.
That doesn't sound like a big jump. But this is exponential math — it's not twice as many addresses. It's not even a million times more.
It's 340 undecillion addresses.
340,282,366,920,938,463,463,374,607,431,768,211,456
That's the actual number. I'll give you a moment.
To put it in perspective — if every single IPv4 address is a grain of sand, then IPv6 is every beach, every desert, every ocean floor on Earth. Combined. Multiplied by a lot.
We will never run out. Not in any realistic timeline. Not even close.
And it's not just about quantity.
IPv6 was designed from scratch with the modern internet in mind. A few things it does better:
No more NAT gymnastics. With IPv4, your router tricks the internet into thinking all your devices share one address — because there aren't enough to go around. It works, but it's a hack. IPv6 gives every single device its own globally unique address. No tricks needed.
Faster routing. IPv6 has a simpler, more efficient packet header. Routers spend less time processing each packet. Less overhead = better performance.
Built-in security. IPSec — a security protocol — is optional in IPv4 but was designed as a core part of IPv6. End-to-end encryption is a first-class citizen, not an afterthought.
Better for the future. IoT, autonomous vehicles, smart cities — all of these need billions of devices to talk to each other directly. IPv6 makes that possible without the workarounds we currently depend on.
So why isn't everyone using it already?
Great question. Honestly, it's frustrating.
IPv6 has existed since 1998. That's over 25 years. And as of today, only around 40–45% of global internet traffic actually uses it.
The reason? Legacy infrastructure. Switching costs. And the fact that IPv4 — propped up by clever hacks like NAT — still works well enough that nobody's in a burning rush to migrate.
It's the classic "if it ain't broke" problem. Except it is broke. We're just very good at not noticing.
The transition is happening though — slowly, surely. Every major cloud provider supports it. Google, Facebook, and most big platforms have been dual-stack (running both IPv4 and IPv6 simultaneously) for years. ISPs are catching up.
We're getting there.
The bigger takeaway.
IPv6 isn't just a technical upgrade. It's a philosophical one.
IPv4 was built for a world where the internet was a luxury for a few. IPv6 was built for a world where connectivity is a right for everything — every person, every device, every corner of the planet.
340 undecillion addresses means we never have to ration again. No more buying and selling addresses like scarce commodities. No more NAT headaches. No more running out.
For the first time in internet history, we built something big enough for the future we're actually building toward.
That's not just good engineering.
That's vision.
By Mehraj H.
Please Do Not Throw Sausage Pizza Away 🔥
Imagine I just sent you a message. Behind the scenes, how does this message actually travel from my device all the way to your phone screen — starting from raw bits to finally appearing in front of you?
This entire journey is exactly what the OSI Model helps us understand.
What is the OSI Model?
OSI stands for Open Systems Interconnection Model. It was developed in 1984 by the International Organization for Standardization (ISO). The main goal was to create a standard framework so that devices and networks from different manufacturers could communicate with each other seamlessly. It divides the whole networking process into 7 logical layers.
Here’s how my message travels through these layers:
Physical Layer — This is the pure hardware layer. It deals with cables, fiber optics, wireless signals, and raw bit streams. Everything starts here — how data physically moves from one point to another.
Data Link Layer — Responsible for node-to-node delivery. It handles MAC addresses, switches, Ethernet frames, and error checking (CRC). This layer makes sure data is transferred safely within your local network. ARP protocol works here too.
Network Layer — The kingdom of routers! It manages IP addresses, routing, and packet forwarding. This layer decides the best path for my message to travel across the world to reach your device.
Transport Layer — Ensures end-to-end communication. This is where TCP (reliable, with handshake, sequencing, and flow control) and UDP (fast but less reliable) come in. Port numbers are also handled at this layer.
Session Layer — Manages the session between devices. It establishes, maintains, and terminates connections. It can also add checkpoints so that if a connection drops midway, it can resume without starting over.
Presentation Layer — Takes care of data format, encryption, and compression. Things like SSL/TLS encryption, ASCII/Unicode conversion, and JPEG compression happen here. It prepares the data so the application layer can understand it properly.
Application Layer — The layer we interact with directly. This includes protocols like HTTP, HTTPS, FTP, SMTP, and DNS. It’s the starting point when I send the message and the final point when it reaches you.
In real life, the TCP/IP model is used more often, but the OSI model gives us a clear, structured way to understand how networking actually works under the hood. If you can explain this well during system design interviews or troubleshooting discussions, you instantly come across as someone who really knows their stuff!
By Mehraj H.
How HTTPS Works: Securing the Web
In today's digital age, security is foremost. Whether you're shopping online, banking, or just browsing the web, ensuring your data remains private and secure is crucial. HTTPS, which stands for HyperText Transfer Protocol Secure, is the protocol that makes secure online communication possible. Here's a breakdown of how HTTPS works and why it's essential for your online safety.
1. What is HTTPS?
HTTPS is an extension of HTTP (HyperText Transfer Protocol), the fundamental protocol used for transferring data across the web. The key difference between HTTP and HTTPS is the "S," which stands for "Secure." HTTPS uses encryption to protect the data exchanged between your browser and the server, preventing eavesdropping and tampering.
2. The Role of SSL/TLS
The security in HTTPS comes from SSL (Secure Sockets Layer) or its successor, TLS (Transport Layer Security). These cryptographic protocols establish an encrypted link between the client (your browser) and the server. When you see a padlock icon in your browser's address bar, it indicates that the site is using HTTPS.
3. How HTTPS Encryption Works
a. Establishing a Connection: When you visit an HTTPS site, your browser and the web server perform a "handshake" to establish a secure connection. This process involves:
Authentication: The server presents an SSL/TLS certificate, issued by a trusted Certificate Authority (CA), to prove its identity.
Encryption: The browser and server generate encryption keys to secure the data exchange.
b. Data Transfer: Once the secure connection is established, all data sent between your browser and the server is encrypted. This encryption ensures that even if someone intercepts the data, they won't be able to read or manipulate it.
4. Benefits of HTTPS
Data Integrity: Ensures that the data sent and received is not altered during transit.
Privacy: Protects sensitive information like login credentials, credit card numbers, and personal data from being intercepted.
Trust and Credibility: Websites with HTTPS are perceived as more trustworthy, which can enhance user confidence and improve search engine rankings.
5. The Future of HTTPS
With increasing concerns about online security and privacy, HTTPS is no longer optional; it's a necessity. Major web browsers now flag non-HTTPS sites as "Not Secure," pushing website owners to adopt HTTPS. Additionally, advancements in SSL/TLS protocols continue to enhance security, making it harder for malicious actors to breach encrypted connections.
n summary, HTTPS plays a critical role in securing our digital interactions. By encrypting data and verifying the authenticity of websites, it protects users from various online threats. As we continue to navigate the complexities of the internet, HTTPS remains a cornerstone of web security, ensuring a safer and more trustworthy online experience.