Podcast
Questions and Answers
When was the IPv4 standard initially created?
When was the IPv4 standard initially created?
- 1992
- 1976
- 1981 (correct)
- 1985
What organization originally managed the IPv4 address space?
What organization originally managed the IPv4 address space?
- IANA (correct)
- ARIN
- APNIC
- RIPE
What is the total number of IPv4 addresses available?
What is the total number of IPv4 addresses available?
- 2,147,483,648
- 4,294,967,296 (correct)
- 8,589,934,592
- 1,073,741,824
What does it mean for public IPv4 addressing to be 'allocated'?
What does it mean for public IPv4 addressing to be 'allocated'?
Which of the following statements is TRUE about private IPv4 addresses?
Which of the following statements is TRUE about private IPv4 addresses?
Which IPv4 address class was historically used by large organizations and businesses with substantial internet presence?
Which IPv4 address class was historically used by large organizations and businesses with substantial internet presence?
What range of IP addresses does the Class A address space encompass?
What range of IP addresses does the Class A address space encompass?
How many networks are contained within the Class A address space?
How many networks are contained within the Class A address space?
Which of the following is a valid Class B address range?
Which of the following is a valid Class B address range?
How many IP addresses are available within each Class B network?
How many IP addresses are available within each Class B network?
What is the primary distinction of Class C networks in terms of their historical usage?
What is the primary distinction of Class C networks in terms of their historical usage?
What range of IP addresses is encompassed by the Class C address space?
What range of IP addresses is encompassed by the Class C address space?
For what purpose are Class D addresses used?
For what purpose are Class D addresses used?
Which RFC defines private IP address ranges?
Which RFC defines private IP address ranges?
Which of the following is a private Class A network range?
Which of the following is a private Class A network range?
How many Class B networks are defined in the private IP address space?
How many Class B networks are defined in the private IP address space?
What makes IPv6 a necessary evolution from IPv4?
What makes IPv6 a necessary evolution from IPv4?
Which of the following best describes the role of Network Address Translation (NAT) in relation to private IP addresses?
Which of the following best describes the role of Network Address Translation (NAT) in relation to private IP addresses?
In CIDR notation, what does the prefix /16
indicate?
In CIDR notation, what does the prefix /16
indicate?
What is the purpose of subnetting?
What is the purpose of subnetting?
What does the term 'prefix' refer to in the context of Classless Inter-Domain Routing (CIDR)?
What does the term 'prefix' refer to in the context of Classless Inter-Domain Routing (CIDR)?
Which of the following most accurately describes the relationship between the prefix value and the size of the network?
Which of the following most accurately describes the relationship between the prefix value and the size of the network?
If you have a /16
network and you subnet it into two networks, what will be the CIDR notation for the new networks?
If you have a /16
network and you subnet it into two networks, what will be the CIDR notation for the new networks?
Imagine an organization is allocated the 10.0.0.0/8
network, but requires smaller subnets. What is the effect of increasing the prefix from /8
to /16
?
Imagine an organization is allocated the 10.0.0.0/8
network, but requires smaller subnets. What is the effect of increasing the prefix from /8
to /16
?
Which of the following statements is TRUE regarding private IPv4 addresses and their use on the public internet?
Which of the following statements is TRUE regarding private IPv4 addresses and their use on the public internet?
What is a key consideration when connecting two private networks that utilize the same private IP address range?
What is a key consideration when connecting two private networks that utilize the same private IP address range?
Given an initial network of 10.16.0.0/16
, what are the starting addresses of the two subnets created after the first subnetting operation?
Given an initial network of 10.16.0.0/16
, what are the starting addresses of the two subnets created after the first subnetting operation?
Comparing IPv4 and IPv6, what is the approximate ratio of the number of IPv6 addresses to the number of IPv4 addresses?
Comparing IPv4 and IPv6, what is the approximate ratio of the number of IPv6 addresses to the number of IPv4 addresses?
Why is subnetting essential in modern network design, despite the advent of IPv6 and its vast address space?
Why is subnetting essential in modern network design, despite the advent of IPv6 and its vast address space?
Consider a scenario where a company initially used Class A addressing but later transitioned to using Class C addressing due to subnetting needs. What is one potential implication of this decision regarding the network's scale and management?
Consider a scenario where a company initially used Class A addressing but later transitioned to using Class C addressing due to subnetting needs. What is one potential implication of this decision regarding the network's scale and management?
How does 0.0.0.0/0
relate to network routing?
How does 0.0.0.0/0
relate to network routing?
What is the fundamental difference in address allocation between IPv4 and IPv6 that allows IPv6 to mitigate the need for aggressive IP management?
What is the fundamental difference in address allocation between IPv4 and IPv6 that allows IPv6 to mitigate the need for aggressive IP management?
In the context of IPv4 subnetting, what is the maximum number of usable host addresses in a /27 subnet?
In the context of IPv4 subnetting, what is the maximum number of usable host addresses in a /27 subnet?
Given the IPv4 address 192.168.1.50
with a subnet mask of 255.255.255.0
, what is the network address?
Given the IPv4 address 192.168.1.50
with a subnet mask of 255.255.255.0
, what is the network address?
Which of the following is not a valid reason for an organization to implement subnetting?
Which of the following is not a valid reason for an organization to implement subnetting?
An organization has the IP address block 192.168.10.0/24
and needs to create four subnets of equal size. What would the subnet mask be for the new subnets?
An organization has the IP address block 192.168.10.0/24
and needs to create four subnets of equal size. What would the subnet mask be for the new subnets?
You are given the IP address 172.16.5.25
with a subnet mask of 255.255.240.0
. What is the broadcast address for this subnet?
You are given the IP address 172.16.5.25
with a subnet mask of 255.255.240.0
. What is the broadcast address for this subnet?
Flashcards
IPv4 Address Allocation
IPv4 Address Allocation
IPv4 addressing is allocated, meaning public IPv4 addresses must be allocated to you for use.
Class A Address Space
Class A Address Space
A range of IP addresses from 0.0.0.0 to 127.255.255.255 with 128 networks, each having 16.7 million addresses.
Class B Address Space
Class B Address Space
A range of IP addresses from 128.0.0.0 to 191.255.255.255 with 16,384 networks, each having 65,536 IP addresses.
Class C Address Space
Class C Address Space
Signup and view all the flashcards
Private IPv4 Addresses
Private IPv4 Addresses
Signup and view all the flashcards
What is Subnetting?
What is Subnetting?
Signup and view all the flashcards
What is a prefix?
What is a prefix?
Signup and view all the flashcards
Study Notes
IPv4 Address Space and Subnetting Part 1
- IPv4 standard created in 1981 using RFC791.
- IPv4 addresses range from 0.0.0.0 to 255.255.255.255, totaling 4,294,967,296 addresses.
- Initially managed by IANA (Internet Assigned Numbers Authority).
- Parts of the address space are now delegated to regional authorities like RIPE, ARIN, and APNIC.
- Public IPv4 addresses are allocated, requiring allocation for use.
- A portion of the address space is private and can be used/reused freely within private networks, business networks, and cloud platforms.
- IPv4 addresses are divided into multiple smaller ranges for specific functions.
Class A Address Space
- Class A address space spans from 0.0.0.0 to 127.255.255.255.
- Class A contains 128 networks, each with 16.7 million addresses.
- Class A networks are represented by 0.anything up to 127.anything; 0.anything is reserved.
- The first octet denotes the network, with the remaining octets for hosts or subnetting.
- Class A addresses were often allocated to very large businesses or organizations who had an internet presence.
Class B Address Space
- Class B address space starts at 128.0.0.0 and ends at 191.255.255.255.
- Class B offers 16,384 networks, each containing 65,536 IP addresses.
- Commonly used for larger businesses that require more addresses than a Class A allocation.
- Addresses are generally allocated to regional authorities.
- Class B networks use formats like 128.0.anything through 191.255.anything.
- In Class B, the first two octets are for the network, and the last two are for assigning to devices or subnetting.
Class C Address Space
- Class C range starts at 192.0.0.0 and ends at 223.255.255.255.
- Class C provides over 2 million networks, with 256 IP addresses each.
- Examples: 192.0.1.anything and 192.0.2.anything
- The first three octets denote the network, with the remainder for hosts or subnetting.
- Class C networks were historically used for smaller businesses.
Class D and E Address Space
- Class D is used for multicast.
- Class E is reserved for later use.
Private IPv4 Addresses
- Private IP addresses are defined in RFC1918, which defines three ranges of IPv4 addresses for internal use.
- Private IP addresses cannot be directly routed across the internet.
- Network Address Translation (NAT) is needed to translate private addresses into public addresses for internet communication.
Class A Private Range
- The Class A private range is a single network from 10.0.0.0 to 10.255.255.255 providing 16.7 million IPv4 addresses.
Class B Private Range
- The Class B private range goes from 172.16.0.0 to 172.31.255.255.
- It consists of 16 Class B networks.
- Each network has 65,536 addresses.
- AWS uses 172.31 as the default VPC range.
Class C Private Range
- The Class C private range is from 192.168.0.0 to 192.168.255.255.
- This range is 256 Class C networks.
- Each network contains 256 addresses.
- This range is generally used within home and small office networks.
IPv4 vs IPv6
- IPv4 has a limitation of 4,294,967,296 addresses.
- IPv6 was created in order to combat IPv4 address exhaustion.
- IPv6 yields 340 sextillion addresses.
- This is equivalent to 670 quadrillion IPv6 IP addresses per square millimeter of the Earth's surface, or 50 octillion IP addresses per human alive today, or 79 octillion IPv4 internets' worth of addressing.
IP Address Subnetting - Part 2
- Subnetting is the process of breaking networks into smaller pieces using Classless Inter-Domain Routing (CIDR).
- CIDR defines the size of a network using a prefix.
- When the prefix value is larger, the network becomes smaller.
- A /8 prefix is the same as the class A network.
Subnetting Example 1
- 10.16.0.0/16 is a range that starts at 10.16.0.0 and ends at 10.16.255.255.
- The /16 indicates that only the first 2 octets are the network.
Subnetting Example 2
- A /16 network is split into two /17 networks.
- The originial network becomes two /17 networks.
- The first subnetwork is 10.16.0.0 through 10.16.127.255 (the halfway point)
- The second subnetwork starts at 10.16.128.0 and extends to 10.16.255.255.
- /16 subnet is equal to two /17 networks.
Subnetting Example 3
- The bottom /17 network can get split into two /18 networks.
- The first /18 subnetwork starts at 10.16.128.0.
- The second /18 network starts at the midpoint.
CIDR Summary
- The entire internet is a /0 network.
- 0.0.0.0, matching the entire internet, is usually a default route.
- /8 is a Class A network.
- /16 is a Class B network.
- /24 is a Class C network.
- /32 is a single IP address.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.