Questions: Computer Networks & Cisco
Back to Topics List

Computer Networks & Cisco Questions

Page 6 of 6 (Displaying Questions 501 – 542 of 542 Total)

501. Explain the fundamental difference between IPv4 and IPv6.

Show Answer

IPv4 uses 32 bits, resulting in approximately 4.3 billion unique addresses, written in dotted-decimal format. IPv6 uses 128 bits, providing a virtually unlimited number of addresses, written in hexadecimal format separated by colons.

Added: Dec 01, 2025

502. What is the purpose of a Subnet Mask and how does it relate to an IP address?

Show Answer

A **Subnet Mask** is a 32-bit number used to differentiate the **Network ID** portion of an IP address from the **Host ID** portion. It helps a device determine if a destination IP address is on the local network or a remote network.

Added: Dec 01, 2025

503. Define the three main classes of IPv4 addresses (A, B, C) and their default subnet masks.

Show Answer

• **Class A (1-126):** For very large networks. Default mask: 255.0.0.0. • **Class B (128-191):** For medium to large networks. Default mask: 255.255.0.0. • **Class C (192-223):** For small networks. Default mask: 255.255.255.0.

Added: Dec 01, 2025

504. What is CIDR (Classless Inter-Domain Routing) and why did it replace Classful Addressing?

Show Answer

CIDR is a method for efficiently allocating IP addresses by allowing the network mask to be of arbitrary length (e.g., /24, /27). It replaced Classful addressing (A, B, C) to prevent IP address exhaustion by allowing more flexible and granular subnets.

Added: Dec 01, 2025

505. What is the difference between a Public IP address and a Private IP address?

Show Answer

A **Public IP** is globally unique and routable on the internet, assigned by an ISP. A **Private IP** is non-routable on the internet, used only within a private network (like a home or office), and falls within specific reserved ranges (e.g., 192.168.x.x).

Added: Dec 01, 2025

506. Explain the role of NAT (Network Address Translation) in networking.

Show Answer

NAT is a method used by routers to map multiple private IP addresses on a local network to a single public IP address. This conserves public IP addresses and adds a layer of security by hiding the internal network structure.

Added: Dec 01, 2025

507. What is a loopback address and what is its standard value in IPv4 and IPv6?

Show Answer

A **loopback address** is a special IP address (or range) that sends data back to the originating device. It is used for troubleshooting and testing network software. In IPv4, it is **127.0.0.1**. In IPv6, it is **::1**.

Added: Dec 01, 2025

508. Explain the process of Subnetting and why it is necessary.

Show Answer

Subnetting is the process of dividing a large network into smaller, more manageable subnetworks. It is necessary to reduce network congestion, conserve IP addresses, and enhance network security by isolating segments of the network.

Added: Dec 01, 2025

509. What is VLSM (Variable Length Subnet Masking)?

Show Answer

VLSM is a technique that allows network engineers to use different subnet masks for different subnets within the same network. This is highly efficient for address allocation, preventing the waste of IP addresses that occurs with fixed-length subnetting.

Added: Dec 01, 2025

510. What is the role of ARP (Address Resolution Protocol)?

Show Answer

ARP is a protocol used to dynamically map an IP address (Layer 3) to a physical MAC address (Layer 2) on a local area network. When a device needs to communicate with another device on the same subnet, it uses ARP to find the destination MAC address.

Added: Dec 01, 2025

511. How does DHCP (Dynamic Host Configuration Protocol) work to assign IP addresses?

Show Answer

DHCP uses the DORA process (Discover, Offer, Request, Acknowledge). A client broadcasts a Discover message, the server sends an Offer, the client sends a Request to lease the IP, and the server sends an Acknowledge, granting the lease for a specific duration.

Added: Dec 01, 2025

512. Describe the two primary addressing types in IPv6: Link-Local and Global Unicast.

Show Answer

Link-Local addresses (starting with FE80::/10) are used for communication only within the same physical link (subnet) and are not routable. Global Unicast addresses are globally unique and routable on the internet, similar to public IPv4 addresses.

Added: Dec 01, 2025

513. What is the "SLAAC" mechanism in IPv6?

Show Answer

SLAAC (Stateless Address Autoconfiguration) is an IPv6 feature that allows a device to automatically configure its own Global Unicast IP address and default gateway without the need for a DHCP server. It uses the router advertisement (RA) message to get network prefix information.

Added: Dec 01, 2025

514. What is the private IP address range for a Class C network, and what does it mean?

Show Answer

The private range is 192.168.0.0 to 192.168.255.255. These addresses are reserved for use within private networks and are not routable on the public internet, meaning they must be translated using NAT to access the internet.

Added: Dec 01, 2025

