Computer Networks - Network Layer Quiz
32 Questions
2 Views

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

What is the first host address in the network 210.20.77.0?

  • 210.20.77.1 (correct)
  • 210.20.77.2
  • 210.20.77.0
  • 210.20.77.254

How many usable host addresses are available in a Class C network with 256 addresses?

  • 252
  • 254 (correct)
  • 255
  • 256

In subnetting a Class C network, if 5 bits are used for subnet addressing, how many subnets can be created?

  • 64
  • 32 (correct)
  • 16
  • 128

What is reserved for the broadcast address in the network 210.20.77.0?

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

What is the default subnet mask for a Class C address?

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

When calculating the subnet address using the binary method, what operation is performed between the IP address and the subnet mask?

<p>Bit-wise AND (A)</p> Signup and view all the answers

In the range of available addresses for the network 210.20.77.0, what is the last usable host address?

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

Which bit-wise operation results in a '0' for both inputs when calculating subnet addresses?

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

What is the default subnet mask for Class B IP addresses?

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

In a Class C address with a subnet mask of 255.255.255.0, how many bits are used for the host portion?

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

Which of the following represents a Class A address in the default addressing scheme?

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

What does the prefix '/24' indicate in the IP address 192.168.10.2/24?

<p>The first 24 bits are for the network (D)</p> Signup and view all the answers

What is the range of IP addresses classified as Class C?

<p>192-223 (A)</p> Signup and view all the answers

How many networks are available in Class A?

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

Which Class IP address utilizes a default subnet mask of 255.255.255.0?

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

What is the primary criterion used by RIP to determine the best path between networks?

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

What is the total number of host IDs available in a Class B network with a /16 prefix?

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

What does a distance value of 0 indicate in routing configurations?

<p>The route is local and preferred (C)</p> Signup and view all the answers

What is the default distance for routes in RIP?

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

How frequently do routers using RIP exchange their routing information by default?

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

Which protocol is NOT classified as a dynamic routing protocol?

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

What happens if no update is received by a router for 180 seconds in RIP?

<p>The router marks the neighboring router as out of service (B)</p> Signup and view all the answers

Which of the following routing protocols is classified as an external protocol?

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

In static routing, how can multiple routes be prioritized?

<p>By adding distance values to each route (A)</p> Signup and view all the answers

How many usable hosts are there per subnet in a /29 subnet mask?

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

What is the first subnet address for the IP 211.215.9.115/29?

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

What is the broadcast address for the first subnet of the IP address 211.215.9.115/29?

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

What does the term 'subnet bits' indicate in the context of subnetting?

<p>Bits used to create additional networks (B)</p> Signup and view all the answers

How many bits are typically added for 3 required subnets?

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

Which type of routing uses protocols that adjust automatically for topology changes?

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

What does a routing table indicate in a router?

<p>Different networks and the best route to them (B)</p> Signup and view all the answers

What is the primary function of a static route in networking?

<p>To manually configure routes for unidirectional communication (A)</p> Signup and view all the answers

Flashcards

Classful IP Addressing

A method of addressing IP addresses using a fixed number of bits for network and host identification.

Subnet Mask

Representing the network and host portions of an IP address. Each class has a default subnet mask based on the number of bits allocated for network and host.

First Byte

The first byte of an IP address, indicating a network's class and its allocation of bits for network and host identification.

Remaining Bytes

The remaining bytes of an IP address, excluding the first byte, which is used for network identification. These bytes contain the host portion of the address, allowing unique identification of individual devices within a network.

Signup and view all the flashcards

Host Bits

The number of bits reserved for identifying host devices within a network. It determines the maximum number of hosts a network can support.

Signup and view all the flashcards

Network Range

The range of IP addresses reserved for networks within a specific class, based on the number of bits allocated for network identification. It represents the scope of the network's address space.

Signup and view all the flashcards

Prefix Mask

A way to represent a network address and its prefix length, indicating the number of bits used for network identification.

Signup and view all the flashcards

Default Subnet Mask

The default subnet mask for a specific class of IP addresses, representing a uniform allocation of bits for network and host identification.

Signup and view all the flashcards

Network Address

The first address in a subnet, identifying the network itself. It is all zeros in the host portion of the IP address.

Signup and view all the flashcards

Broadcast Address

The last address in a subnet, used for broadcasting messages to all devices on that subnet. It is all ones in the host portion of the IP address.

Signup and view all the flashcards

Usable Host Addresses

The number of usable host addresses within a subnet, calculated by subtracting the network address and broadcast address from the total possible addresses.

Signup and view all the flashcards

Subnetting

The process of dividing a network into smaller subnets, each with its own subnet address. This allows for more efficient management of IP addresses.

Signup and view all the flashcards

Subnet Address Calculation

A bitwise AND operation performed on the host IP address and subnet mask to determine the subnet address.

Signup and view all the flashcards

Host Range

The range of IP addresses available for assigning to hosts within a specific subnet.

