1. Home
  2. Explore
  3. Computer Science
  4. Network Devices and OSI Layers

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Network Devices and OSI Layers

Network Engineering Study Notes

1. OSI Model and Network Device Classification

The Open Systems Interconnection (OSI) model is a seven-layer reference model designed to help different computing systems communicate. The layers, from lowest to highest, are:

  1. Layer 1 — Physical: Electrical, optical, radio, and physical transmission of bits.

  2. Layer 2 — Data Link: Local network communication, frames, and MAC addresses.

  3. Layer 3 — Network: Logical addressing and routing between networks.

  4. Layer 4 — Transport: End-to-end delivery, reliability, and flow control.

  5. Layer 5 — Session: Establishing, managing, and terminating communication sessions.

  6. Layer 6 — Presentation: Data formatting, encryption, and compression.

  7. Layer 7 — Application: Network services used directly by applications.

A device may operate at several OSI layers. To classify it, identify the highest OSI layer at which it operates.


2. Layer 1, Layer 2, and Layer 3 Devices

Layer 1 Devices

Analog Modem

The term modem is derived from modulator-demodulator.

  • Converts a digital signal from a computer into an analog signal.

  • Modulates the analog signal so it can travel across a telephone line.

  • Demodulates incoming analog signals back into digital signals.

  • Originally used to connect network segments across the Public Switched Telephone Network (PSTN).

  • Provides a single network connection.

  • Operates at Layer 1, because it is concerned only with signals and the physical transmission medium.

  • Does not make decisions about addresses, destinations, or routes.

Hub

A hub is a physical-layer concentrator and repeater.

  • Receives an electrical signal on one port.

  • Replicates the signal to every other port.

  • Does not identify the source or intended destination.

  • Operates at Layer 1.

  • A hub creates one shared collision domain.

  • Hubs are uncommon in modern networks because switches provide more efficient communication.


Layer 2 Devices

Switch

A switch forwards traffic using Layer 2 MAC addresses.

  • Uses an application-specific integrated circuit (ASIC) for fast switching.

  • Learns which devices are connected to which ports.

  • Builds a MAC address table by examining incoming frames.

  • Sends traffic only to the port associated with the destination MAC address when possible.

  • Can range from a simple, mostly unmanaged device to a highly programmable enterprise device.

  • Communicates directly with local network devices.

  • A switch separates collision domains on a port-by-port basis.

Wireless Access Point

A wireless access point (WAP) is a specialized network bridge.

  • Bridges wireless network segments to wired Ethernet segments.

  • Commonly connects an IEEE 802.11 wireless network to an IEEE 802.3 Ethernet network.

  • Operates primarily at Layer 2.

  • Communicates with local network devices.

  • Provides wireless connectivity but does not inherently route traffic between different IP networks.


Layer 3 Devices

Multilayer Switch

A multilayer switch provides Layer 2 switching and services at higher OSI layers.

  • A Layer 3 switch can perform routing in addition to switching.

  • Uses ASIC hardware programmed to handle routing functions.

  • Can communicate with local and nonlocal networks.

  • Is highly programmable and complex.

  • Usually has many ports.

  • More common in enterprise LANs than in small-office/home-office networks because of its cost.

Router

A router connects different networks using Layer 3 logical addressing.

  • Uses IP addresses and routing tables to make forwarding decisions.

  • Selects the best available route to remote networks.

  • Relies primarily on software-based decision-making rather than only ASIC switching.

  • Communicates with local and nonlocal devices.

  • Usually has fewer ports than a switch.

  • Separates broadcast domains.

  • Can provide services such as NAT, DHCP relay, firewalling, and VPN connectivity.


3. Security Network Devices

Firewall

A firewall controls traffic entering or leaving a network.

  • May be:

    • Software running on a host or router.

    • A dedicated hardware appliance.

    • A service integrated into another network device.

  • Operates across multiple layers, especially Layers 2, 3, 4, and 7.

  • Acts as the first major line of defense between a trusted internal network and external threats.

  • Can block traffic according to addresses, ports, protocols, connection state, and application rules.

Stateless Inspection

With stateless inspection:

  1. Every packet is examined individually.

  2. The packet is compared with a configured rule set.

  3. The matching rule determines the action, such as allowing, blocking, or logging the packet.

  4. No knowledge of previous packets or connection history is required.

Stateful Inspection

With stateful inspection:

  • The firewall tracks the state of network connections.

  • Return traffic is allowed when it belongs to an established internal-to-external connection.

  • Unsolicited external connections to the internal network are generally blocked.

  • The firewall focuses on whether traffic belongs to a valid connection rather than examining every packet independently.


Intrusion Detection System

An intrusion detection system (IDS) is a passive security-monitoring system.

  • Detects possible attacks or breaches.

  • Does not normally stop the attack itself.

  • Alerts administrators through:

    • Log files.

    • Email.

    • Text or SMS messages.

  • Receives a copy of network traffic and compares it with detection standards.

IDS Detection Methods

  • Signature-based detection: Searches for known malware or attack patterns.

  • Anomaly-based detection: Identifies unusual or suspicious deviations from normal behavior.

  • Policy-based detection: Compares activity with a declared security policy.

A host-based IDS (HIDS) operates directly on an individual host rather than monitoring an entire network segment.


Intrusion Prevention System

An intrusion prevention system (IPS) is an active security system.

  • Detects malicious activity.

  • Takes action to stop or limit the attack.

  • Also reports events through logs, email, or text messages.

  • All traffic entering and leaving the protected network segment should pass through the IPS.

  • It is commonly positioned between a firewall/router and the destination network.

Possible IPS responses include:

  • Blocking an offending IP address.

  • Closing vulnerable interfaces.

  • Terminating network sessions.

  • Redirecting an attack.

  • Blocking malicious packets or connections.

The key distinction is that an IDS detects and reports, while an IPS detects and actively prevents.


VPN Concentrator

A VPN concentrator supports many secure VPN connections.

  • Manages VPN tunnels.

  • Provides encryption and authentication.

  • Can operate at Layers 2, 3, and 7.

  • Most traditional VPN connections operate at Layer 3 using IPsec.

  • SSL/TLS VPN connections commonly operate at Layer 7.

  • Often serves as the central device managing remote-access VPN users or site-to-site VPN connections.


4. Optimization and Performance Devices

Load Balancer

A load balancer, also called a content switch or content filter, distributes requests among multiple systems that provide the same service.

  • Commonly used with server farms.

  • Prevents one server from becoming overloaded.

  • Improves availability, scalability, and efficiency.

  • May distribute traffic according to:

    • Current server load.

    • Connection count.

    • Response time.

    • Content or application requirements.

Proxy Server

A proxy server requests resources on behalf of a client.

Functions include:

  • Hiding the client from an untrusted external network.

  • Filtering content entering the trusted network.

  • Retrieving web resources for clients.

  • Caching frequently requested pages to improve performance.

  • Enforcing access-control policies.


5. Virtual Private Networks

A virtual private network (VPN) allows a remote host or network to access a private network through an encrypted tunnel over a public network.

Although traffic may cross many intermediate systems, both endpoints treat the VPN as a direct connection. VPNs can reduce costs because they do not require a dedicated leased line.

Types of VPNs

Site-to-Site VPN

  • Connects one remote network to another main network.

  • The remote network appears to be a local network segment.

  • VPN concentrators at both sites manage the connection.

  • Commonly uses tunnel-mode IPsec.