515. What defines an IP address as Class A, and what are its Network and Host bit allocations?

Show Answer

A Class A IP address is defined by the first octet range of 1 to 126. It uses the first 8 bits (one octet) for the Network ID and the remaining 24 bits for the Host ID, allowing for a few large networks with millions of hosts each. Default Subnet Mask: 255.0.0.0.

Added: Dec 01, 2025

516. What are the characteristics of a Class B IP address, and what is its default subnet mask?

Show Answer

A **Class B** IP address has a first octet range of 128 to 191. It divides the address equally, using the first 16 bits (two octets) for the Network ID and the remaining 16 bits for the Host ID. This suits medium to large networks. Default Subnet Mask: 255.255.0.0.

Added: Dec 01, 2025

517. Describe a Class C IP address in terms of its range, allocation, and network size.

Show Answer

A **Class C** IP address has a first octet range of 192 to 223. It allocates the first 24 bits (three octets) for the Network ID and only 8 bits for the Host ID. It is designed for small networks, allowing for many networks but few hosts per network. Default Subnet Mask: 255.255.255.0.

Added: Dec 01, 2025

518. What is the purpose of Class D IP addresses, and what is their reserved range?

Show Answer

Class D IP addresses (range 224.0.0.0 to 239.255.255.255) are reserved exclusively for Multicasting. Multicast allows a single sender to send data to a group of interested receivers simultaneously, often used for streaming media and routing protocol updates.

Added: Dec 01, 2025

519. Explain the role of Class E IP addresses.

Show Answer

Class E IP addresses (range 240.0.0.0 to 255.255.255.255) are reserved for Experimental or future use and are not used in normal network operations on the public internet. No addresses from this class can be assigned to a host.

Added: Dec 01, 2025

520. How is the Network ID calculated using an IP address and a Subnet Mask?

Show Answer

The Network ID is calculated by performing a logical bitwise AND operation between the IP address and the Subnet Mask. The resulting binary number, when converted back to decimal, yields the Network Address (the first address in the subnet).

Added: Dec 01, 2025

521. In the context of subnetting, what is the significance of the "all ones" and "all zeros" host portion of an IP address?

Show Answer

When the Host ID bits are all zeros, the address represents the Network Address (or Network ID) itself, which cannot be assigned to a host. When the Host ID bits are all ones, the address represents the Broadcast Address for that network, used to send data to all hosts on that subnet simultaneously.

Added: Dec 01, 2025

522. What is the private IP address range specifically reserved for Class A networks?

Show Answer

The private address range for Class A is 10.0.0.0 to 10.255.255.255. This single range, defined by RFC 1918, is commonly used in very large organizations that need a massive number of private host addresses.

Added: Dec 01, 2025

523. What is the private IP address range specifically reserved for Class B networks?

Show Answer

The private address range for Class B is 172.16.0.0 to 172.31.255.255. This range spans 16 Class B networks and is suitable for medium to large enterprises requiring thousands of private host addresses.

Added: Dec 01, 2025

524. Why is Class D reserved for multicasting, and how does it differ from unicast addressing?

Show Answer

Class D is reserved for multicasting, where a single packet is sent from a source to multiple destinations simultaneously. Unlike unicast, which is a one-to-one transmission, Class D addresses do not identify a single host, but a group of hosts interested in receiving the data.

Added: Dec 01, 2025

525. What is the significance of the /8 prefix (CIDR notation) for a Class A network?

Show Answer

The /8 prefix means that the first 8 bits of the IP address are fixed and represent the Network ID, while the remaining 24 bits are available for host addresses. This is the default prefix for a Class A network and corresponds to a subnet mask of 255.0.0.0.

Added: Dec 01, 2025

526. How do you determine the maximum number of usable hosts in a given subnet, and why are two addresses always subtracted?

Show Answer

The number of usable hosts is calculated by the formula (2^n) - 2, where "n" is the number of host bits. Two addresses are subtracted because one is reserved for the Network Address (all host bits zero) and one for the Broadcast Address (all host bits one).

Added: Dec 01, 2025

527. In an IP address (e.g., 192.168.1.50 with mask 255.255.255.0), what specifically defines the Network Portion and the Host Portion?

Show Answer

The Network Portion is defined by the bits in the IP address that correspond to the "1"s in the subnet mask (e.g., 192.168.1 in this case). The Host Portion is defined by the bits in the IP address that correspond to the "0"s in the subnet mask (e.g., .50 in this case).

Added: Dec 01, 2025

528. Why is Class E reserved for experimental use and never assigned to public devices?

Show Answer

Class E was reserved by the IANA (Internet Assigned Numbers Authority) for future use, experimentation, and research. It was not integrated into the public addressing scheme to provide a safety net for future addressing technologies, though it remains largely unused for its original purpose.

