2.2.3-2.2.4 IP Address Space & Subnetting

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

When was the IPv4 standard initially created?

  • 1992
  • 1976
  • 1981 (correct)
  • 1985

What organization originally managed the IPv4 address space?

  • IANA (correct)
  • ARIN
  • APNIC
  • RIPE

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'?

<p>Addresses must be assigned by Regional Internet Registries (RIRs). (C)</p> Signup and view all the answers

Which of the following statements is TRUE about private IPv4 addresses?

<p>They can be used and re-used freely within private networks. (C)</p> Signup and view all the answers

Which IPv4 address class was historically used by large organizations and businesses with substantial internet presence?

<p>Class A (B)</p> Signup and view all the answers

What range of IP addresses does the Class A address space encompass?

<p>0.0.0.0 - 127.255.255.255 (B)</p> Signup and view all the answers

How many networks are contained within the Class A address space?

<p>128 (C)</p> Signup and view all the answers

Which of the following is a valid Class B address range?

<p>128.0.0.0 - 191.255.255.255 (D)</p> Signup and view all the answers

How many IP addresses are available within each Class B network?

<p>65,536 (C)</p> Signup and view all the answers

What is the primary distinction of Class C networks in terms of their historical usage?

<p>Allocated for smaller businesses requiring an internet presence. (C)</p> Signup and view all the answers

What range of IP addresses is encompassed by the Class C address space?

<p>192.0.0.0 - 223.255.255.255 (C)</p> Signup and view all the answers

For what purpose are Class D addresses used?

<p>Used for multicast applications. (C)</p> Signup and view all the answers

Which RFC defines private IP address ranges?

<p>RFC1918 (B)</p> Signup and view all the answers

Which of the following is a private Class A network range?

<p>10.0.0.0 - 10.255.255.255 (A)</p> Signup and view all the answers

How many Class B networks are defined in the private IP address space?

<p>16 (D)</p> Signup and view all the answers

What makes IPv6 a necessary evolution from IPv4?

<p>IPv6 provides a significantly larger address space. (A)</p> Signup and view all the answers

Which of the following best describes the role of Network Address Translation (NAT) in relation to private IP addresses?

<p>NAT translates private IP addresses into publicly routable addresses. (D)</p> Signup and view all the answers

In CIDR notation, what does the prefix /16 indicate?

<p>The first 16 bits of the IP address represent the network portion. (B)</p> Signup and view all the answers

What is the purpose of subnetting?

<p>To reduce network congestion by creating smaller broadcast domains. (C)</p> Signup and view all the answers

What does the term 'prefix' refer to in the context of Classless Inter-Domain Routing (CIDR)?

<p>The number of bits used for the network identifier in an IP address. (A)</p> Signup and view all the answers

Which of the following most accurately describes the relationship between the prefix value and the size of the network?

<p>The larger the prefix value, the smaller the network. (B)</p> Signup and view all the answers

If you have a /16 network and you subnet it into two networks, what will be the CIDR notation for the new networks?

<p>/17 (A)</p> Signup and view all the answers

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?

<p>It divides the <code>10.0.0.0/8</code> network into smaller subnets, reducing the number of hosts per subnet. (B)</p> Signup and view all the answers

Which of the following statements is TRUE regarding private IPv4 addresses and their use on the public internet?

<p>Private IPv4 addresses can only be used on the public internet after being translated to a public address via NAT. (A)</p> Signup and view all the answers

What is a key consideration when connecting two private networks that utilize the same private IP address range?

<p>It can lead to routing conflicts and communication issues. (D)</p> Signup and view all the answers

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?

<p><code>10.16.0.0/17</code> and <code>10.16.128.0/17</code> (D)</p> Signup and view all the answers

Comparing IPv4 and IPv6, what is the approximate ratio of the number of IPv6 addresses to the number of IPv4 addresses?

<p>IPv6 has approximately 79 octillion times the number of addresses as IPv4. (C)</p> Signup and view all the answers

Why is subnetting essential in modern network design, despite the advent of IPv6 and its vast address space?

<p>Subnetting allows for network segmentation, traffic management, and security policies within IPv4 networks, which are still widely in use. (B)</p> Signup and view all the answers

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?

<p>The network would be unable to support more than 254 hosts per subnet without implementing more complex routing. (A)</p> Signup and view all the answers

How does 0.0.0.0/0 relate to network routing?

<p>It functions as a default route, directing traffic to a gateway for destinations not explicitly defined in the routing table. (D)</p> Signup and view all the answers

What is the fundamental difference in address allocation between IPv4 and IPv6 that allows IPv6 to mitigate the need for aggressive IP management?

<p>IPv6 has an immensely larger address space eliminating the scarcity that requires meticulous management in IPv4. (B)</p> Signup and view all the answers

In the context of IPv4 subnetting, what is the maximum number of usable host addresses in a /27 subnet?

<p>30 (B)</p> Signup and view all the answers

Given the IPv4 address 192.168.1.50 with a subnet mask of 255.255.255.0, what is the network address?

<p>192.168.1.0 (C)</p> Signup and view all the answers

Which of the following is not a valid reason for an organization to implement subnetting?

<p>To circumvent the need for Network Address Translation (NAT). (A)</p> Signup and view all the answers

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?

<p>255.255.255.192 (D)</p> Signup and view all the answers

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?

<p>172.16.15.255 (C)</p> Signup and view all the answers

Flashcards

IPv4 Address Allocation

IPv4 addressing is allocated, meaning public IPv4 addresses must be allocated to you for use.

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

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

A range of IP addresses from 192.0.0.0 to 223.255.255.255 with over 2 million networks, each having 256 IP addresses.

Signup and view all the flashcards

Private IPv4 Addresses

These Classes are reserved for private use, meaning they are non-routable across the public internet. These IP addresses can be used and reused freely.

Signup and view all the flashcards

What is Subnetting?

Breaks networks into smaller networks.

Signup and view all the flashcards

What is a prefix?

A number defining the size of the network. For example: /16

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.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser