By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Addressing is the system of assigning unique identifiers (addresses) to devices, services, or data locations in a network. You use it to route messages, access resources, or organize information efficiently—whether in IP networks, blockchain wallets, or memory management.
Without addressing, networks collapse into chaos. It enables: - Communication: Devices find each other (e.g., sending an email to [email protected]).- Resource access: Servers locate files (e.g., https://example.com/data.json).- Scalability: Billions of devices connect without collisions (e.g., IPv6).- Security: Isolate or verify entities (e.g., cryptocurrency wallet addresses).
[email protected]
https://example.com/data.json
00:1A:2B:3C:4D:5E
192.168.1.1
google.com
0x71C...
Addresses are often hierarchical for efficiency: - IPv4: 192.168.1.1 (Network.Subnet.Host).- URLs: https://sub.domain.com/path (Protocol.Subdomain.Domain.Path).- Memory: 0x7FFF5FBFFD4C (Segment:Offset).
https://sub.domain.com/path
0x7FFF5FBFFD4C
Converting one address type to another: - DNS: google.com → 142.250.190.46.- ARP: 192.168.1.1 → 00:1A:2B:3C:4D:5E.- NAT: Private IP (192.168.1.100) → Public IP (203.0.113.45).
142.250.190.46
192.168.1.100
203.0.113.45
example.com
93.184.216.34
int* ptr = &x;
0x...
# Linux/macOS: Show IP and MAC addresses ifconfig # or `ip a` on Linux
Expected output:
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:1a:2b:3c:4d:5e
# Use `dig` (Linux/macOS) or `nslookup` (Windows) dig google.com +short
# Linux: Release and renew IP (requires sudo) sudo dhclient -r eth0 # Release sudo dhclient eth0 # Renew
// Using ethers.js (Node.js) const { ethers } = require("ethers"); const wallet = ethers.Wallet.createRandom(); console.log("Address:", wallet.address); console.log("Private Key:", wallet.privateKey);
Address: 0x71C7656EC7ab88b098defB751B7401B5f6d8976F Private Key: 0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d
192.168.x.x
arp -a
arp -n
255.255.255.0
/24
192.168.2.1
192.168.1.0/24
.env
.gitignore
nullptr
0x71c...
wireshark -k -i eth0
nmap -sn 192.168.1.0/24
dig example.com
ip addr show
ethers.Wallet.createRandom()
docker network inspect bridge
aws_instance.example.private_ip
router.local
203.0.113.45:8080
192.168.1.100:80
myapp-123456.us-east-1.elb.amazonaws.com
1A1zP...
You’re setting up a home server and want to ensure it always has the same IP. What’s the best approach? - A: Hardcode 192.168.1.100 in the server’s network settings.- B: Configure the router’s DHCP to reserve 192.168.1.100 for the server’s MAC address.- C: Use a dynamic DNS service to map a domain name to the server’s IP.- D: Assign a public IP directly to the server.
Correct Answer: BExplanation: DHCP reservations ensure the server always gets the same IP without manual configuration, reducing conflicts.Why the Distractors Are Tempting: - A: Hardcoding works but risks conflicts if another device uses the IP.- C: Dynamic DNS is useful for public access but doesn’t solve local IP assignment.- D: Public IPs are unnecessary for local servers and may expose them to attacks.
A user types https://example.com in their browser. Which addressing step happens first? - A: The browser resolves example.com to an IP using DNS.- B: The router forwards the request to the ISP.- C: The OS checks the local ARP cache for the MAC address.- D: The browser sends an HTTP GET request to example.com.
https://example.com
Correct Answer: AExplanation: DNS resolution converts the domain name to an IP before any routing or ARP lookups occur.Why the Distractors Are Tempting: - B: Routing happens after DNS resolution.- C: ARP is used for local network communication, not for resolving domain names.- D: HTTP requests require an IP address, so DNS must resolve first.
You’re writing a C program and need to pass a variable’s memory address to a function. Which syntax is correct? - A: function(&variable); - B: function(*variable); - C: function(variable.address); - D: function(variable);
function(&variable);
function(*variable);
function(variable.address);
function(variable);
Correct Answer: AExplanation: The & operator retrieves the memory address of variable.Why the Distractors Are Tempting: - B: * dereferences a pointer (opposite of &).- C: .address is not valid C syntax for this purpose.- D: Passing variable sends its value, not its address.
&
variable
*
.address
ping
traceroute
8.8.8.8
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.