quiz image

w2ch1

ProdigiousQuantum avatar
ProdigiousQuantum
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

What determines the dividing point between the network number and the host number in CIDR?

Network-prefix

What is the main benefit of CIDR in terms of IPv4 address space allocation?

Efficient allocation of IPv4 address space

What is the equivalent CIDR notation for the network 102.168.1.128 with subnet mask 255.255.255.128?

102.168.1.128/25

What is the advantage of CIDR over classful addressing?

<p>Arbitrarily sized networks</p> Signup and view all the answers

How are subnet masks represented in CIDR notation?

<p>As a prefix length</p> Signup and view all the answers

What is the purpose of counting the number of 1's in the binary subnet mask?

<p>To determine the prefix length</p> Signup and view all the answers

What is the result of converting a network from SNM to CIDR notation?

<p>A variable network size</p> Signup and view all the answers

What is route aggregation in CIDR?

<p>A single routing table entry that represents multiple routes</p> Signup and view all the answers

What is the major drawback of using FLSM in a production environment?

<p>It wastes IP addresses</p> Signup and view all the answers

What is the main advantage of using VLSM over FLSM?

<p>It avoids IP address wastage</p> Signup and view all the answers

What is the term used to describe the concept of replacing traditional Class A, B, and C network addresses with a generalized concept of a 'network-prefix'?

<p>Supernetting</p> Signup and view all the answers

What is the primary reason for the development of CIDR?

<p>To address the rapid growth of the Internet's routing tables</p> Signup and view all the answers

What is the term used to specify the number of leftmost contiguous bits in the network-portion of each routing table entry in CIDR?

<p>Prefix-length</p> Signup and view all the answers

What is the main problem associated with FLSM?

<p>It leads to IP address wastage</p> Signup and view all the answers

What is the main benefit of CIDR?

<p>It allows for more efficient use of IP address space</p> Signup and view all the answers

What is the primary difference between FLSM and VLSM?

<p>FLSM uses subnet masks with the same length, while VLSM uses different lengths</p> Signup and view all the answers

What is the main issue with the classful A, B, and C octet boundaries?

<p>They do not foster the efficient allocation of a finite address space.</p> Signup and view all the answers

What is the main advantage of Classless Inter-Domain Routing (CIDR)?

<p>It is based on variable-length subnet masking (VLSM).</p> Signup and view all the answers

What is the main difference between a private IP address and a public IP address?

<p>Private IP addresses are used within a local network, while public IP addresses are used outside the local network.</p> Signup and view all the answers

What is the scope of a private IP address?

<p>Local, within a private network.</p> Signup and view all the answers

What is the main purpose of a public IP address?

<p>To communicate with any device on the internet.</p> Signup and view all the answers

Who provides a public IP address?

<p>Internet Service Provider (ISP).</p> Signup and view all the answers

What is the main advantage of using CIDR notation?

<p>It allows for more efficient allocation of addresses.</p> Signup and view all the answers

What is the main difference between a /24 and a /16 in CIDR notation?

<p>A /24 supports 254 hosts, while a /16 supports 65,534 hosts.</p> Signup and view all the answers

What is the total number of bits in an IPv4 address?

<p>32 bits</p> Signup and view all the answers

What is the purpose of the network address?

<p>To uniquely identify networks</p> Signup and view all the answers

What is the format of IP addresses to make them easier to read and write?

<p>Dotted-decimal notation</p> Signup and view all the answers

What is the number of possible IPv4 addresses?

<p>2^32</p> Signup and view all the answers

What are the three parts of an IPv4 address?

<p>Network, subnet, and host</p> Signup and view all the answers

What is the purpose of subnet masks?

<p>To define the network and host bit boundary of an IP address</p> Signup and view all the answers

What is the characteristic of the host bits in a network address?

<p>All 0's</p> Signup and view all the answers

What is the reason for the finite number of IPv4 addresses?

<p>The 32-bit address space is too small</p> Signup and view all the answers

What is the purpose of Class D addresses in IP addressing?

<p>Used for multicast purpose</p> Signup and view all the answers

