Skip to content

Pratama Digital

Your Digital Partner

Menu
  • Home
  • Download Area
  • Pratama Digital Net
  • Internet Speed Test
  • About Us
Menu

Class IP address and public & private IP address

Posted on January 17, 2024

IP addresses are divided into classes based on their first octet. The three main classes are A, B, and C. Each class has a different range of possible values for the first octet and is used for different types of networks.

IP Classes:

  1. Class A:
    • First Octet Range: 1-126
    • Example: 10.0.0.1
    • Default Subnet Mask: 255.0.0.0
    • Reserved for very large networks
  2. Class B:
    • First Octet Range: 128-191
    • Example: 172.16.0.1
    • Default Subnet Mask: 255.255.0.0
    • Suitable for medium-sized networks
  3. Class C:
    • First Octet Range: 192-223
    • Example: 192.168.0.1
    • Default Subnet Mask: 255.255.255.0
    • Used for small networks

Public and Private IP Addresses:

  • Public IP Address: These are routable on the Internet. They are unique and can be used to identify a device on the global network.
  • Private IP Address: These are reserved for use within private networks and are not routable on the Internet. They are used for internal communication within a network.

Commonly used private IP address ranges:

  • Class A: 10.0.0.0 to 10.255.255.255
  • Class B: 172.16.0.0 to 172.31.255.255
  • Class C: 192.168.0.0 to 192.168.255.255

Calculating IP Range:

When calculating the IP range for a subnet, you need to consider the network address, the usable IP addresses, and the broadcast address. Here’s a basic formula:

  1. Network Address: This is the base address of the subnet, obtained by setting all host bits to zero.
  2. Usable IP Addresses: All addresses between the network address and the broadcast address, excluding both.
  3. Broadcast Address: This is the last address in the subnet, obtained by setting all host bits to one.

Example:

  • IP Address: 192.168.1.0
  • Subnet Mask: 255.255.255.0
  1. Network Address: 192.168.1.0
  2. Usable IP Range: 192.168.1.1 to 192.168.1.254
  3. Broadcast Address: 192.168.1.255

Remember, these calculations may vary if you are using subnetting. Subnetting involves dividing a larger network into smaller sub-networks, allowing for better organization and utilization of IP addresses.

Share this:

  • Facebook
  • X

Related

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • 10 Powerful Alternatives to MikroTik for Small to Enterprise Networks
  • LDAP: A Guide for Linux System Administrators
  • Virtual Private Server (VPS): A Guide for Beginners
  • Forward Ports on Your Router for Online Games
  • MikroTik RouterOS 6 vs. RouterOS 7: Key Differences, Advantages, and Disadvantages

Tags

24h clock adobe adobe cc adobe cs master almalinux arduino autodesk basic ip address cad software calculator php connect java dns server download photoshop ecmp formula ipv4 innodb install iptables ipsec iptables java mysql linux firewall linux mint linux security load balance microsoft office myisam mysql mysql engine node.js nodejs nth office alternative openvpn pcc php port game online port mikrotik postgresql postgresql to mysql public dns rocky linux running text script php ubuntu LTS wireguard

Categories

  • Advertising
  • CAD software
  • Computer Component
  • Control Panel
  • Database
  • DNS
  • Download
  • File Server
  • Firewall
  • Graphic Design
  • Internet
  • IP Address
  • Linux OS
  • Load Balance
  • Mikrotik
  • Movie
  • Novel/Book
  • Office
  • OpenWRT
  • Processor & GPU
  • Programming
  • Routing
  • Security
  • Server
  • Tutorial
  • Video Editing
  • VPN
  • Web Programming
  • Windows OS
  • Wordpress

About Us

We are a company specializing in network configuration, MikroTik and computer installation services, as well as wifi setup. With experience dating back to 2017, we have gained the trust of numerous clients from various regions who rely on our services. Our expertise extends to catering to personal, office, institutional, and industrial needs.

Archives

  • December 2024
  • September 2024
  • June 2024
  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023

Recent Posts

  • 10 Powerful Alternatives to MikroTik for Small to Enterprise Networks
  • LDAP: A Guide for Linux System Administrators
  • Virtual Private Server (VPS): A Guide for Beginners
  • Forward Ports on Your Router for Online Games
  • MikroTik RouterOS 6 vs. RouterOS 7: Key Differences, Advantages, and Disadvantages
©2025 Pratama Digital | Design: Newspaperly WordPress Theme