4. IP Addressing and Subnetting Flashcards
What are the five classes of IP addresses and their ranges?
• Class A: 0.0.0.0 - 127.255.255.255
• Class B: 128.0.0.0 - 191.255.255.255
• Class C: 192.0.0.0 - 223.255.255.255
• Class D: 224.0.0.0 - 239.255.255.255 (Multicast)
• Class E: 240.0.0.0 - 255.255.255.255 (Experimental)
What is the purpose of a subnet mask?
To divide an IP address into its network and host portions, enabling subnetting and efficient IP address management.
What is the loopback address and its purpose?
The loopback address (127.0.0.1) is used to test the network stack of the local device.
How does subnetting improve network efficiency?
By dividing a network into smaller subnetworks, reducing broadcast traffic and improving routing efficiency.
Explain CIDR notation with an example.
CIDR notation represents subnet masks as /N, where N is the number of bits in the network portion. Example: 192.168.1.1/24.
What is the difference between public and private IP addresses?
• Public IP addresses are globally routable on the internet.
• Private IP addresses are used within local networks and cannot be routed on the public internet.
What is VLSM and why is it useful?
Variable Length Subnet Masking allows subnets of different sizes, optimizing IP address allocation.