What is the number of bits allocated for the network address field in Class B networks?

<p>16 bits</p> Signup and view all the answers

What is the main intention of Class A networks?

<p>For use with a few very large networks</p> Signup and view all the answers

What is the purpose of 255.255.255.255 address in IP addressing?

<p>Reserved for the 'limited broadcast' destination address</p> Signup and view all the answers

What is the number of bits allocated for the host field in Class C networks?

<p>8 bits</p> Signup and view all the answers

What is the purpose of Class E addresses in IP addressing?

<p>Used for research purpose</p> Signup and view all the answers

What is the characteristic of each address in classful IP addressing?

<p>Each address contains a self-encoding key that identifies the dividing point between the network-prefix and the host-number</p> Signup and view all the answers

What is the range of IP address space divided into three different address classes?

<p>0.0.0.0 to 255.255.255.255</p> Signup and view all the answers

What is the maximum number of /8 networks that can be defined?

<p>126</p> Signup and view all the answers

What is the maximum number of hosts per /16 network?

<p>65534</p> Signup and view all the answers

What is the maximum number of /24 networks that can be defined?

<p>2097152</p> Signup and view all the answers

What is the maximum number of hosts per /24 network?

<p>254</p> Signup and view all the answers

What is the purpose of reserving the /8 network 127.0.0.0?

<p>For loopback function</p> Signup and view all the answers

Why are the all-0s and all-1s host numbers not assigned to individual hosts?

<p>Because they are reserved for loopback and broadcast</p> Signup and view all the answers

What is the purpose of reserving the /8 network 0.0.0.0?

<p>For default routing</p> Signup and view all the answers

How many bits are allocated for the network number in Class C networks?

<p>21</p> Signup and view all the answers

What is the main purpose of Class D addresses in IP addressing?

<p>Multicast addresses</p> Signup and view all the answers

How many bits are allocated for the host field in Class C networks?

<p>8</p> Signup and view all the answers

What is the IP address range for Class A networks?

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

What is the main intention of Class A networks?

<p>Large-scale networking</p> Signup and view all the answers

What is the characteristic of each address in classful IP addressing?

<p>Fixed length</p> Signup and view all the answers

What is the purpose of Class D addresses in IP addressing?

<p>Used for multicast addresses</p> Signup and view all the answers

How many bits are allocated for the network address field in Class B networks?

<p>16 bits</p> Signup and view all the answers

What is the range of IP address space divided into?

<p>Three different address classes</p> Signup and view all the answers

What is the IP address range for Class C networks?

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

What is the purpose of Class E addresses in IP addressing?

<p>Reserved addresses</p> Signup and view all the answers

What is the purpose of Class E addresses in IP addressing?

<p>Reserved for future use</p> Signup and view all the answers

How many bits are allocated for the network address field in Class B networks?

<p>16</p> Signup and view all the answers

What is the number of bits allocated for the network address field in Class A networks?

<p>8</p> Signup and view all the answers

How many bits are allocated for the host field in Class C networks?

<p>8 bits</p> Signup and view all the answers

What is the purpose of Class E addresses in IP addressing?

<p>Reserved for research purposes</p> Signup and view all the answers

What is the main intention of Class A networks?

<p>To provide a large number of hosts</p> Signup and view all the answers

What is the number of possible networks in Class B networks?

<p>16,384</p> Signup and view all the answers

What is the purpose of Class D addresses in IP addressing?

<p>Used for multicast purposes</p> Signup and view all the answers

How many bits are allocated for the host field in Class C networks?

<p>8 bits</p> Signup and view all the answers

What is the main intention of Class A networks?

<p>For use with a few very large networks</p> Signup and view all the answers

How many bits are allocated for the network address field in Class B networks?

<p>16 bits</p> Signup and view all the answers

What is the purpose of the 255.255.255.255 address in IP addressing?

<p>Reserved for limited broadcast</p> Signup and view all the answers

How many bits are allocated for the network address field in Class A networks?

<p>8 bits</p> Signup and view all the answers

What is the characteristic of each address in classful IP addressing?