Remote-Access VPN

Also called a host-to-site VPN.

  • Allows selected remote users to access an internal network.

  • A VPN concentrator on the internal network manages connections.

  • The remote user normally requires VPN client software.

Host-to-Host VPN

Often called an SSL VPN.

  • Creates a secure connection between two individual systems.

  • Does not require dedicated VPN client software.

  • The user connects through a web browser supporting SSL or, more commonly, TLS.

  • A VPN concentrator manages the connection.


VPN Protocols

IPsec

Internet Protocol Security (IPsec) is a suite of protocols rather than a single protocol.

  • Operates at Layer 3 and above.

  • Is the most common suite for securing traditional VPNs.

  • Supports authentication, encryption, key exchange, and secure tunneling.

Authentication Header

The Authentication Header (AH) protocol:

  • Authenticates the sender and verifies data integrity.

  • Does not encrypt the data.

  • Provides authentication without confidentiality.

Encapsulating Security Payload

The Encapsulating Security Payload (ESP) protocol:

  • Authenticates packets.

  • Verifies integrity.

  • Encrypts packet contents.

  • Is the most common IPsec security method.

Transport and Tunnel Modes

  • Transport mode: Protects communication directly between two hosts.

  • Tunnel mode: Encapsulates the entire original packet between two VPN endpoints, commonly in site-to-site VPNs.

Internet Security Association and Key Management Protocol

ISAKMP establishes security associations and transfers authentication information and encryption keys between systems. It helps negotiate the security parameters used by IPsec.

Generic Routing Encapsulation

Generic Routing Encapsulation (GRE) is a tunneling protocol capable of encapsulating many types of network-layer protocols.

GRE is often placed inside an IPsec tunnel because IPsec traditionally handles unicast traffic, while GRE can carry:

  • Unicast traffic.

  • Multicast traffic.

  • Broadcast traffic.

  • Additional routing protocol traffic.

Point-to-Point Tunneling Protocol

PPTP is an older VPN technology.

  • Supports dial-up VPN connections.

  • Does not provide strong native security.

  • Microsoft implementations added additional security, but PPTP is considered outdated and insecure.

Transport Layer Security

TLS creates encrypted connections between endpoints or applications.

  • Uses asymmetric cryptography to authenticate endpoints.

  • Negotiates a symmetric key for encrypting the session.

  • Operates at Layer 5 and above.

  • Commonly used for SSL/TLS VPNs and secure web traffic.

  • Is supported by modern web browsers.

Secure Sockets Layer

SSL is an older encryption protocol related to TLS.

  • Was widely used for secure Internet transactions.

  • Earlier versions had security weaknesses.

  • Has largely been replaced by TLS.


6. Network Access Services and Applications

Network Interface Controller

A network interface controller (NIC), or network interface card, connects a device to a network.

A NIC operates at two OSI layers:

  • Layer 2: Selects and supports the network communication protocol, such as Ethernet or Point-to-Point Protocol, and provides the device’s MAC address.

  • Layer 1: Converts data bits into electrical, optical, or radio signals that can travel across the selected medium.

Most computers include at least one built-in Ethernet NIC. Routers and other network devices may use removable interface modules designed for specific media or protocols.


RADIUS

Remote Authentication Dial-In User Service (RADIUS) is a remote-access authentication service and a AAA protocol:

  • Authentication: Verifies identity.

  • Authorization: Determines permitted resources.

  • Accounting: Records usage and activity.

RADIUS is commonly used for remote users and network access control. Its accounting features are strong, but traditionally only the user’s password is encrypted while other information may be transmitted in clear text.

TACACS+

Terminal Access Controller Access-Control System Plus (TACACS+) is another AAA service.

  • Authenticates remote network devices or users.

  • Authorizes access to network resources.

  • Provides accounting, although traditionally less robust than RADIUS.

  • Encrypts all communication between devices.

RADIUS and TACACS+ Comparison

  • RADIUS: Strong accounting; traditionally encrypts the password only.

  • TACACS+: Encrypts all transmissions; traditionally has less robust accounting.


Remote Access Services

Remote Access Service describes the combination of hardware and software that supports remote connections.

  • A client requests access from a remote-access server.

  • The server grants or rejects the request.

  • It is a general architecture rather than a single protocol.

Web Services

Web services allow software applications and different platforms to communicate.

  • Frequently use XML or another standardized data format.

  • Translate information so that otherwise incompatible systems can exchange data.

  • Are increasingly important as organizations integrate diverse systems.

Unified Voice Services

Unified voice services combine hardware and software to integrate voice communication into a network.

  • Voice over IP is a common example.

  • Voice traffic can share network infrastructure with data and other communication types.


7. DHCP

The Dynamic Host Configuration Protocol (DHCP) automatically provides hosts with IP configuration information.

A DHCP server may provide:

  • IP address.

  • Subnet mask.

  • Default gateway.

  • DNS server address.

  • Time server address.

  • Other network options.

Static and Dynamic Addressing

Static Addressing

With static addressing, an administrator manually assigns:

  • IP address.

  • Subnet mask.

  • Default gateway.

  • DNS server.

Static addressing is suitable for very small, stable networks but becomes difficult to manage as the network grows. Any change requires manual reconfiguration of affected devices.

Dynamic Addressing

With dynamic addressing:

  • A DHCP server maintains the address-assignment process.

  • Hosts request configuration information.

  • The server automatically supplies available settings.

  • Administration is easier and less error-prone.


DHCP Process

The normal DHCP process is often summarized as DORA:

  1. Discover:
    A booting client broadcasts a DHCP discovery packet to 255.255.255.255.

  2. Offer:
    A DHCP server offers an IP configuration to the client.

  3. Request:
    The client requests the offered configuration from the selected DHCP server.

  4. Acknowledgment:
    The server sends an acknowledgment containing the final configuration.

The client then applies the received settings.

DHCP uses:

  • UDP port 67: DHCP server.

  • UDP port 68: DHCP client.

The source material describes the client’s discovery as using UDP port 67 and the server’s response as using port 68; in standard terminology, the server listens on port 67 and the client listens on port 68.

DHCP Components

Address Scope

The scope is the range of IP addresses that the DHCP server is allowed to assign.

Address Reservation

A reservation associates a specific IP address with a particular MAC address.

  • Useful for servers, routers, printers, and other devices requiring a consistent address.

  • Centralizes management without requiring manual configuration on every device.

Lease

A lease is the period for which a client may use an assigned configuration.

  • Administrators determine lease duration.

  • The client must renew the lease to continue using the address.

DHCP Options

Common options include:

  • Default gateway.

  • One or more DNS servers.

  • Time server.

  • Other organization-specific network settings.

Preferred Address

A client may request the IP address it used previously. The DHCP server may be configured either to honor or ignore that preference.

DHCP Relay

DHCP broadcasts normally do not pass through routers. A router configured as a DHCP relay, also called an IP helper, forwards DHCP requests to a server on another network segment.

This reduces the number of DHCP servers required.

APIPA

If DHCP fails, a host may automatically assign itself an Automatic Private IP Addressing (APIPA) address beginning with 169.254169.254169.254. An APIPA address usually indicates that the client could not contact a DHCP server.


8. DNS

The Domain Name System (DNS) maps human-readable names to IP addresses.

For example, DNS can translate www.example.com into an IPv4 or IPv6 address. Without DNS, users would need to remember numerical IP addresses.

Fully Qualified Domain Name

A fully qualified domain name (FQDN) identifies a host within a complete DNS hierarchy.

For example, in www.google.com:

  • www identifies the requested service or host.

  • google identifies the domain.

  • .com identifies the top-level domain.

DNS Server Types

Local DNS Server

A local DNS server stores records for local hosts and may contain a local hosts file. It may be present on the local network or supplied by an external provider.

Root Server

Root servers direct queries toward the correct top-level domain server.

Top-Level Domain Server

A TLD server contains information for domains such as:

  • .com

  • .org

  • .net

  • .edu

TLD servers delegate responsibility for individual domains to lower-level authoritative servers.

Authoritative DNS Server

An authoritative server contains the original, official record for a domain and provides authoritative answers.

Nonauthoritative DNS Server

A nonauthoritative server returns information learned from another DNS server. It may provide a cached response rather than holding the original record.


DNS Record Types

  • A record: Maps a host or FQDN to an IPv4 address.

  • AAAA record: Maps a host or FQDN to an IPv6 address.

  • CNAME record: Maps an alias to a canonical host name.

  • PTR record: Provides reverse lookup information and identifies a canonical name or host relationship.

  • MX record: Identifies the mail server responsible for receiving email for a domain.

Dynamic DNS

Dynamic DNS (DDNS) updates DNS records automatically when an IP address changes.

  • Useful when a service has a stable host name but receives a changing address from an ISP.

  • DDNS software monitors the address.

  • When the address changes, the software informs the correct DNS provider.

  • Avoids manual editing of DNS configuration files.


9. Network Address Translation

Network Address Translation (NAT) allows private, non-routable IPv4 addresses to communicate with public networks.

A NAT-enabled router:

  1. Replaces a private internal address with a public address.

  2. Records the translation.

  3. Translates the returning response back to the original internal device.

NAT conserves public IPv4 addresses and allows many internal devices to access the Internet.

Types of NAT

Static NAT

Static NAT permanently maps each private address to one public address.

  • Provides a predictable one-to-one relationship.

  • Useful when an internal device must be reachable consistently.

  • Requires one public address per translated device.

  • Has poor scalability.

Dynamic NAT

Dynamic NAT assigns public addresses from a reusable pool.

  • A private device receives a public address when it needs outside access.

  • The address returns to the pool when the session ends.

  • More flexible than static NAT.

  • Still requires enough public addresses for simultaneous users.

Port Address Translation

Port Address Translation (PAT) maps many private devices to one or more public addresses by assigning unique port numbers.

  • Tracks private IP addresses and source port numbers.

  • Allows many internal devices to share a small public address pool.

  • May operate with only one public IP address.

  • Is the most common and scalable NAT method.

NAT Address Terminology

  • Inside local: The private address assigned to an internal device.

  • Inside global: The public address representing an internal device externally.

  • Outside global: The public address assigned to an external device.

  • Outside local: The address used internally to represent an external device.


10. WAN Technologies

A wide area network (WAN) connects geographically distant networks. In general, a network is considered WAN-based when the organization leases or pays for infrastructure it does not own.

PSTN and Dial-Up

The Public Switched Telephone Network (PSTN) is a widely available telephone infrastructure.

Dial-Up

  • Uses an analog modem.

  • Transmits network traffic as an analog signal.

  • Maximum theoretical speed: 565656 kilobits per second.

  • Slow and largely obsolete.

ISDN

Integrated Services Digital Network (ISDN) is a digital point-to-point technology using the PSTN.

  • Uses a terminal adapter rather than a traditional analog modem.

  • PRI: Uses 232323 bearer channels at 646464 kilobits per second and one signaling channel, providing approximately 1.5441.5441.544 megabits per second.

  • BRI: Uses two bearer channels and one signaling channel, providing up to 128128128 kilobits per second.

  • Can operate where DSL is unavailable.

DSL

Digital Subscriber Line (DSL) provides digital WAN service over telephone infrastructure.

  • Requires a digital modem.

  • Uses a dedicated line to a central office.

  • Basic DSL service generally requires the customer to be within approximately 18,00018{,}00018,000 feet of the central office.

  • Can carry voice and data simultaneously by using filters.

Types include:

  • SDSL: Symmetric upload and download speeds; generally does not carry voice.

  • ADSL: Asymmetric; download speed is higher than upload speed. Common in small-office/home-office environments.

  • VDSL: Very high bitrate DSL, used for high-quality video and VoIP. It requires a shorter distance to the central office and can support much higher speeds than ADSL.


Broadband Cable

Broadband cable uses coaxial cable and is supplied by cable companies.

  • Can deliver voice, data, and television over one connection.

  • Signals are received and processed at a cable headend.

  • The distribution network may use fiber, coaxial cable, or hybrid fiber-coaxial architecture.

  • Bandwidth is shared among customers in the distribution area.

  • Shared bandwidth can cause congestion and latency during busy periods.

  • Equipment must comply with DOCSIS specifications.

Fiber Optics

Fiber optic networking transmits data using light.

Advantages include:

  • High bandwidth.

  • Long transmission distances.

  • Resistance to electromagnetic interference.

  • Greater difficulty of tapping compared with copper.

  • Higher installation cost and greater installation complexity.

Fiber Standards

  • SONET: Common U.S. synchronous optical standard.

  • SDH: International synchronous digital hierarchy standard.

  • Both define optical carrier transmission rates.

Wavelength-Division Multiplexing

  • DWDM: Combines up to approximately 323232 optical channels on one fiber.

  • CWDM: Combines up to approximately 888 channels on one fiber.

Passive Optical Network

A PON is a point-to-multipoint fiber system.

  • One optical fiber serves multiple locations.

  • Uses passive, unpowered optical splitters.

  • Commonly used for fiber delivery to premises.


Cellular WAN Technologies

GSM and CDMA

Cellular carriers historically used two incompatible standards:

  • GSM: Global System for Mobile communications.

  • CDMA: Code Division Multiple Access.

The two standards use different methods for connecting devices to cellular networks.

Cellular Generations

  • 1G: Analog voice.

  • 2G: Basic digital communication and text messaging.

  • 2G EDGE: Improved data capabilities.

  • 3G: Beginning of practical cellular WAN data networking.

  • 4G: Higher-speed cellular networking, including LTE and WiMAX.

  • HSPA+: Transitional technology between 3G and 4G.

  • LTE: All-IP cellular core with high data rates.

The source identifies maximum LTE rates of approximately 300300300 megabits per second download and 757575 megabits per second upload, depending on implementation.

WiMAX

Worldwide Interoperability for Microwave Access (WiMAX) is a wireless broadband technology.

  • Originally designed as a last-mile alternative to DSL or cable.

  • Uses microwave transmission.

  • Requires line of sight between relay locations.

  • Can serve fixed locations over significant distances.

  • May be used by municipalities to provide broadband.

  • Is associated with 4G but is not compatible with 3G cellular networks.

Satellite WAN

Satellite WAN uses microwave transmissions through communication satellites.

  • Extends connectivity to remote or difficult-to-reach locations.

  • Requires line of sight.

  • Covers greater distances than terrestrial WiMAX.

  • Has significant latency because signals travel between Earth stations and satellites.

  • Communication satellites may use geostationary, low Earth, or polar orbits.


