IPv4 Addressing
Nerd Cafe
What is IPv4?
Step 1: Understand IP Classes (Classful Addressing)
Class
Starting IP
Ending IP
Default Subnet Mask
Usage
Step 2: Practical Example
Find the Class:
Classful or Classless?
Step 3: Convert Prefix /28 to Subnet Mask
/28 to Subnet MaskStep 4: Calculate the Network Address
Step 5: Calculate Broadcast Address
Step 6: Find First and Last Host
Step 7: Total Number of Hosts
Summary
Item
Value
Step 8: Python Code for an IP Calculator
Output
Keywords
Last updated