<p>Contains a self-encoding key</p> Signup and view all the answers

What is the primary purpose of subnet mask?

<p>To define the boundary between network bits and host bits</p> Signup and view all the answers

What is the main advantage of subnetting?

<p>Reducing the size of the broadcast domain</p> Signup and view all the answers

What is the difference between FLSM and VLSM?

<p>FLSM uses a fixed subnet mask, while VLSM uses a variable subnet mask</p> Signup and view all the answers

What is the purpose of Class D addresses in IP addressing?

<p>For multicast addresses</p> Signup and view all the answers

What is the number of bits allocated for the host field in Class C networks?

<p>8 bits</p> Signup and view all the answers

What is the purpose of Class E addresses in IP addressing?

<p>For reserved addresses</p> Signup and view all the answers

What is the main intention of Class A networks?

<p>For large networks</p> Signup and view all the answers

How many bits are allocated for the network number in Class B networks?

<p>16 bits</p> Signup and view all the answers

What was the main limitation of the classful A, B, and C octet boundaries?

<p>They did not foster the efficient allocation of a finite address space.</p> Signup and view all the answers

What is the primary purpose of Private IP Addresses?

<p>To provide a unique identification of a machine within a local network.</p> Signup and view all the answers

What is the main difference between a Public IP Address and a Private IP Address?

<p>Public IP Addresses are used outside a local network, while Private IP Addresses are used within.</p> Signup and view all the answers

What is the main advantage of Classless Inter-Domain Routing (CIDR)?

<p>It allows for a more efficient allocation of IP addresses.</p> Signup and view all the answers

What is the main purpose of an IP address?

<p>To provide a unique identification of a machine.</p> Signup and view all the answers

Who provides a Public IP Address?

<p>The Internet Service Provider (ISP)</p> Signup and view all the answers

What is the main difference between a /24 and a /16 in CIDR notation?

<p>A /24 supports 254 hosts, while a /16 supports 65,534 hosts.</p> Signup and view all the answers

What is the main advantage of using Variable-Length Subnet Masks (VLSM)?

<p>It allows for a more efficient allocation of IP addresses.</p> Signup and view all the answers

What is the primary purpose of dividing the IP address space into Class A, Class B, and Class C?

<p>To provide flexibility required to support different size networks</p> Signup and view all the answers

What is the characteristic of each address in classful IP addressing?

<p>It contains a self-encoding key that identifies the dividing point between the network-prefix and the host-number</p> Signup and view all the answers

What is the purpose of Class A networks?

<p>For use with a few very large networks</p> Signup and view all the answers

How many bits are allocated for the network address field in Class B networks?

<p>16 bits</p> Signup and view all the answers

What is the main difference between a private IP address and a public IP address?

<p>Private IP addresses are free of cost, while public IP addresses come with a cost</p> Signup and view all the answers

What is the range of Private IP Address Class C?

<p>192.168.0.0 – 192.168.255.255</p> Signup and view all the answers

What is the purpose of 255.255.255.255 address in IP addressing?

<p>Reserved for the &quot;limited broadcast&quot; destination address</p> Signup and view all the answers

How many bits are allocated for the host field in Class C networks?

<p>8 bits</p> Signup and view all the answers

What is the purpose of subnetting?

<p>To divide a large IP network into smaller IP networks</p> Signup and view all the answers

What is the purpose of Class D addresses in IP addressing?

<p>For multicast purpose</p> Signup and view all the answers

What is the advantage of using private IP addresses?

<p>They are free of cost</p> Signup and view all the answers

Who provides a public IP address?

<p>Internet Provider (ISP)</p> Signup and view all the answers

What is the purpose of Class E addresses in IP addressing?

<p>Reserved for research purpose</p> Signup and view all the answers

What is the main advantage of subnetting in terms of security?

<p>Access policies can be enforced</p> Signup and view all the answers

What is the main purpose of allocating private IP addresses?

<p>To facilitate communication within a private network</p> Signup and view all the answers

What is the main advantage of using private IP addresses in terms of cost?

<p>They are free of cost</p> Signup and view all the answers

In CIDR notation, what is the purpose of counting the number of 1's in the binary subnet mask?

<p>To calculate the prefix length</p> Signup and view all the answers

What is the benefit of route aggregation in CIDR?

<p>It reduces the number of routing table entries</p> Signup and view all the answers

What is the difference between CIDR and classful addressing?

<p>CIDR uses arbitrary network numbers, while classful addressing uses 8-bit, 16-bit, or 24-bit network numbers</p> Signup and view all the answers

What is the representation of the network 102.168.1.128 with subnet mask 255.255.255.128 in CIDR notation?

<p>102.168.1.128/25</p> Signup and view all the answers

What is the primary purpose of CIDR?

<p>To replace traditional Class A, B, and C network addresses with a generalized concept of a 'network-prefix'</p> Signup and view all the answers

What is the result of converting a network from SNM to CIDR notation?

<p>A more efficient allocation of IPv4 address space</p> Signup and view all the answers

What is the advantage of CIDR over classful addressing?

<p>CIDR supports the deployment of arbitrarily sized networks, while classful addressing uses standard 8-bit, 16-bit, or 24-bit network numbers</p> Signup and view all the answers

What is the purpose of the network-prefix in CIDR?

<p>To determine the dividing point between the network number and the host number</p> Signup and view all the answers

What is the purpose of the dotted-decimal notation in IP addresses?

<p>To divide the 32-bit Internet address into four 8-bit fields</p> Signup and view all the answers

What is the total number of bits in an IPv4 address?

<p>32</p> Signup and view all the answers

What is the characteristic of the host bits in a network address?

<p>They contain all 0's</p> Signup and view all the answers

What is the purpose of a network address?

<p>To identify a collection of devices on a network</p> Signup and view all the answers

How many possible IPv4 addresses are available?

<p>4,294,967,296</p> Signup and view all the answers

What is the purpose of subnet masks in IP addressing?

<p>To define the network and host bit boundary of an IP address</p> Signup and view all the answers

What is the format of IP addresses that makes them easier to read and write?

<p>Dotted-decimal notation</p> Signup and view all the answers

What is the reason for the finite number of IPv4 addresses?

<p>Because IPv4 addresses are 32-bit addresses</p> Signup and view all the answers

What is the primary purpose of Class E addresses?

<p>Reserved for research purposes</p> Signup and view all the answers

What is the purpose of Class D addresses?

<p>Used for multicast purposes</p> Signup and view all the answers

How many bits are allocated for the network address field in Class C networks?

<p>24 bits</p> Signup and view all the answers

What is the main intention of Class A networks?

<p>Intended for very large networks</p> Signup and view all the answers

How many bits are allocated for the host field in Class C networks?

<p>8 bits</p> Signup and view all the answers

What is the number of bits allocated for the network address field in Class B networks?

<p>16 bits</p> Signup and view all the answers

What is the purpose of the 255.255.255.255 address?

<p>Reserved for the 'limited broadcast' destination address</p> Signup and view all the answers

What is the range of IP address space divided into three different address classes?

<p>0.0.0.0 to 255.255.255.255</p> Signup and view all the answers

Which type of subnetting can accommodate subnets of different sizes and avoids IP address wastage considerably?

<p>Variable Length Subnet Masking (VLSM)</p> Signup and view all the answers

What is the main difference between Class A, B, and C network addresses and CIDR?

<p>CIDR eliminates the traditional concept of Class A, B, and C network addresses</p> Signup and view all the answers

What is the main problem associated with using Fixed Length Subnet Masking (FLSM) in a production environment?

<p>It wastes IP addresses considering the maximum subnet size</p> Signup and view all the answers

What is the purpose of Class D addresses in IP addressing?

<p>Used for multicasting</p> Signup and view all the answers

What is the characteristic of Class E addresses in IP addressing?

<p>Reserved for future use</p> Signup and view all the answers

How many bits are allocated for the network number in Class C networks?

<p>24 bits</p> Signup and view all the answers

What is the main intention of Class A networks?

<p>Large-scale networks</p> Signup and view all the answers

What is the range of IP address space divided into?

<p>Three different address classes</p> Signup and view all the answers

What is the maximum number of /8 networks that can be defined?

<p>126</p> Signup and view all the answers

What is the maximum number of hosts per /16 network?

<p>65534</p> Signup and view all the answers

What is the maximum number of /24 networks that can be defined?

<p>2097152</p> Signup and view all the answers

What is the maximum number of hosts per /24 network?

<p>254</p> Signup and view all the answers

Why are the all-0s and all-1s host numbers not assigned to individual hosts?

<p>They are used for broadcasting and identifying the network</p> Signup and view all the answers

What is the purpose of reserving the /8 network 127.0.0.0?

<p>For use as a loopback function</p> Signup and view all the answers

How many bits are allocated for the network number in Class C networks?

<p>21</p> Signup and view all the answers

How many bits are allocated for the host field in Class C networks?

<p>8</p> Signup and view all the answers

What is the main limitation of the classful A, B, and C octet boundaries?

<p>They are not flexible in allocating address space</p> Signup and view all the answers

What is the primary difference between a private IP address and a public IP address?

<p>Private IP addresses are used for local networks, while public IP addresses are used for global networks</p> Signup and view all the answers

What is the main advantage of using CIDR over classful addressing?

<p>It is more scalable and flexible in allocating address space</p> Signup and view all the answers

What is the scope of a private IP address?

<p>Local to the present network</p> Signup and view all the answers

What is the main purpose of a public IP address?

<p>To communicate outside a local network</p> Signup and view all the answers

What is the main characteristic of private IP addresses?

<p>They are locally unique within a private network</p> Signup and view all the answers

What is the main advantage of using VLSM over FLSM?

<p>It is more scalable and flexible in allocating address space</p> Signup and view all the answers

What is the main limitation of using classful addressing?

<p>It is not scalable</p> Signup and view all the answers

What is the range of IP address space for Class A networks?

<p>0.0.0.0 to 127.255.255.255</p> Signup and view all the answers

What is the purpose of Class D addresses in IP addressing?

<p>Reserved for multicast</p> Signup and view all the answers

How many bits are allocated for the host field in Class C networks?

<p>8 bits</p> Signup and view all the answers

What is the range of IP address space for Class E networks?

<p>240.0.0.0 to 255.255.255.255</p> Signup and view all the answers

How many bits are allocated for the network number in Class B networks?

<p>16 bits</p> Signup and view all the answers

What is the range of IP address space for Class B networks?

<p>128.0.0.0 to 191.255.255.255</p> Signup and view all the answers

What is the total number of addresses per network in Class C networks?

<p>254</p> Signup and view all the answers

What is the purpose of Class E networks in IP addressing?

<p>Reserved for future use</p> Signup and view all the answers

Study Notes

Classful Addressing Scheme

  • The classful A, B, and C octet boundaries were easy to understand and implement but didn't foster efficient allocation of a finite address space.
  • The class system lacked scalability in the face of the rapid expansion of the network in the 1990s.
  • The class system was replaced with Classless Inter-Domain Routing (CIDR) in 1993.

Private IP Address and Public IP Address

  • Private IP addresses are used within a local network and are invalid and non-routable on the Internet.
  • Public IP addresses are used outside the local network and are provided by an Internet Service Provider (ISP).
  • Private IP addresses have a local scope and are locally unique within a private network.
  • Public IP addresses have a global scope and are globally unique across the Internet.

CIDR (Classless Inter-Domain Routing)

  • CIDR is based on variable-length subnet masking (VLSM) to allow allocation and routing based on arbitrary-length prefixes.
  • CIDR supports the deployment of arbitrarily sized networks rather than standard 8-bit, 16-bit, or 24-bit network numbers associated with classful addressing.
  • Routers use the network-prefix rather than the first 3 bits of the IP address to determine the dividing point between the network number and the host number.