Metro Ethernet

Metro Ethernet provides a WAN connection that appears to the customer as Ethernet through an RJ-45 connector.

  • The service provider may use different technologies internally.

  • Commonly deployed across metropolitan areas.

  • Often used by municipalities and service providers.

Leased Lines

A leased line is a dedicated point-to-point circuit between two endpoints.

  • The customer has exclusive use of the circuit.

  • More expensive than shared services.

  • Speed is related to the purchased service level.

  • May use telephone infrastructure or fiber.

PPP

Point-to-Point Protocol (PPP) is a Layer 2 protocol commonly used on leased lines.

  • Supports multiple Layer 3 protocols.

  • Uses control protocols specific to the Layer 3 protocol.

  • Multilink PPP combines multiple physical links into one logical connection, increasing available bandwidth.

T-Carrier and E-Carrier Lines

  • T-carrier lines are used primarily in the United States, Japan, and South Korea.

  • E-carrier lines are used primarily in Europe.

  • A T1 contains 242424 DS0 channels.

  • An E1 contains 303030 DS0 channels.

Common rates include:

  • T1: 1.5441.5441.544 megabits per second.

  • T3/DS3: 282828 T1 lines, approximately 44.73644.73644.736 megabits per second.

  • E1: 2.0482.0482.048 megabits per second.

  • E3: 161616 E1 lines, approximately 34.36834.36834.368 megabits per second.

Optical Carrier Rates

  • OC-1: 51.8451.8451.84 megabits per second.

  • OC-3: 155.52155.52155.52 megabits per second.

  • OC-12: 622.08622.08622.08 megabits per second.

  • OC-48: 2.4882.4882.488 gigabits per second.

  • OC-192: Approximately 9.9539.9539.953 gigabits per second.


Circuit Switching and Packet Switching

Circuit-Switched Networks

  • Establish a dedicated path between two endpoints.

  • The path remains reserved for the communication session.

  • Usually provides predictable performance.

  • Efficient for continuous traffic.

  • Common with leased lines.

Packet-Switched Networks

  • Divide data into smaller packets.

  • Packets may travel over different paths.

  • Packets are reassembled at the destination.

  • Generally less expensive because bandwidth is shared and paid for as used.


Frame Relay and ATM

Frame Relay

  • Uses variable-length packets or frames.

  • Less expensive than a dedicated leased line.

  • Can emulate a dedicated connection using virtual circuits.

  • Uses a Data Link Connection Identifier (DLCI) to identify virtual circuits.

  • Access rate: Maximum physical interface speed.

  • Committed Information Rate (CIR): Guaranteed minimum bandwidth.

Asynchronous Transfer Mode

ATM uses fixed-length cells.

  • Every cell is 535353 bytes.

  • Fast and capable of carrying real-time voice and video.

  • Has inefficient bandwidth utilization because of its small fixed cell size.

  • Common speeds include 51.8451.8451.84 megabits per second and 155.52155.52155.52 megabits per second.

MPLS

Multiprotocol Label Switching (MPLS) forwards traffic using labels.

  • Protocol-independent.

  • Can replace or integrate with Frame Relay and ATM.

  • Improves scalability, traffic flow, and quality of service.

  • A label edge router (LER) adds labels to incoming packets.

  • A label switching router (LSR) forwards packets based on those labels.


11. Network Cabling

Twisted-Pair Cable

Twisted-pair cable is the most common LAN cabling type.

  • Contains four pairs of insulated wires.

  • Each pair is twisted to reduce electromagnetic interference.

  • Different twist rates reduce crosstalk between pairs.

  • Standard wire colors use white/orange, orange, white/blue, blue, white/green, green, white/brown, and brown combinations.

UTP and STP

  • UTP: Unshielded twisted pair; flexible, inexpensive, and most common.

  • STP: Shielded twisted pair; has shielding around individual pairs or all pairs, reducing EMI and crosstalk but increasing cost and installation difficulty.

Plenum Cable

A plenum space supports building airflow, such as the space above a suspended ceiling.

  • Plenum cable uses fire-retardant or low-smoke jackets.

  • It is required by building codes in many plenum spaces.

  • May include supporting polymer or nylon strands to prevent cable stretching.

Cable Types

  • Straight-through cable: Connects different device types, such as a PC to a switch.

  • Crossover cable: Connects similar device types, such as PC-to-PC or switch-to-switch.

  • Rollover/console cable: Connects to a router or switch console port; often uses RJ-45 at one end and a serial connector at the other.

Twisted-Pair Connectors

  • RJ-11: Six-position connector commonly used for telephone voice service.

  • RJ-45: Eight-position, eight-contact connector commonly used for Ethernet.

  • RJ-48C: Similar physical form to RJ-45 but used for T1 demarcation points with different active pins.

  • UTP coupler: Joins two UTP cable segments.

  • 66 block: Older telephone punch-down block, sometimes used with slower Cat 3 networks.

  • 110 block: Modern punch-down block for terminating and distributing twisted-pair network cable.

  • DB-9/RS-232: Nine-pin serial connector.

  • DB-25: Twenty-five-pin serial connector.

Twisted-Pair Categories

  • Cat 3: Up to 101010 megabits per second; maximum distance 100100100 meters.

  • Cat 5: Up to 100100100 megabits per second; maximum distance 100100100 meters.

  • Cat 5e: Up to 111 gigabit per second; maximum distance 100100100 meters.

  • Cat 6: Up to 101010 gigabits per second, but generally limited to 555555 meters at that speed.

  • Cat 6a: Up to 101010 gigabits per second over 100100100 meters.


Coaxial Cable

Coaxial cable consists of:

  1. Central conductor.

  2. Insulating layer.

  3. Metal mesh or foil shield.

  4. Outer insulating jacket.

The shield protects against electromagnetic interference.

Types include:

  • RG-58: Used with 10BASE2; maximum distance approximately 185185185 meters; 505050-ohm impedance.

  • RG-59: Used for short-distance broadband; 757575-ohm impedance.

  • RG-6: Commonly used for cable television and cable modem connections; 757575-ohm impedance.

Connectors include:

  • BNC: Bayonet-style connector, now largely obsolete.

  • F connector: Threaded connector commonly used for cable and broadband connections.

Fiber Optic Cable

Fiber optic cable:

  • Is resistant to electromagnetic interference.

  • Is difficult to tap.

  • Supports high bandwidth and long distances.

  • Is more expensive and difficult to install than copper.

  • Usually uses one fiber for transmission and one for reception.

Fiber Types

  • Multimode fiber: Uses an LED, carries multiple light rays, and is used for shorter distances, generally under 222 kilometers.

  • Single-mode fiber: Uses a laser diode and one light path, supports high-speed distances exceeding 404040 kilometers.

Fiber Connectors

  • SC: Push-pull connector; “stick and click.”

  • ST: Spring-loaded twist-lock connector; “stick and twist.”

  • LC: Small connector secured with a locking tab.

  • MTRJ: Small connector containing two fibers and using a locking tab.

  • Fiber coupler: Connects two fiber cables.

UPC connectors have lower back reflection performance than APC connectors. APC connectors generally provide better optical performance.

Media Converters

A media converter connects different types of physical transmission media.

