Advanced Local Deployment for Remote Access
Networking Basics
Your Computer's Address
Every device connected to the internet needs a unique address, just like every house on a street needs a unique address for mail. In the world of computer networks, this is called an IP address. It’s a series of numbers that identifies a device on a network, allowing data to be sent to the right place.
IP Address
noun
An Internet Protocol address is a unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication.
There are two main versions you'll encounter. IPv4 is the older format, which looks like this: 192.168.1.1. As the internet grew, we started running out of these addresses, which led to the creation of IPv6. IPv6 addresses are much longer and provide a vastly larger pool of unique addresses.
IP addresses also come in two flavors: public and private.
- Public IP Address: This is the address your router uses to communicate with the rest of the internet. It's unique across the entire web. Think of it as your home's mailing address.
- Private IP Address: These are used for devices within your local network, like your laptop, phone, and smart TV. They can't be reached directly from the internet, which adds a layer of security. Many different home networks can use the same private addresses (like 192.168.1.101) without any conflict.
The Internet's Phone Book
Remembering long strings of numbers is hard. Imagine having to memorize the phone number of everyone you know. It's much easier to remember their names. The internet works the same way, thanks to the Domain Name System, or DNS.
DNS
noun
The Domain Name System is the hierarchical and decentralized naming system used to identify computers, services, and other resources reachable through the Internet or other Internet Protocol networks.
DNS acts as the internet's phone book. It translates human-friendly domain names, like google.com, into machine-friendly IP addresses, like 142.250.191.78. When you type a web address into your browser, your computer sends a request to a DNS server, which looks up the correct IP address and sends it back. Your browser then uses that IP address to connect to the website's server.
Sharing A Connection
We've established that every device on your local network has its own private IP address, but they all share one public IP address through your router. How does the router know which device to send incoming data to? This is managed by Network Address Translation, or NAT.
NAT
noun
Network Address Translation is a method of remapping one IP address space into another by modifying network address information in the IP header of packets while they are in transit across a traffic routing device.
NAT works like a receptionist in an office building. Imagine you send a letter from your desk. The receptionist receives it, puts the company's main address on the envelope, and notes which desk it came from. When a reply arrives at the main address, the receptionist checks the note and delivers the letter to your specific desk.
Your router does the same thing. When your laptop requests a webpage, the router sends the request out to the internet using its public IP address. It keeps a record of this request in a special table. When the webpage data returns to the router's public IP, the router checks its table, sees the data is for your laptop, and forwards it to your laptop's private IP address. This process allows many devices to use the internet simultaneously through a single connection.
What is the primary function of an IP address in a computer network?
Why was the IPv6 address format created?
Understanding these core concepts—IP addresses for location, DNS for translation, and NAT for sharing—is the foundation for making any application or service accessible over a network.