Representation of IPv4 Network in CIDR Notation

  • CIDR notation represents a network address with a prefix length (e.g., 102.168.1.128/25).
  • The procedure to convert a subnet mask to CIDR notation involves:
    • Writing the subnet mask as binary.
    • Counting the number of 1's from the binary subnet mask.
    • Writing the CIDR notation by mentioning the prefix after the network address.

Benefits of CIDR/Supernetting

  • CIDR enables efficient allocation of the IPv4 address space.
  • CIDR supports route aggregation, where a single routing table entry can represent the address space of thousands of traditional classful routes.
  • CIDR reduces IP address wastage and allows for subnets of different sizes.

Variable Length Subnet Masking (VLSM)

  • VLSM allows for subnets of different sizes and avoids IP address wastage.
  • VLSM uses subnet masks with different lengths, which is more efficient than Fixed-Length Subnet Masking (FLSM).

Supernetting

  • Supernetting, also known as Classless Inter-Domain Routing (CIDR), was developed to address the scalability issues of the Internet's routing system.
  • Supernetting eliminates the traditional concept of Class A, Class B, and Class C network addresses and replaces them with the generalized concept of a "network-prefix."

Classful Networks

  • Classful networks divide the IP address space into three different address classes: Class A, Class B, and Class C.
  • Class A networks allocate 8 bits for the network address field, Class B networks allocate 16 bits, and Class C networks allocate 24 bits.
  • Class C networks provide only 8 bits for the host field, which can be a limiting factor.

IP Addressing

  • IP version 4 (IPv4) defines a 32-bit address, which means there are only 2^32 (4,294,967,296) IPv4 addresses available.
  • The finite number of IP addresses will eventually be exhausted.
  • IP addresses are often expressed in dotted-decimal notation, which divides the 32-bit Internet address into four 8-bit (byte) fields and specifies the value of each field independently as a decimal number with the fields separated by dots.

Special Addresses

  • Network address is used to uniquely identify networks and represents a collection of devices that have the same network bits in their IP address.
  • The host bits of a network address contain all 0's.
  • Routers maintain network addresses in their routing table for taking routing decisions.

Classful Networks

  • Class A networks are referred to as "/8s" and have an 8-bit network-prefix, with a maximum of 126 (2^7 - 2) networks that can be defined.
  • Each /8 network supports a maximum of 16,777,214 (2^24 - 2) hosts per network.
  • Class B networks are referred to as "/16s" and have a 16-bit network-prefix, with a maximum of 16,384 (2^14) networks that can be defined.
  • Each /16 network supports up to 65,534 (2^16 - 2) hosts per network.
  • Class C networks are referred to as "/24s" and have a 24-bit network-prefix, with a maximum of 2,097,152 (2^21) networks that can be defined.
  • Each /24 network supports up to 254 (2^8 - 2) hosts per network.

IP Addressing

  • The IP address space is divided into three classes: A, B, and C.
  • Class A networks have 8 bits for the network address field, Class B networks have 16 bits, and Class C networks have 24 bits.
  • Class D addresses are used for multicast purposes, and Class E addresses are reserved for research purposes.
  • Each address contains a self-encoding key that identifies the dividing point between the network-prefix and the host-number.

Subnetting

  • Subnetting divides a network into smaller subnets, and designates high-order bits from the host as part of the network prefix.
  • Subnetting reduces the size of the broadcast domain and broadcast messages, helping network devices not to waste their resources.
  • An organization can divide its assigned IP network into subnets to assign a distinct subnetwork number for each of its internal networks.

Supernetting and CIDR

  • By the 1990s, the exponential growth of the Internet raised concerns about the ability of the Internet's routing system to scale and support future growth.
  • The response to these challenges was the development of Supernetting or Classless Inter-Domain Routing (CIDR).
  • CIDR eliminates the traditional concept of Class A, B, and C network addresses and replaces them with the generalized concept of a "network-prefix".
  • In the CIDR model, each piece of routing information is advertised with a bit mask (or prefix-length).

Variable Length Subnet Masking (VLSM)

  • VLSM allows subnets to have different lengths and avoids IP address wastage.
  • VLSM comes to the rescue when subnets of different sizes are needed in a production environment.