Common conversions include:

  • Single-mode fiber to Ethernet.

  • Multimode fiber to Ethernet.

  • Single-mode fiber to multimode fiber.

  • Fiber to coaxial cable.

Cabling Tools

  • Crimper: Attaches connectors to cables.

  • Wire stripper: Removes insulation without damaging conductors.

  • Punch-down tool: Secures wires in punch-down blocks and often trims excess wire.

  • Cable tester: Checks pinouts, continuity, shorts, breaks, and cable standards.

  • Cable certifier: Performs more advanced tests of length and quality.

  • TDR: Tests copper cable length, electrical characteristics, and break location.

  • OTDR: Performs comparable tests on fiber optic cable.


12. Network Topologies

A network topology describes how a network is arranged or operates.

  • Physical topology: Actual physical arrangement of cables and devices.

  • Logical topology: The theoretical path followed by signals.

  • Physical and logical topologies do not have to match.

Peer-to-Peer and Client-Server Models

Peer-to-Peer

  • Each node controls its own resources.

  • Nodes decide what to share and with whom.

  • No central server is required.

  • Common in small networks.

Client-Server

  • Central servers control access to resources.

  • Servers determine what is shared, who may use it, and when.

  • Provides centralized administration.

Small-office networks may use a hybrid of both models.

Common Topologies

Bus

  • Devices share one central cable.

  • Signals travel along a predetermined path.

  • Cable ends must be terminated to prevent signal reflection.

  • A break in the central cable can disrupt the entire network.

  • Early Ethernet used both physically and logically bus topology.

  • Modern Ethernet often retains a logical bus concept while using a different physical arrangement.

Ring

  • Devices form a closed loop.

  • A break can disrupt the ring.

  • Dual or multiple rings provide redundancy.

  • Still used in some WAN systems using SONET or SDH.

Star

  • Devices connect to a central device.

  • Most common modern LAN topology.

  • With a hub, a failed segment can affect all devices because the hub repeats signals.

  • With a switch, a failed segment normally affects only that segment.

Mesh

  • A full mesh connects every node to every other node.

  • Provides many redundant paths.

  • Is expensive and difficult to maintain.

  • Partial mesh networks provide multiple paths without connecting every pair directly.

  • The Internet is an example of a partial mesh.

Point-to-Point

  • Directly connects two devices.

  • Does not require a central management device.

  • A crossover cable may connect two similar local devices.

  • Leased lines commonly provide point-to-point WAN connections.

Point-to-Multipoint

  • A central intelligent device manages paths to multiple devices.

  • Common in wireless networks and packet-switched WANs.

  • Differs from a basic star because the central device makes forwarding decisions.

MPLS is also considered a topology because its label-based forwarding process defines traffic paths.


13. Network Infrastructure Categories

LAN

A local area network (LAN) covers a limited geographic area.

  • May cover a room, building, or small group of buildings.

  • Usually uses one network address range, possibly divided with VLANs.

  • Generally offers the highest speeds.

  • Common technologies include Ethernet and wireless LANs.

MAN

A metropolitan area network (MAN) covers a city or metropolitan area.

  • Often connects multiple LANs.

  • Commonly owned by a municipality.

  • A privately owned MAN may be called a campus area network.

WAN

A wide area network (WAN) spans large geographic distances.

  • Connects networks of networks.

  • The Internet is the largest example.

  • Typically uses infrastructure owned by multiple organizations or leased from service providers.

PAN

A personal area network (PAN) connects devices over a very short distance.

Examples include:

  • Bluetooth keyboard-to-computer connections.

  • Infrared phone-to-printer connections.

  • Near-field communication between a phone and payment terminal.

PANs usually have:

  • Low power consumption.

  • Low throughput.

  • Reduced throughput as distance increases.

SCADA

Supervisory Control and Data Acquisition (SCADA) is an industrial control network.

  • Controls large-scale equipment distributed across multiple sites.

  • Common in energy and utility systems.

  • Uses distributed control systems, programmable logic controllers, and remote terminals.

  • Allows centralized control of remote equipment.

  • Often uses proprietary technology and requires specialized training.

Medianet

A medianet is designed specifically for voice and video.

  • Prioritizes performance-sensitive traffic.

  • Reduces latency and jitter.

  • May be a separate network or a specialized portion of a larger network.

  • Video teleconferencing networks are examples.


14. IPv4 Addressing

IP addresses provide logical identification of a device’s network and host location.

  • IP addresses can be changed through configuration.

  • MAC addresses are normally physically assigned to network interfaces.

  • IPv4 operates at Layer 3.

IPv4 Structure

IPv4 is a 323232-bit binary address.

The total number of possible combinations is:

232=4,294,967,2962^{32} = 4{,}294{,}967{,}296232=4,294,967,296

An IPv4 address consists of:

  • Four 8-bit octets.

  • Four bytes total.

  • Decimal values separated by periods.

  • Human-readable dotted-decimal notation.

Example: 192.168.1.9.

Subnet Mask

A subnet mask identifies which bits represent the network and which represent the host.

  • Mask bits set to 111 identify the network portion.

  • Mask bits set to 000 identify the host portion.

For 192.168.1.9 with 255.255.255.0:

  • Network portion: 192.168.1.

  • Host portion: .9.


IPv4 Address Classes

Class A

  • First octet: 000–127127127.

  • Default mask: 255.0.0.0.

  • Approximately 16,777,21416{,}777{,}21416,777,214 host addresses per network.

  • First binary bit begins with 000.

Class B

  • First octet: 128128128–191191191.

  • Default mask: 255.255.0.0.

  • Approximately 65,53465{,}53465,534 hosts.

  • First bits begin with 10.

Class C

  • First octet: 192192192–223223223.

  • Default mask: 255.255.255.0.

  • 254254254 usable hosts.

  • First bits begin with 110.

Class D

  • First octet: 224224224–239239239.

  • Used for multicast.

  • Does not use normal host subnet masks.

  • First four bits begin with 1110.

APIPA

An APIPA address begins with 169.254 and is automatically assigned when DHCP fails.

Public and Private IPv4 Addresses

Public Addresses

  • Routable across the Internet.

  • Must be globally unique.

  • Assigned by an addressing authority or service provider.

Private Addresses

  • Not routable across the public Internet.

  • Must only be unique within the local network.

  • Ranges include:

    • 10.0.0.0/8.

    • 172.16.0.0/12.

    • 192.168.0.0/16.


CIDR and Subnetting

Classless Inter-Domain Routing (CIDR) removes the rigid class-based mask system.

CIDR notation uses a slash followed by the number of network bits. For example:

  • /24 means 242424 network bits.

  • /23 means 232323 network bits.

CIDR:

  • Makes subnet masks flexible.

  • Conserves IPv4 address space.

  • Reduces routing-table growth.

  • Enables subnetting and route aggregation.

Subnetting Example

A /24 network has 256256256 total addresses but generally 254254254 usable host addresses because the network and broadcast addresses cannot be assigned to hosts.

Splitting one /24 network into two /25 networks creates:

  • First subnet: network .0/25, usable hosts .1 through .126, broadcast .127.

  • Second subnet: network .128/25, usable hosts .129 through .254, broadcast .255.

Each subnet has:

27−2=1262^7 - 2 = 12627−2=126

usable host addresses.


15. IPv6 Addressing

IPv6 was developed to solve the exhaustion of IPv4 addresses.