Added: Dec 01, 2025

529. Explain the difference between ARP and RARP.

Show Answer

ARP (Address Resolution Protocol) maps an IP address to a MAC address (Layer 3 to Layer 2). RARP (Reverse Address Resolution Protocol), which is largely obsolete and replaced by DHCP, maps a MAC address to an IP address (Layer 2 to Layer 3).

Added: Dec 01, 2025

530. What is the function of APIPA (Automatic Private IP Addressing) and its default range?

Show Answer

APIPA is a Microsoft feature where a device automatically assigns itself a link-local IP address when it cannot find a DHCP server. The address range is 169.254.0.1 to 169.254.255.254, and it is only usable for communication within the local subnet.

Added: Dec 01, 2025

531. In subnetting, given a Class C address 192.168.1.0 and a mask of /27, how many usable subnets and hosts per subnet are possible?

Show Answer

A /27 mask means 3 bits are borrowed (27-24=3). Subnets: 2^3 = 8 possible subnets. Host bits: 32-27 = 5 host bits. Usable Hosts: (2^5) - 2 = 30 usable hosts per subnet.

Added: Dec 01, 2025

532. What is the significance of the special IP address 0.0.0.0?

Show Answer

The 0.0.0.0 address typically represents "This host on this network." It is often used as a source address by a device when it is booting up and has not yet been assigned an IP address (such as during the DHCP discovery process).

Added: Dec 01, 2025

533. What is the significance of the special IP address 255.255.255.255?

Show Answer

The 255.255.255.255 address is the limited broadcast address. A packet sent to this address is broadcast to all hosts on the local physical network. Routers will not forward packets with this destination address.

Added: Dec 01, 2025

534. What is Supernetting (or Route Aggregation) and how does it relate to CIDR?

Show Answer

Supernetting is the process of combining multiple smaller networks (subnets) into a single, larger network block, reducing the total number of entries in a router’s routing table. It is the opposite of subnetting and is enabled by CIDR (Classless Inter-Domain Routing).

Added: Dec 01, 2025

535. Briefly compare DHCP and BOOTP.

Show Answer

DHCP (Dynamic Host Configuration Protocol) is the modern standard used to automatically assign IP addresses and configuration. BOOTP (Bootstrap Protocol) is an older, simpler protocol that requires manual pre-configuration of the client’s MAC address on the server and is less flexible than DHCP.

Added: Dec 01, 2025

536. What is the "EID" in an IPv6 Global Unicast address?

Show Answer

EID stands for **Extended Interface Identifier**. It is the last 64 bits of the IPv6 address and is typically used to identify the host interface. It is often generated from the device's 48-bit MAC address using the EUI-64 process.

Added: Dec 01, 2025

537. Explain the concept of a "Stateless NAT" versus a "Stateful NAT".

Show Answer

A **Stateful NAT** (most common) maintains a translation table of active sessions, tracking the source IP/port to public IP/port mapping. A **Stateless NAT** translates the IP address based only on a static rule without tracking active sessions, which is simpler but less efficient and less secure.

Added: Dec 01, 2025

538. What are the three main types of IP address communication modes?

Show Answer

The three main modes are: **Unicast** (one-to-one communication, single source to single destination), **Broadcast** (one-to-all communication on a local network), and **Multicast** (one-to-many communication, single source to a group of specific destinations).

Added: Dec 01, 2025

539. Describe the role of a Default Gateway in IP networking.

Show Answer

The **Default Gateway** is the IP address of the router interface on the local network segment. It serves as the exit point for a device to send traffic that is destined for networks outside of its own local subnet (i.e., to the internet or other remote networks).

Added: Dec 01, 2025

540. In the context of IPv4, what is "ARP Spoofing" and how is it a security concern?

Show Answer

ARP Spoofing (or ARP Poisoning) is a technique where an attacker sends false ARP messages to redirect traffic intended for one host (like the gateway) to the attacker's machine instead. This allows the attacker to intercept, modify, or drop the communication (Man-in-the-Middle attack).

Added: Dec 01, 2025

541. What is the purpose of the 169.254.0.0/16 address range?

Show Answer

This range is reserved for **APIPA** (Automatic Private IP Addressing). It allows hosts to assign themselves a unique IP address when a DHCP server is unavailable, enabling basic communication on the local subnet without external routing.

Added: Dec 01, 2025

542. How do routers use the Routing Table and the Subnet Mask to forward packets?

Show Answer

When a router receives a packet, it performs a bitwise AND operation on the destination IP and the subnet mask of each entry in its **Routing Table**. The router compares the result to the network address in the entry. The entry that provides the longest match (most specific network) determines the next hop for the packet.

Added: Dec 01, 2025