Understanding Private vs Public IP Addresses
📖 Scenario: You are setting up a small office network and need to understand how devices inside your office communicate with each other and with the internet.
🎯 Goal: Build a simple data structure that lists devices with their IP addresses, identify which IPs are private or public, and mark them accordingly.
📋 What You'll Learn
Create a dictionary with device names as keys and their IP addresses as values.
Add a list of private IP address ranges to check against.
Write logic to determine if each device's IP address is private or public.
Add a final dictionary that shows each device with its IP and whether it is private or public.
💡 Why This Matters
🌍 Real World
Understanding private vs public IP addresses helps in setting up secure home or office networks and managing internet access.
💼 Career
Network administrators and IT support staff need to know how to identify and configure private and public IP addresses for devices.
Progress0 / 4 steps