IP address classes
In the context of the CCNA exam, understanding IP address classes is fundamental for networking. IP addresses are divided into different classes based on the range of IP addresses they represent. There are five main classes of IP addresses: A, B, C, D, and E. However, for the CCNA exam, you'll primarily focus on Classes A, B, and C because these are used for addressing in most networks.
IP Range: 0.0.0.0 to 127.255.255.255
0.0.0.0
127.255.255.255
Default Subnet Mask: 255.0.0.0 or /8
255.0.0.0
/8
Usable Hosts: 16,777,214
First Octet Range: 0 to 127 (the first bit is always 0)
0
Description:
Class A IP addresses are typically used for very large networks.
These addresses are assigned to organizations that need a large number of IP addresses.
The range 127.x.x.x is reserved for loopback addresses (used for testing).
127.x.x.x
IP Range: 128.0.0.0 to 191.255.255.255
128.0.0.0
191.255.255.255
Default Subnet Mask: 255.255.0.0 or /16
255.255.0.0
/16
Usable Hosts: 65,534
First Octet Range: 128 to 191 (the first two bits are 10)
10
Class B addresses are used for medium-sized networks.
Often assigned to universities, large businesses, or other organizations that need more than a Class C network but not as many as a Class A network.
IP Range: 192.0.0.0 to 223.255.255.255
192.0.0.0
223.255.255.255
Default Subnet Mask: 255.255.255.0 or /24
255.255.255.0
/24
Usable Hosts: 254
First Octet Range: 192 to 223 (the first three bits are 110)
110
Class C addresses are used for small networks, typically used in home networks or small businesses.
This class is the most common for consumer and small office networks.
IP Range: 224.0.0.0 to 239.255.255.255
224.0.0.0
239.255.255.255
Class D addresses are used for multicast groups, not for regular network addressing.
These addresses are used to send data to multiple destinations simultaneously (e.g., streaming media or other applications that need to send data to multiple clients).
IP Range: 240.0.0.0 to 255.255.255.255
240.0.0.0
255.255.255.255
Class E addresses are reserved for experimental or future use by the IETF (Internet Engineering Task Force).
These addresses are not used in general networking.
Class
IP Range
Default Subnet Mask
Usable Hosts
Usage
A
0.0.0.0 to 127.255.255.255
255.0.0.0 or /8
16,777,214
Large networks
B
128.0.0.0 to 191.255.255.255
255.255.0.0 or /16
65,534
Medium-sized networks
C
192.0.0.0 to 223.255.255.255
255.255.255.0 or /24
254
Small networks (home/small business)
D
224.0.0.0 to 239.255.255.255
N/A
Multicast
E
240.0.0.0 to 255.255.255.255
Reserved (experimental)
Class A, B, and C addresses are what you'll most commonly deal with in practice.
Subnetting is often tested in the CCNA exam, so knowing how to divide these classes into subnets using different subnet masks is crucial.
Class D and Class E aren't usually involved in day-to-day networking unless you're working with specialized multicast or experimental setups.
Class A IP addresses
To prepare for the CCNA exam, understanding Class A IP addresses is essential. Here's a detailed breakdown of what you need to know about Class A IP addresses:
First Octet Range: 0 to 127 (the first bit is 0)
127
Usable Hosts per Network: 16,777,214
Class A Address Type: Public addresses (routable over the internet)
An IPv4 address is made up of four octets (8 bits each). For a Class A address, the first octet (the first 8 bits) determines the network portion, and the remaining three octets are used for hosts.
Default Subnet Mask for Class A: 255.0.0.0 or /8
This means the first 8 bits (the first octet) are reserved for the network portion, and the remaining 24 bits are used for the host portion.
Let's break down the structure:
Network Portion: The first 8 bits (first octet) are used for the network. This means a Class A network can accommodate a large number of hosts.
Host Portion: The remaining 24 bits (last three octets) are available for the hosts. This allows for 16,777,214 hosts in a Class A network (2^24 - 2).
The first octet of a Class A address always falls between 0 and 127.
Class A Address Range: 0.0.0.0 to 127.255.255.255
For example, 10.0.0.0 or 126.0.0.0 are valid Class A addresses.
10.0.0.0
126.0.0.0
Massive Address Space:
Class A networks are typically used for large organizations or internet service providers (ISPs) because of the vast number of host addresses available.
With 16,777,214 possible hosts per Class A network, these addresses are ideal for large networks, such as multinational corporations.
Network Size:
A single Class A network can have up to 16 million hosts.
Example: The IP address 10.0.0.0 can use 10.0.0.1 through 10.255.255.254 for host addresses. The total usable host addresses are 16,777,214.
10.0.0.1
10.255.255.254
Reserved Addresses:
The IP address 127.0.0.0 to 127.255.255.255 is reserved for loopback addresses. This range is used for internal communication within a device (e.g., when testing network software).
127.0.0.0
Loopback Address: 127.0.0.1 is commonly referred to as "localhost" or the "loopback address." It's used for testing and troubleshooting network configurations on the local device.
127.0.0.1
Valid Class A IP address range: 1.0.0.0 to 126.255.255.255
1.0.0.0
126.255.255.255
Example 1: 10.1.1.1 is a Class A address.
10.1.1.1
Example 2: 126.255.255.254 is also a Class A address.
126.255.255.254
Loopback addresses range from 127.0.0.0 to 127.255.255.255, but these are not used for typical networking.
With Class A, the default subnet mask is /8 (255.0.0.0), meaning the network portion is only the first 8 bits.
However, you can subnet a Class A network into smaller networks by borrowing bits from the host portion. For example:
A subnet mask of 255.255.0.0 or /16 gives you 65,534 hosts per subnet.
A subnet mask of 255.255.255.0 or /24 gives you 254 hosts per subnet.
The CCNA exam will test your ability to identify and work with different address classes. You should be able to:
Identify whether a given IP address is Class A.
Subnet a Class A network into smaller networks.
Understand the large address range that Class A provides and its use cases.
Important note for the exam: You'll be expected to know how to work with Class A's default subnet mask and how to apply subnetting concepts using this class.
Network Portion: The first 8 bits
Host Portion: The remaining 24 bits
Typical Usage: Large organizations or ISPs
Special Considerations: 127.x.x.x is reserved for loopback (internal testing).
For the CCNA exam, make sure you understand how to:
Recognize Class A addresses.
Know the address range and default subnet mask.
Use subnetting to create smaller networks from a Class A address.
Class B and Class C IP addresses
For the CCNA exam, understanding Class B and Class C IP addresses is crucial. These two classes are commonly used for smaller to medium-sized networks and are essential for basic network design. Let’s break them down:
Overview:
Usable Hosts per Network: 65,534
Class B Address Type: Public addresses (routable over the internet)
Structure of Class B:
A Class B IP address uses the first two octets (16 bits) for the network portion and the last two octets (16 bits) for the host portion.
Network Portion: The first 16 bits (the first two octets) define the network.
Host Portion: The last 16 bits (the last two octets) define the hosts on the network.
Class B Address Breakdown:
Default Subnet Mask for Class B: 255.255.0.0 or /16
This means the first 16 bits are used for the network address, and the remaining 16 bits are available for hosts within that network.
Example of Class B IP Address:
172.16.0.0, 150.100.50.0, and 128.5.0.0 are valid Class B IP addresses.
172.16.0.0
150.100.50.0
128.5.0.0
For the address 172.16.0.0:
The network portion would be 172.16.
172.16
The host portion would be the remaining 0.0.
0.0
Number of Usable Hosts in Class B:
For each Class B network, you have 16 bits for the host portion, allowing for 2^16 - 2 = 65,534 usable IP addresses (subtracting 2 for the network and broadcast addresses).
2^16 - 2 = 65,534
Example: For the network 172.16.0.0/16, the valid host range is 172.16.0.1 to 172.16.255.254.
172.16.0.0/16
172.16.0.1
172.16.255.254
Class B in the CCNA Exam:
Class B networks are used by medium-sized organizations or large companies that need a large number of hosts but not as many as Class A.
You'll be asked to recognize Class B IP addresses and possibly subnet them.
Subnetting Class B networks (using a /16 default subnet mask) is often a CCNA exam topic.
Usable Hosts per Network: 254
Class C Address Type: Public addresses (routable over the internet)
Structure of Class C:
A Class C IP address uses the first three octets (24 bits) for the network portion and the last octet (8 bits) for the host portion.
Network Portion: The first 24 bits (the first three octets) define the network.
Host Portion: The last 8 bits (the last octet) define the hosts within the network.
Class C Address Breakdown:
Default Subnet Mask for Class C: 255.255.255.0 or /24
This means the first 24 bits are for the network portion, and the remaining 8 bits are for hosts.
Example of Class C IP Address:
192.168.1.0, 203.0.113.0, and 192.0.2.0 are valid Class C IP addresses.
192.168.1.0
203.0.113.0
192.0.2.0
For the address 192.168.1.0:
The network portion is 192.168.1.
192.168.1
The host portion is the last 0.
Number of Usable Hosts in Class C:
Class C networks have only 8 bits for the host portion, meaning you can have up to 2^8 - 2 = 254 usable host addresses (subtracting 2 for the network and broadcast addresses).
2^8 - 2 = 254
Example: For the network 192.168.1.0/24, the valid host range is 192.168.1.1 to 192.168.1.254.
192.168.1.0/24
192.168.1.1
192.168.1.254
Class C in the CCNA Exam:
Class C addresses are the most common for small networks, such as home networks, small offices, or departments in larger organizations.
The CCNA exam will focus on Class C for basic networking and subnetting, since it is the class most often used for small-scale IP addressing.
Aspect
Class B
Class C
First Octet Range
128 to 191
128
191
192 to 223
192
223
Network Bits
16 bits
24 bits
Host Bits
8 bits
Usable Hosts per Network
Typical Usage
Medium-sized organizations, ISPs
Small offices, home networks
You’ll need to be able to identify which class an IP address belongs to.
For Class B, look for addresses in the range 128.0.0.0 to 191.255.255.255.
For Class C, look for addresses in the range 192.0.0.0 to 223.255.255.255.
You may also be asked to subnet Class B and C networks.
For example, you might be given a Class B address like 172.16.0.0 and asked to create subnets.
Or you might need to subnet a Class C network like 192.168.1.0.
Subnetting Tips: Understand how to divide Class B and Class C networks into smaller subnets by borrowing bits from the host portion.
Class B:
Default Subnet Mask: /16 (255.255.0.0)
Hosts per Network: 65,534
Used for: Medium-sized networks (e.g., large businesses)
Class C:
Default Subnet Mask: /24 (255.255.255.0)
Hosts per Network: 254
Used for: Small networks (e.g., home networks, small businesses)
For the CCNA exam, you should be comfortable identifying these classes, understanding their default subnet masks, and knowing how many hosts are available per network in each class. You'll also need to know how to subnet them as needed.
4o mini
Class D and Class E IP addresses
In the context of the CCNA exam, Class D and Class E IP addresses are not typically used in day-to-day network addressing, but they are still important to understand for a complete understanding of IP addressing. Let’s go through each class in detail:
Default Subnet Mask: Not used (Class D does not use a subnet mask in the same way as Classes A, B, and C)
First Octet Range: 224 to 239 (the first four bits are 1110)
1110
Usage: Multicast communication
What is Class D Used For?
Class D addresses are used for multicast.
Multicast is a method of communication where a message is sent from one sender to multiple receivers. This is used for applications like video streaming, conference calls, and other group communication protocols where the sender wants to communicate with multiple receivers at the same time.
Multicast Addressing: Instead of broadcasting a message to all devices in a network, multicast allows the message to be sent only to a specific group of devices that are part of a multicast group.
Class D Structure:
Class D addresses are not assigned to individual devices or networks. Instead, they are used to identify multicast groups.
These addresses are never used as regular host addresses or for point-to-point communication.
Example of Class D Address:
A common example of a Class D address would be 224.0.0.1, which is used for all-hosts multicast.
224.0.0.1
Other examples of Class D multicast addresses include 233.0.0.0, 239.255.255.255, etc.
233.0.0.0
Key Points for Class D:
Multicast is for group communication.
Class D addresses are not routable like Class A, B, or C.
They are typically used in applications like:
Video and audio streaming (e.g., IPTV, VoIP calls).
Online gaming.
Live broadcasts.
Class D
224 to 239
224
239
Purpose
Multicast (group communication)
Not applicable
Usable for:
Multicast groups (streaming, video, etc.)
First Octet Range: 240 to 255 (the first four bits are 1111)
1111
Usage: Reserved for future or experimental use
What is Class E Used For?
Class E addresses are reserved for experimental purposes or future use by the IETF (Internet Engineering Task Force).
These addresses are not used in typical networking and are not assigned to any device or host in the public internet.
Class E IP addresses are used by researchers or in experimental settings, such as in research labs or for future addressing schemes that may be developed later.
Class E Structure:
Since Class E addresses are reserved, they are not used for assigning IP addresses to networks or hosts.
They are typically used for testing or experiments by network engineers or researchers, often in specialized circumstances that don't involve regular data traffic.
Example of Class E Address:
An example of a Class E IP address would be 240.0.0.0. This is reserved for experimental use and is not assigned to any real-world devices or networks.
Key Points for Class E:
Class E addresses are not used in the typical internet addressing scheme.
They are reserved for future or experimental purposes.
These addresses are not routable over the internet or in typical networks.
Class E
240 to 255
240
255
Reserved for experimental use
Reserved for future use or experiments
Class D (Multicast) IP Address:
Used for multicast communication (sending data to multiple receivers).
IP range is 224.0.0.0 to 239.255.255.255.
Not used for normal host communication or internet routing.
Class E (Reserved) IP Address:
Reserved for future or experimental use.
IP range is 240.0.0.0 to 255.255.255.255.
Not routable and not used in typical networking environments.
For the CCNA exam, focus on understanding that Class D is for multicast (group communication) and Class E is reserved for future use. You are not likely to work with these classes in regular network configurations, but it's important to know their ranges and purposes for the exam.
Zuletzt geändertvor 4 Stunden