quiz Computer Science · 10 questions

Fundamentals of Network Devices and Addressing

help_outline 10 questions
timer ~5 min
auto_awesome AI-generated
0 / 10
Score : 0%
1

A network administrator notices two computers receiving each other's unicast frames. Which device is most likely misconfigured?

2

Given the CIDR block 192.168.1.0/24, how many usable host addresses are available?

3

In a LAN that uses only hubs, which of the following statements is true about data transmission?

4

A router receives a packet whose destination IP belongs to a different LAN. Which table does the router consult to decide the next hop?

5

Which wireless standard provides the highest theoretical data rate according to the excerpt?

6

When a switch learns a new MAC address on a port, what immediate action does it take?

7

A network uses the private IP range 10.0.0.0/8. How many distinct subnets can be created if each subnet must have a /24 mask?

8

Which device typically operates in promiscuous mode to capture all network traffic?

9

In a network segment using a router, which type of traffic is NOT forwarded by default?

10

A switch port shows a green link light and an amber activity light. What does this indicate about the connection?

menu_book

Fundamentals of Network Devices and Addressing

Review key concepts before taking the quiz

Fundamentals of Network Devices and Addressing

Welcome to this comprehensive course on core networking concepts. Whether you are preparing for a certification exam or simply want to deepen your knowledge, this guide covers the most frequently tested topics: MAC address handling, CIDR calculations, hub versus switch behavior, routing tables, wireless standards, subnet design, and promiscuous‑mode packet capture. Each section includes clear explanations, real‑world analogies, and a quick‑review quiz to reinforce learning.

1. MAC Addresses and NIC Configuration

What is a MAC address?

A Media Access Control (MAC) address is a 48‑bit identifier burned into every network interface card (NIC). It is unique to the hardware and operates at Layer 2 of the OSI model. Switches use MAC addresses to forward frames to the correct port.

Duplicate MAC addresses

If two NICs share the same MAC address, the switch’s address‑learning table cannot reliably map a frame to a single port. The result is that each device may receive the other’s unicast frames, leading to communication errors.

  • Symptoms: intermittent connectivity, unexpected ARP replies, or frames arriving at the wrong host.
  • Root cause: a mis‑configured NIC (often due to cloning or a manufacturing defect).
  • Resolution: verify the NIC’s MAC with ipconfig /all (Windows) or ifconfig -a (Linux) and re‑assign a unique address if needed.

Think of MAC addresses as name tags at a conference. If two attendees wear identical tags, the staff cannot deliver the right messages to the right person.

2. CIDR Notation and Host Calculations

Understanding CIDR

Classless Inter‑Domain Routing (CIDR) expresses an IP network as address/prefix. The prefix indicates how many bits belong to the network portion. For example, 192.168.1.0/24 means the first 24 bits are the network ID, leaving 8 bits for host addresses.

How many usable hosts?

To calculate usable hosts:

  • Compute total addresses: 2^(32‑prefix). For /24, that is 2⁸ = 256.
  • Subtract the network address (all host bits 0) and the broadcast address (all host bits 1).
  • Result: 256 − 2 = 254 usable hosts.

Imagine a classroom where the first seat is reserved for the teacher and the last seat for the fire alarm; the remaining seats are for students. Those 254 seats are the usable IPs.

3. Hubs vs. Switches: Transmission Modes

Hub behavior

A hub is a simple, multi‑port repeater. It receives a signal on any port and broadcasts it to all other ports. Because the medium is shared, hubs operate in half‑duplex mode: only one device can transmit at a time. If two devices send simultaneously, a collision occurs, and the frames are corrupted.

Analogy: a walkie‑talkie channel where only one person can speak while everyone else listens.

Switch behavior

Switches maintain a MAC‑address table and forward frames only to the destination port, enabling full‑duplex communication (simultaneous send and receive). This eliminates collisions on modern Ethernet.

4. Routing Decisions and the Routing Table

When a router receives a packet destined for a different LAN, it consults its routing table. This table contains IP prefixes, associated next‑hop addresses, and outgoing interfaces. The router performs a longest‑prefix match to determine the best path.

  • Not consulted: NAT tables (used for address translation), ARP cache (maps IP to MAC on the local link), or switching tables (Layer 2 only).
  • Key action: forward the packet to the next router or directly to the destination if the route is on a connected network.

5. Wireless Standards and Data Rates

Wi‑Fi standards evolve rapidly. The highest theoretical data rate among the common standards is provided by 802.11be (Wi‑Fi 7) at 46.1 Gbps. For comparison:

  • 802.11ax – up to 9.6 Gbps
  • 802.11ac – up to 6.9 Gbps
  • 802.11n – up to 600 Mbps

Think of these standards as highways: 802.11be is a ten‑lane super‑expressway, while the others are two‑lane roads.

6. Switch MAC‑Learning Process

When a switch receives a frame with a source MAC address it has not seen before, it immediately updates its MAC‑address table with the new MAC → port mapping. This learning step enables subsequent frames destined for that MAC to be forwarded directly, rather than being flooded.

The switch does not broadcast the frame, send an ARP request, or involve the router for this basic operation.

7. Subnetting a Private /8 Network

From 10.0.0.0/8 to /24 subnets

The 10.0.0.0/8 block provides 24 bits for subnetting (32 total − 8 network bits). Each /24 subnet consumes 8 of those bits, leaving 16 bits to create individual subnets:

  • Number of possible /24 subnets = 2¹⁶ = 65,536.
  • Each /24 subnet contains 256 IP addresses, of which 254 are usable for hosts.

Visualize the /8 as a massive city block; each /24 is a street within that block. You can fit 65,536 streets inside the block.

8. Promiscuous Mode and Packet Capture

Promiscuous mode is a NIC setting that tells the interface to accept **all** frames on the network segment, regardless of the destination MAC address. This is essential for tools like Wireshark that need to capture traffic for analysis.

  • Device that typically operates in this mode: the NIC itself, when configured for packet sniffing.
  • Switches can mirror traffic to a monitoring port, but the actual capture still occurs on a NIC set to promiscuous mode.
  • Routers and hubs do not inherently use promiscuous mode for normal operation.

Imagine the NIC as a person who decides to listen to every conversation in a crowded room, rather than only the one addressed to them.

Review Quiz

Test your understanding with the following questions. Review the explanations above if you need a refresher.

  • Q1: Two computers are receiving each other's unicast frames. Which device is most likely misconfigured?
    Answer: The NIC, because its burned‑in address is duplicated.
  • Q2: How many usable host addresses are in a 192.168.1.0/24 network?
    Answer: 254 usable addresses.
  • Q3: In a LAN that uses only hubs, which statement is true?
    Answer: Only one device can transmit at a time (half‑duplex).
  • Q4: Which table does a router consult to forward a packet to a different LAN?
    Answer: The routing table containing IP prefixes and next‑hop information.
  • Q5: Which wireless standard provides the highest theoretical data rate?
    Answer: 802.11be with 46.1 Gbps.
  • Q6: When a switch learns a new MAC address, what does it do?
    Answer: It updates its switching table with the MAC‑port mapping.
  • Q7: How many /24 subnets can be created from the 10.0.0.0/8 block?
    Answer: 65,536 subnets.
  • Q8: Which device typically operates in promiscuous mode to capture all traffic?
    Answer: A NIC, when configured for packet sniffing.

Review each explanation, revisit the relevant section, and you’ll be well‑prepared to tackle any network‑device or addressing question on exams or in real‑world troubleshooting.

Stop highlighting.
Start learning.

Join students who have already generated over 50,000 quizzes on Quizly. It's free to get started.