IPv6 Structure

IPv6 uses a 128128128-bit address:

2128≈3.4×10382^{128} \approx 3.4 \times 10^{38}2128≈3.4×1038

IPv6 addresses:

  • Contain eight groups.

  • Use hexadecimal notation.

  • Separate groups with colons.

  • Each group contains four hexadecimal digits.

  • Each hexadecimal digit represents four bits.

Link-Local Addresses

A link-local address:

  • Is used on the local network segment.

  • Begins with FE80.

  • Uses the first 646464 bits for the network and the last 646464 bits for the host.

  • Often follows the EUI-64 format.

Global Addresses

A global IPv6 address:

  • Is globally unique.

  • Uses a routing prefix, subnet identifier, and 646464-bit host portion.

  • Commonly begins within the 2000 through 3999 range.

  • Uses CIDR notation for the routing prefix.

IPv6 devices normally receive both link-local and global addresses.

EUI-64

A 484848-bit MAC address may be expanded into a 646464-bit interface identifier by inserting 161616 bits of padding. This produces an EUI-64 host identifier.

IPv6 Notation Rules

  • Leading zeros in an address group may be removed.

  • One consecutive sequence of zero groups may be replaced by ::.

  • The zero-compression rule can be used only once in an address so that the number of omitted groups remains unambiguous.

IPv6 Transmission Types

  • Unicast: One device sends to one device.

  • Multicast: One device sends to a registered group; multicast addresses begin with FF.

  • Anycast: One device sends to the nearest device among multiple devices sharing the same address.

IPv6 does not use broadcast in the same way as IPv4; multicast replaces most broadcast functions.

IPv6 Configuration and Transition

IPv6 devices can use Neighbor Discovery Protocol to discover network information and automatically configure addresses.

DHCPv6 may still be used when administrators need to assign specific addresses or provide additional configuration.

IPv4 and IPv6 are not directly compatible. Transition mechanisms include:

  • Dual stack: Devices use both IPv4 and IPv6.

  • Tunneling: IPv6 traffic is encapsulated inside IPv4 traffic.

  • 6-to-4 or Teredo tunneling: Carries IPv6 packets across IPv4-only networks.


16. MAC Addresses, Domains, and Transmission Types

MAC Addresses

A Media Access Control (MAC) address is the physical or burned-in address of a network interface.

  • Normally assigned by the manufacturer.

  • May be changed or spoofed through software.

  • Used by switches and bridges for Layer 2 forwarding.

  • Common formats are 484848 bits or 646464 bits.

  • Written in hexadecimal.

A MAC address contains:

  • Organizationally Unique Identifier (OUI): Manufacturer identifier assigned by the IEEE.

  • Extended Unique Identifier: Device-specific portion, often related to a serial number.

Collision Domains

A collision domain is an area where transmissions can interfere with one another.

  • Hubs do not separate collision domains.

  • Switches, bridges, and routers separate collision domains.

  • Ethernet uses Carrier Sense Multiple Access with Collision Detection.

CSMA/CD

  1. A device listens to the network medium.

  2. If no device is transmitting, it sends data.

  3. If two devices transmit simultaneously, a collision may occur.

  4. Devices detect the collision.

  5. They stop transmitting.

  6. Each waits a random time using a backoff algorithm.

  7. Transmission is attempted again.

Broadcast Domains

A broadcast domain contains all devices that can receive a Layer 2 broadcast.

  • Broadcast traffic generally stays within the local network.

  • Routers separate broadcast domains.

  • The subnet mask helps define the logical network boundary.

  • IPv6 replaces traditional broadcast with multicast.

Transmission Types

Unicast

One source sends to one destination.

Multicast

One source sends to a registered group of destinations.

Broadcast

One source sends to every device on the local IPv4 network.

Anycast

One source sends to the nearest device among several devices sharing an IPv6 address.


17. Routing Concepts

Routing connects different networks and determines where traffic should be sent.

Static Routing

Static routes are manually configured by an administrator.

  • Every relevant router must contain appropriate routes.

  • Two-way communication requires a route in both directions.

  • Easy to use in small, stable networks.

  • Difficult to maintain when networks change.

Dynamic Routing

Dynamic routing protocols automatically discover routes.

  • Routers exchange information.

  • The protocol calculates preferred paths.

  • All routers in the routing domain generally need compatible protocols.

  • Route redistribution can translate information between different protocols.

  • Multiple routing protocols may operate on one router.

Default Route

A default route is used when no more specific destination appears in the routing table.

  • Usually points to a designated interface or next-hop router.

  • Often provides access toward an upstream or Internet connection.

Routing Table

A routing table lists known destinations and the routes used to reach them.

  • Static routing tables are manually configured.

  • Dynamic routing tables are built by protocols.

  • Each routing protocol may maintain its own information.

Loopback Interface

A loopback interface is a logical, administrator-configured interface.

  • Provides a stable address for management or routing processes.

  • Often uses an IPv4-format address even on an IPv6-capable router.

  • May be purely logical or associated with a physical interface.

Routing Loops

A routing loop occurs when packets circulate repeatedly between routers.

Consequences include:

  • Network congestion.

  • Excessive bandwidth consumption.

  • Possible network failure.

The Time to Live (TTL) field limits how long a packet may remain in the network. Each router reduces the TTL, and a packet is discarded when the value reaches zero.


Routing Metrics

A routing protocol uses metrics to select among available routes.

  • Hop count: Number of routers between source and destination.

  • MTU: Maximum packet size allowed through an interface. Standard Ethernet MTU is 150015001500 bytes.

  • Bandwidth: Link capacity, commonly measured in kilobits, megabits, or gigabits per second.

  • Latency: Time required for traffic to cross a link.

  • Administrative distance: Trustworthiness of a route source. Lower values are preferred.

Common administrative-distance values include:

  • Directly connected route: 000.

  • Static route: 111.

  • External BGP: 202020.

  • EIGRP internal: 909090.

  • OSPF: 110110110.

  • IS-IS: 115115115.

  • RIP: 120120120.

  • EIGRP external: 170170170.

  • Internal BGP: 200200200.

  • 255255255: Route is not trusted.

Route Aggregation

Route aggregation summarizes multiple contiguous networks into one larger CIDR route.

Benefits include:

  • Smaller routing tables.

  • Lower processing requirements.

  • More efficient routing updates.

Aggregation requires careful planning. If networks are not contiguous, they cannot safely be summarized by one route.

High Availability

High availability removes single points of failure.

HSRP

Hot Standby Router Protocol (HSRP) is a Cisco proprietary redundancy protocol.

  • Uses two or more routers.

  • Creates a shared virtual IP address.

  • Hosts use the virtual address as their default gateway.

  • If one router fails, another continues forwarding traffic.

VRRP

Virtual Router Redundancy Protocol (VRRP) is an open standard similar to HSRP.


18. Routing Protocols

Interior and Exterior Gateway Protocols

Interior Gateway Protocols

IGPs operate within one autonomous system controlled by one organization.

Common IGPs include:

  • RIP version 2.

  • OSPF.

  • IS-IS.

  • EIGRP.

Exterior Gateway Protocols

EGPs operate between autonomous systems controlled by different organizations.

  • BGP is the primary exterior gateway protocol.

  • An autonomous system number identifies a routing domain.

  • The autonomous system number is an identifier, not a routing metric.

Routing Protocol Categories