Signup and view all the flashcards

Subnet Bits

The number of bits used in the network portion of an IP address to define the number of subnets. A larger number of subnet bits means more subnets.

Signup and view all the flashcards

Number of Subnets

The number of subnet bits determines the total number of subnets you can create from a given network. The formula is 2 raised to the power of the number of subnet bits.

Signup and view all the flashcards

Hosts per Subnet

The number of host bits determines the total number of hosts you can have in each subnet. It's calculated using the formula 2 raised to the power of the number of host bits.

Signup and view all the flashcards

First Subnet Address

The first IP address in a subnet, representing the beginning of the address range for that subnet.

Signup and view all the flashcards

First Host Address

The first usable IP address in a subnet. It's one address higher than the subnet address and is available for assigning to host devices.

Signup and view all the flashcards

Last Host Address

The last usable IP address in a subnet. It's one address lower than the broadcast address and is available for assigning to host devices.

Signup and view all the flashcards

Routing

The process of selecting the best route for data packets to reach their destination based on the available routing information in the router's routing table.

Signup and view all the flashcards

Static Routing

A routing method where a router uses a table to determine the best path for data packets to reach their destination.

Signup and view all the flashcards

Dynamic Routing

A routing method that allows routers to automatically discover and update their routing tables based on network changes.

Signup and view all the flashcards

RIP (Routing Information Protocol)

A type of dynamic routing protocol that uses a distance metric to decide the best route for a packet. It counts the number of routers (hops) a packet has to pass through to reach its destination. The path with the fewest hops is considered the best.

Signup and view all the flashcards

Distance Vector Routing

A routing protocol that determines the best path for a packet by using a distance vector algorithm.

Signup and view all the flashcards

Link State Routing

A routing protocol that builds a map of the network and then chooses the shortest path based on that map.

Signup and view all the flashcards

BGP (Border Gateway Protocol)

A routing protocol used to exchange routing information between different autonomous systems (ASes). ASes are independent networks under a single administrative domain.

Signup and view all the flashcards

Distance Value

A metric used in routing protocols to determine the priority of a route. Lower distance values indicate higher priority routes.

Signup and view all the flashcards

Routing Protocol Exchange

The process of exchanging network information between routers to keep their routing tables up to date. This helps ensure that each router has the most accurate and current information about the network topology.

Signup and view all the flashcards

Study Notes

Computer Networks - Network Layer (Continued)

  • The lecture covers the Network Layer, focusing on addressing, subnetting, masks, and routing.
  • The Network Layer is part of the TCP/IP model.
  • A 32-bit binary address is divided into four 8-bit sections (octets).
  • Addresses are often expressed in dotted decimal notation (e.g., 192.168.10.44).
  • Each class of IP address has a default subnet mask.
  • Class A uses /8, Class B uses /16, and Class C uses /24.
  • Subnet masks are represented by dotted decimal format (e.g., 255.0.0.0).
  • Knowing the number of bits assigned to the network and host is crucial.
  • The number of network bits and their positions come after the IP address in the "slash" notation (e.g., /24).
  • The first and last host addresses are reserved for network and broadcast addresses.
  • This leaves 254 usable host addresses for a Class C address.
  • Subnetting divides a network into smaller subnets.
  • Subnetting is done by taking bits from the host portion to create subnet portions, leaving fewer bits for the actual host portion.
  • Subnet masks define how network and host bits are divided.
  • To calculate a subnet address, perform a bitwise AND operation between the IP address and the subnet mask.
  • A routing table helps routers identify appropriate network destinations.
  • Routers use destination addresses and routing tables to determine the best path for data packets.
  • Static routing is manually configured.
  • Dynamic routing (like RIP) involves routers updating their routing tables dynamically.
  • RIP (Routing Information Protocol) protocol is distance-vector:
    • It uses hop count as a routing metric to determine the best path.
    • Routers send updates every 30 seconds.
    • The hop count values max out at 15, as a route with a hop count of 16 is considered unreachable,
    • RIP uses port 520.
  • Routers use these tables to decide best paths to forward packets.

Studying That Suits You

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

Quiz Team

Related Documents

Computer Networks Lecture 7 PDF

Description

This quiz tests your knowledge on the Network Layer, focusing on key topics such as IP addressing, subnetting, and routing. You'll explore the intricacies of 32-bit binary addresses, subnet masks, and the various classes of IP addresses. Prepare to demonstrate your understanding of how these concepts are applied within the TCP/IP model.

More Like This

IP Addressing and Subnetting
30 questions

IP Addressing and Subnetting

CuteWatermelonTourmaline avatar
CuteWatermelonTourmaline
Protocolo de Ruteo y Subredes
45 questions

Protocolo de Ruteo y Subredes

AuthoritativeCthulhu7632 avatar
AuthoritativeCthulhu7632
IP Addressing and Subnetting Quiz
30 questions
Use Quizgecko on...
Browser
Browser