Fixed Length Subnet Masking (FLSM)

  • FLSM subnetting divides a network into smaller subnets of equal size.
  • All subnets have equal number of host addresses and use the same subnet mask.

Subnet Mask

  • Subnet mask is a string of 1's followed by a string of 0's of 32 bits in length.
  • The 1's in the subnet mask identify network bits, and the 0's identify the host bits, defining the boundary between network and host bits in a given 32-bit IP address.

IPv4 Address Structure

  • An IPv4 address consists of 32 bits, divided into three parts: network address, subnet address, and host address.
  • The network address identifies a network, the subnet address (optional) further divides the network, and the host address identifies a device on the network.

IPv4 Address Notation

  • IPv4 addresses are often expressed in dotted-decimal notation, which divides the 32-bit address into four 8-bit (byte) fields, separated by dots, and specifies the value of each field as a decimal number.
  • Each field in the dotted-decimal notation can have a value between 0 and 255.

Special Addresses

  • Network address: used to identify networks, has all 0's in the host bits, and is used in routing tables by routers.
  • 255.255.255.255: reserved for limited broadcast destination addresses.

Classful Networks

  • Classful networks divide the IPv4 address space into three classes: A, B, and C, each with a predefined number of bits for the network address field.
  • Class A: 8 bits for the network address field, mainly used for very large networks.
  • Class B: 16 bits for the network address field.
  • Class C: 24 bits for the network address field, but only 8 bits for the host field, which can be a limiting factor.

Private and Public IP Addresses

  • Private IP addresses: used within a local network, invalid and non-routable on the internet, and locally unique.
  • Public IP addresses: used outside the local network, globally unique, and provided by Internet Service Providers (ISPs).

Subnetting

  • Subnetting: dividing a large IP network into smaller subnets to manage networks more efficiently.
  • Advantages of subnetting: manageable networks, enhanced security, and improved routing efficiency.
  • Subnetting was introduced in 1985 to overcome the limitations of the classful two-level addressing hierarchy.

Classless Inter-Domain Routing (CIDR)

  • CIDR: replaced the classful addressing system, allowing for arbitrarily sized networks and more efficient allocation of the IPv4 address space.
  • CIDR supports route aggregation, where a single routing table entry can represent the address space of thousands of traditional classful routes.
  • CIDR notation: represents the network address and the prefix length (e.g., 102.168.1.128/25).

Classful Networks

  • Class A networks (/8s) have an 8-bit network prefix and support up to 126 networks with a maximum of 16,777,214 hosts per network.
  • Class B networks (/16s) have a 16-bit network prefix and support up to 16,384 networks with up to 65,534 hosts per network.
  • Class C networks (/24s) have a 24-bit network prefix and support up to 2,097,152 networks with up to 254 hosts per network.

Classful Addressing Scheme

  • The IP address space is divided into three different address classes: Class A, Class B, and Class C.
  • Class A networks are intended for use with a few very large networks, providing only 8 bits for the network address field.
  • Class B networks allocate 16 bits, and Class C networks allocate 24 bits for the network address field.

Class D and Class E Addresses

  • Class D addresses are used for multicast purposes.
  • Class E addresses are reserved for research purposes.

Variable Length Subnet Masking (VLSM)

  • VLSM allows for subnets of different sizes, reducing IP address wastage.
  • VLSMs use subnet masks with different lengths to avoid wastage of IP addresses.

Supernetting - Classless Inter-Domain Routing (CIDR)

  • CIDR eliminates the traditional concept of Class A, Class B, and Class C network addresses.
  • Each piece of routing information is advertised with a bit mask (or prefix-length).
  • CIDR allows for efficient allocation of a finite address space.

Private IP Address and Public IP Address

  • Private IP addresses are used within a local network and are invalid and non-routable in the Internet.
  • Public IP addresses are used outside the local network and are provided by an Internet Service Provider (ISP).
  • Private IP addresses are locally unique within a private network, while public IP addresses are globally unique across the Internet.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Quizzes Like This

Use Quizgecko on...
Browser
Browser