Distance Vector

  • Determines routes primarily by distance, such as hop count.

  • Does not necessarily evaluate link quality.

  • Periodically broadcasts the complete routing table.

Link State

  • Uses metrics to calculate the best route.

  • Maintains information about directly connected links.

  • Sends updates when link states change.

  • Usually converges faster than distance-vector protocols.

Hybrid

  • Combines characteristics of distance-vector and link-state protocols.

Next Hop

The next hop is the next router along the path toward a destination. It may be represented by an interface address, router name, or router location.

Convergence

Convergence is the time required for all routers in an autonomous system to learn the current network routes. Faster convergence allows routing to stabilize more quickly after a change.

RIP Version 2

  • Interior gateway protocol.

  • Distance-vector protocol.

  • Maximum reachable distance is 151515 hops.

  • A metric of 161616 means unreachable.

  • Uses multicast address 224.0.0.9.

  • Includes mechanisms to reduce routing loops.

OSPF

Open Shortest Path First (OSPF) is a link-state IGP.

  • Uses Dijkstra’s shortest-path algorithm.

  • Advertises changes rather than repeatedly sending the complete table.

  • Supports fast convergence.

  • Uses different link-state advertisements for different events.

  • Uses multicast addresses 224.0.0.5 and 224.0.0.6.

IS-IS

Intermediate System to Intermediate System (IS-IS):

  • Is a link-state protocol.

  • Uses a shortest-path algorithm.

  • Is highly scalable.

  • Converges quickly.

  • Is common in very large networks, especially ISP networks.

BGP

Border Gateway Protocol (BGP):

  • Is the primary exterior gateway protocol.

  • Is considered a path-vector protocol.

  • Uses the number of autonomous systems crossed as one metric.

  • Is highly scalable.

  • Has relatively slow convergence.

EIGRP

Enhanced Interior Gateway Routing Protocol (EIGRP):

  • Was developed by Cisco.

  • Combines distance-vector and link-state features.

  • Has rapid convergence.

  • Uses a neighbor table and topology table.

  • Sends changes using multicast address 224.0.0.10.

  • Is less commonly used than OSPF in many environments.


19. Unified Communications

Unified communications (UC) integrates multiple communication methods into a consistent user experience.

A message sent through one medium may be delivered through another, such as:

  • Email converted to a text message.

  • A voicemail notification delivered through email.

  • Voice, video, messaging, and presence integrated into one system.

UC Components

UC Server

A specialized, often virtualized server that implements UC applications and services.

UC Gateway

A network device that translates between signaling systems.

For example, a VoIP gateway can translate an analog PSTN voice signal into a format used by an IP voice network.

Other UC devices include:

  • IP phones.

  • Email systems.

  • Video conferencing systems.

  • Instant messaging platforms.

Presence

Presence indicates whether a user is available and willing to communicate.

Common states include:

  • Available.

  • Online.

  • Offline.

  • Busy.

  • Do not disturb.

Presence systems track users across devices and networks. Multicast may be used for presence discovery, while established communication normally uses unicast.

Quality of Service

Quality of Service (QoS) manages network traffic to improve the performance of sensitive applications.

Class of Service (CoS) groups similar traffic and gives it a priority level. Voice and video generally receive higher priority than ordinary email.

A Differentiated Services Code Point (DSCP) value in the IP header helps identify traffic priority.

Voice over IP

Voice over IP (VoIP) carries voice over IP networks.

  • Presence can help route calls to a user’s current location.

  • SIP establishes and terminates communication sessions.

  • RTP transports the real-time voice data during the session.

  • QoS mechanisms help maintain acceptable voice quality.


20. Virtualization and Software-Defined Networking

Hypervisor and Virtual Machine Manager

A hypervisor manages virtual machines.

  • A bare-metal hypervisor operates directly on hardware without a conventional host operating system.

  • A virtual machine manager may require a host operating system such as Windows, macOS, or Linux.

  • Terminology varies: some people use “hypervisor” broadly for all virtual-machine management software.

Virtualization Components

Virtual Desktop

A virtual machine that functions as a user desktop.

  • Can run modern operating systems.

  • Multiple virtual desktops may run on one physical host.

Virtual Server

A virtual machine that functions as a server.

  • Multiple virtual servers can share one physical host.

  • Each can run its own server operating system and services.

Virtual Network Devices

Virtual machines can perform the roles of:

  • Switches.

  • Routers.

  • Firewalls.

  • Network interface controllers.

Virtual NICs and virtual switches can create complete virtual networks.

A virtual network may remain isolated within the host. To reach external networks, the virtual network must be connected to the physical host NIC.

Software-Defined Networking

Software-defined networking (SDN) separates network administration from individual device configuration.

  • An administrator uses a central front-end program.

  • The program sends instructions to network equipment.

  • Devices are dynamically reconfigured.

  • Administrators do not need to log into every device separately.

  • SDN is useful for virtual networks and cloud computing.


21. Storage Area Networks

A storage area network (SAN) is a specialized network dedicated to storage.

Demand for SANs has increased because:

  • Storage cost per gigabyte has decreased.

  • Organizations generate and analyze much larger data volumes.

  • Data must be available from many locations and devices.

  • Businesses require scalability and high availability.

SAN Advantages

  • Scalability: Storage capacity can be expanded as needs grow.

  • Availability: Data can be accessed reliably and integrated into cloud solutions.

  • Optimization: Application servers can focus on running applications instead of providing storage.

SAN and NAS

  • SAN: A network of storage devices.

  • NAS: A storage appliance attached to a normal network.

  • A SAN may include multiple NAS devices.

Storage Technologies

Fibre Channel

  • High-speed storage networking technology.

  • Initially designed for fiber but can also use copper.

  • Commonly connects SAN components.

  • Uses Fibre Channel Protocol to carry SCSI commands.

  • Uses FCP rather than TCP as the transport mechanism.

iSCSI

Internet Small Computer System Interface (iSCSI) carries SCSI commands over IP networks.

  • Connects storage systems over longer distances.

  • Uses standard IP networking.

  • Allows storage traffic to travel through existing IP infrastructure.

Jumbo Frames

Jumbo frames can carry up to approximately 900090009000 bytes of data.

  • Increase throughput and efficiency in appropriate SAN environments.

  • Standard Ethernet frames generally support a maximum payload of approximately 150015001500 bytes.


22. Cloud Computing

Cloud computing provides virtualized resources through a service provider.

  • Resources are provisioned when needed.

  • Resources may be decommissioned when no longer required.

  • Users often pay for the resources they consume.

  • The cloud provider commonly owns and maintains the infrastructure.

Cloud Classifications

Public Cloud

  • Services are available for public purchase.

  • Systems communicate over public networks such as the Internet.

  • Resources may be shared among many customers.

Private Cloud

  • Restricted to authorized users within a specific organization.

  • May be operated on-site or hosted off-site.

  • The organization may own the resources.

Hybrid Cloud

Combines private and public cloud resources.

Community Cloud

Shared by organizations or users with a common mission, interest, or regulatory requirement.

Cloud Service Models

Software as a Service

The provider delivers an application.

  • Users access the software without managing virtual servers.

  • Often delivered through a web browser.

  • Microsoft 365 is an example.

Platform as a Service

The provider supplies a development platform.

  • Developers create and deploy software without managing the underlying servers.

  • More flexible and complex than SaaS.

