CompTIA Network+ Certification Exam Tutorial: The Five IP Address Classes
Computers & Technology → Networking
- Author Chris Bryant
- Published October 26, 2006
- Word count 731
Passing the CompTIA Network+ certification exam and going on to become a subnetting expert is mastering the basics of IP addressing, and that means knowing the different classes, their default masks, and what these masks mean. Let’s get started!
Part of every IP address indicates the network the host is part of, and the other part identifies that particular host. You need to be able to look at an IP address and determine the network and host portions, and you do that by determining the class of the address.
Many books list only three network classes, but there are five. Since you shouldn't assign an address from the last two classes to a host, you better know what they are!
Class A networks have a beginning octet of 1 - 126.
Class B networks have a beginning octet of 128-191.
Class C networks have a beginning octet of 192 - 223.
Notice a number missing? 127 is the reserved first octet for loopback addresses, such as the 127.0.0.1 address assigned to a PC.
Class D networks are reserved for multicasting. Class D addresses begin with an octet in the 224 - 239 range.
Class E networks are reserved for "experimental use", and the first octet of these addresses is 240 - 255. Those addresses are reserved by the Internet Engineering Task Force (IETF). Neither Class D nor Class E networks should be assigned to host devices. For exam and real-world purposes, the entire address range 224.0.0.0 - 255.255.255.255 are unacceptable for assignment to network hosts, as is any address beginning with 127.
Now, what does all this have to do with identifying the network and host portions of an address? Classes A, B, and C all have different default network masks, and it's that mask that tells you which part of an address is the network portion and which part is the host portion.
Class A's default mask is 255.0.0.0, or /8
Class B's default mask is 255.255.0.0, or /16
Class C's default mask is 255.255.255.0, or /24.
Even if you were already familiar with these default masks, you may be wondering what that "/8" business is. This is another way to express a network mask. It's called prefix notation, and it's much less complicated than it sounds. The number behind the slash is simply the number of consecutive ones at the beginning of the mask when it's expressed in binary.
255.0.0.0 in binary is 11111111 00000000 00000000 00000000.
255.255.0.0 in binary is 11111111 11111111 00000000 00000000.
255.255.255.0 in binary is 11111111 11111111 11111111 00000000.
When you see all the values in an octet set to 1, the value of the octet is 255. If you see an IP address with an octet set higher than 255, it's invalid. ("256.1.1.1" literally cannot happen, so it's an invalid address.)
Prefix notation is the preferred way of expressing subnet masks. A mask of /8 is pronounced "slash eight", which is a lot better than saying "two-fifty-five zero zero zero". It also has less numbers to type, which I still believe is the real reason we use it! You might not see prefix notation on your Network+ exam, but since it’s so commonly used in network documentation, you need to know it.
Now, about those network and host portions.....
The Class A network mask 255.0.0.0 means the first octet of the address is the network portion, and the final three octets are the host portion.
The Class B network mask 255.255.0.0 means the first two octets of the address are the network portion, and the final two octets are the host portion.
The Class C network mask 255.255.255.0 means the first three octets of the address are the network portion, and the final octet is the host portion.
Identifying the network or host portion of a given IP address is a two-step process:
-
Determine the address class by examining the first octet
-
Use the network mask to determine the network and host portions
Let's get a little practice with this. What is the network portion of the address 23.14.189.200?
-
The first octet falls into the Class A range
-
The network mask for Class A is 255.0.0.0, meaning that the first octet of the address is the network portion and the remaining three octets are the host portion
That's really all there is to it. The first octet, "23", is the network portion. The remaining octets, "14.189.200", comprise the host portion.
It’s just that simple to identify the network and host portions of an IP address. But what happens when we run out of IP addresses for our hosts? Find out in my next CompTIA Network Plus exam tutorial!
Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage (http://www.thebryantadvantage.com).
For his FREE seven-part course, “How To Pass The CCNA”, visit the website and sign up today! Daily free CCNA, CCNP, Network+, Security+, and A+ certification questions, too!
Article source: https://articlebiz.comRate article
Article comments
There are no posted comments.
Related articles
- Optimize Your Website for the Better Sight
- How To Develop & Implement A Network Security Plan
- Mastering VoIP: Overcoming Common Communication Challenges
- What Concerns Do Enterprises Have When Choosing Network Monitoring Software?
- Spectrum Router Red Light: Troubleshooting Guide and Solutions
- Web Development Made Easy: Why Outsourcing is the Smart Choice
- INTERNET OF THINGS
- Enhancing Business Communication with 3CX: A Powerful Unified Communications Solution
- How to Fix "No Signal, Please Check Your Antenna Connection" Error
- AN INTRODUCTION TO INTERNET MARKETING
- Passwordless is the New Cyber Security, Emir Ceric’s Meveto Transform Verification, Logging In and Remote Sign Out
- The Ultimate Guide to Master YouTube and Monetization
- Preventing data theft in an enterprise environment
- The Art Of Cold Calling [Mastery In Seven Simple Steps]
- Quantum Computing and the future of IT Security
- 5G TECHNOLOGY AND IOT: HOW DO THESE TRENDS RELATE?
- SkyVPN Launches New Gaming Servers with Dedicated Servers for PUBG
- Smm reseller panel
- Steps to Transfer Files Using Kindle Desktop Application
- Save time on your FTP updates with FTPGetter Professional
- Add a file hosting and sharing service to your site with YetiShare
- MCS Multicast Switch for Next Generation ROADM
- Business Networking Tips for Beginners
- Using Virtual Serial Ports in Proteus
- Network Security Checklist for All Types of Businesses
- Create Your Own File-Hosting Website with YetiShare
- Cat5 cable vs Cat6 Cables: What are the Contrast?
- Automate FTP Downloads and Uploads with FTPGetter Professional
- On Demand Freelance Marketplace For Field Engineers
- Cisco Network Infrastructure Services in San Francisco