Infrastructure as a Service

The provider supplies configurable virtual infrastructure.

  • Includes virtual servers and network resources.

  • The customer installs and manages the operating systems and applications.

  • Provides the greatest level of customer control among the three major service models.

Organizations may combine service models, with one department using SaaS, another using PaaS, and another using IaaS.


23. Planning and Configuring a Basic Network

Network Planning

A network plan should identify:

  • Why the network is needed.

  • Required features.

  • Network size and scope.

  • Budget.

  • Equipment.

  • Resource placement.

  • Compatibility requirements.

  • Cabling standards and connectors.

  • Number and location of network nodes.

  • External WAN connections.

  • Future expansion requirements.

  • Equipment and wiring closets.

  • Environmental conditions.

  • Security architecture.

End-user input is important because a technically functional network may still fail to satisfy business or user requirements.

Addressing and Security Choices

Static IP Addressing

  • More predictable.

  • May improve control and security.

  • Requires manual management.

DHCP

  • Automates address assignment.

  • Easier to manage.

  • May require additional controls such as MAC filtering.

MAC Filtering

Allows only specified MAC addresses to connect.

  • Adds a layer of access control.

  • Is difficult to maintain as the network grows.

  • MAC addresses can potentially be spoofed.

DMZ

A demilitarized zone (DMZ) hosts services that must be reachable from outside while protecting the internal network.

  • Common for public web servers.

  • Requires firewall configuration.

  • May use two firewalls, although two are not strictly required.

  • Often placed between the external WAN connection and the protected internal network.

  • Port forwarding directs requests for specific services to the correct internal server.

Wireless Configuration

SSID

The Service Set Identifier (SSID) is the wireless network name.

  • May be broadcast openly.

  • May be configured as hidden.

  • Hiding the SSID is not a reliable security measure because packet analyzers can still detect wireless traffic.

Encryption

Wireless encryption should always be enabled.

  • At minimum, use WPA2-Personal when supported.

  • Default wireless encryption settings should not be assumed to be secure.

  • Wi-Fi Protected Setup (WPS) should be disabled because it can introduce exploitable weaknesses.

All deviations from the original network plan should be documented and approved by the end user.


24. Baselines, Reports, and Network Monitoring

Baseline Documentation

A baseline is a record of normal network performance while the network is functioning efficiently.

At minimum, baseline:

  • CPU utilization.

  • Network bandwidth utilization.

Other useful baseline measurements include:

  • Device memory utilization.

  • Storage utilization.

  • Wireless channel utilization.

  • Interface errors.

  • Packet drops.

  • Latency.

  • Normal traffic patterns.

Baselines must be reviewed periodically because normal performance changes as the network grows.

Monitoring Reports

CPU Utilization

High or sustained CPU utilization may indicate:

  • An overloaded device.

  • A growing network.

  • A device approaching failure.

Memory Utilization

Shows whether network equipment needs additional memory.

Bandwidth Utilization

Can indicate:

  • Overall network health.

  • Need for segmentation.

  • Congestion.

  • A device creating abnormal traffic.

  • Possible security breaches.

Storage Utilization

Identifies storage bottlenecks and helps determine when capacity must be expanded.

Wireless Channel Utilization

Reveals saturated wireless channels and unauthorized wireless activity. Adding an access point may reduce channel pressure, after which a new baseline should be established.


Log Management

Log files:

  • Help identify when a problem occurred.

  • Narrow down possible causes.

  • Support baseline development.

  • Provide historical evidence.

Administrators should:

  • Set appropriate logging levels.

  • Avoid collecting debug-level information unless actively troubleshooting.

  • Review logs regularly.

  • Compare logs with baseline data.

  • Archive logs according to organizational policy.

  • Use graphs to identify trends quickly.

Interface Status Reports

Typical interface states include:

  • Up/up: Interface and line protocol are operational.

  • Up/down: Interface is enabled, but the connection to the far end is not functioning.

  • Down/up: Often indicates a local cable or physical-port problem.

  • Down/down: Interface is disabled or not connected; it may be administratively shut down.

Additional diagnostics include:

  • Speed settings.

  • Duplex settings.

  • Error counters.

  • Dropped packets.

  • Interface reset counters.

A speed mismatch may prevent a link from operating. A duplex mismatch may cause intermittent errors. Dropped incoming packets may indicate CPU overload, while dropped outgoing packets commonly indicate bandwidth congestion. Repeated interface resets suggest a communication problem between endpoints.


Network Monitoring Tools

Log Files

Operating systems and network devices maintain logs of events. Logs are usually more useful for after-the-fact analysis than real-time monitoring because of their large volume.

Windows Event Viewer

Event Viewer displays:

  • Application logs: Events generated by applications.

  • Security logs: Successful and failed logons and other security events.

  • System logs: Events generated by operating-system components and drivers.

Syslog

Syslog separates:

  1. Message generation.

  2. Message storage.

  3. Message analysis.

It supports devices from many vendors and includes severity levels from:

  • 000: Most severe.

  • 777: Least severe/debug information.

Administrators commonly configure alerts for important severity levels and may receive notifications by email, SMS, or voicemail.

SNMP

Simple Network Management Protocol (SNMP) monitors and manages network devices.

  • Administrators configure monitored conditions called traps.

  • A network management station uses GET messages to request information.

  • Devices return information stored in a Management Information Base.

  • SET messages can modify monitored settings.

  • A trap can log an event or alert an administrator when a condition occurs.

  • Provides more real-time monitoring than ordinary log review.

SIEM

Security Information and Event Management (SIEM) combines:

  • Security information management.

  • Security event management.

A SIEM may be delivered as software, an appliance, or a cloud service. It performs real-time security-alert analysis and long-term log analysis.


Active Monitoring Tools

Port Scanners

Port scanners identify:

  • Open ports.

  • Active protocols.

  • Potential vulnerabilities.

They help administrators harden systems, but must only be used with authorization.

Packet Sniffers and Protocol Analyzers

These tools inspect network traffic in detail.

They can identify:

  • Applications using the network.

  • Suspicious traffic.

  • Top talkers: devices generating the most traffic.

  • Top listeners: interfaces receiving the most traffic.

  • Bandwidth usage.

  • Potential security problems.

Examples include Wireshark and Microsoft Message Analyzer.

Wi-Fi Analyzers

Wi-Fi analyzers inspect wireless traffic and report:

  • Bandwidth use.

  • Channel utilization.

  • Top talkers and listeners.

  • Nearby wireless networks.

  • Hidden networks.

  • Non-beaconing networks inferred from traffic.

Wireless Survey Tools

Wireless survey tools help design and optimize WLANs.

They identify:

  • Number of access points required.

  • Access-point and antenna placement.

  • Channel overlap.

  • Coverage areas.

  • Radio-frequency interference.

  • Potential performance and security problems.

Environmental Monitoring

Network equipment is affected by environmental conditions.

Power

Power monitors, often used with an uninterruptible power supply, detect poor-quality or insufficient electrical power before equipment is damaged.

Temperature

Electronic equipment operates within a specified temperature range and generates more heat under heavier workloads. Heat monitors help prevent overheating.

Humidity

  • Too little humidity increases electrostatic discharge risk.

  • Too much humidity increases condensation risk.

  • Humidity monitoring helps protect electrical equipment from both hazards.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent