Skip to content

Quick review

Quick review: Operating Systems – CCNA

This review sheet helps you go over the fundamental operating system concepts useful in the Cisco CCNA path, especially for host-side troubleshooting and configuration.

What you really need to know

In CCNA, operating systems are not the core of the exam like routing and switching, but they are essential for understanding what happens on the host side. Many network problems do not depend on the router or switch, but on incorrect IP configuration, wrong DNS, local firewall, network driver, DHCP client service, the operating system routing table or network adapter settings.

For CCNA, you need to reason about a PC, server or virtual machine as an endpoint of communication. You need to verify IP address, subnet mask, gateway, DNS, connectivity, open ports, active services and interface status.

The central point is this: a network can be configured correctly, but if the host has wrong settings, communication still fails.

Key concepts

  • Operating system: base software that manages hardware, processes, memory, files and networking.
  • Process: a running program.
  • Service: component that runs in the background, often without direct user interaction.
  • File system: structure used to organize files and folders.
  • Memory: resource used by processes while they run.
  • CLI: command-line interface.
  • PowerShell: advanced shell used mainly in Windows.
  • Bash: common shell in Linux and Unix-like systems.
  • IP configuration: IP address, subnet mask, gateway and DNS configured on the host.
  • Local firewall: software control that permits or blocks traffic on the device.
  • Network driver: software that allows the operating system to use the network adapter.
  • Updates: patches and updates for security, stability and compatibility.
  • Virtualization: running virtual machines on a physical host.
  • Snapshot: saved state of a virtual machine.

Differences not to confuse

ConceptMain meaning
ProcessRunning program
ServiceBackground function
CLICommand-line interface
PowerShellAdvanced Windows shell
BashCommon Linux/Unix shell
IP addressLayer 3 host address
GatewayRouter used for external networks
DNSName resolution
DHCPAutomatic IP assignment
Local firewallFilters traffic on the host
DriverConnects OS and hardware
SnapshotSaved state of a VM

Role of the operating system in networking

A host uses the operating system to communicate on the network.

The operating system manages:

  • network adapter;
  • IP address;
  • subnet mask;
  • default gateway;
  • DNS;
  • local routing table;
  • firewall;
  • network services;
  • TCP/UDP ports;
  • drivers;
  • updates;
  • logs.

When a PC cannot browse, checking the router is not enough. You must also verify the host configuration.

Processes

A process is a running program.

Examples:

  • browser;
  • SSH client;
  • web service;
  • antivirus;
  • business application;
  • terminal;
  • monitoring agent.

From a networking point of view, a process can open connections outward or listen on a local port.

Example: a web server can be a process listening on TCP port 80 or 443.

Services

A service is a component that runs in the background.

Examples:

  • DHCP client;
  • DNS client;
  • firewall service;
  • SSH service;
  • web service;
  • update service;
  • security agent;
  • virtualization services.

If a service is stopped, some functions may not work.

Example: if the DHCP client service does not work, the host may not automatically receive an IP address.

Memory and performance

Memory is used by processes while they run.

If a system has little available memory, it can become slow or unstable.

From a networking perspective, resource issues can affect:

  • slow applications;
  • services not responding;
  • timeouts;
  • difficulty handling many connections;
  • reduced performance in virtual machines.

For CCNA, you do not need advanced operating system administration, but you must understand that not all network problems depend on the network.

File system

The file system organizes files and folders.

It is also important for networking and security because it contains:

  • configurations;
  • logs;
  • keys;
  • certificates;
  • scripts;
  • temporary files;
  • backups;
  • software and drivers.

Incorrect file permissions can prevent a service from working or create security risks.

CLI

The CLI, Command Line Interface, allows you to run text commands.

It is fundamental for troubleshooting because it lets you quickly verify configurations and connectivity.

Examples of CLI activities:

  • check IP;
  • run ping;
  • run traceroute;
  • view active connections;
  • verify DNS;
  • check routing table;
  • start or stop services;
  • read logs;
  • test ports.

In CCNA, you should be comfortable with the idea of diagnosing problems from the terminal.

PowerShell

PowerShell is a powerful shell used mainly on Windows.

It can be used to:

  • verify IP configuration;
  • test connections;
  • manage services;
  • automate tasks;
  • query system and network information;
  • work with objects and scripts.

Useful commands or related concepts:

  • ipconfig;
  • Test-Connection;
  • Test-NetConnection;
  • Get-NetIPConfiguration;
  • Get-Service;
  • Get-NetAdapter;
  • Resolve-DnsName.

For CCNA, you do not need to become a PowerShell expert, but you should recognize that it is useful for Windows-side troubleshooting.

Bash

Bash is a common shell in Linux and Unix-like environments.

It can be used to:

  • check interfaces;
  • test connectivity;
  • read configuration files;
  • verify processes;
  • check services;
  • analyze logs;
  • run scripts.

Useful commands or related concepts:

  • ip addr;
  • ip route;
  • ping;
  • traceroute;
  • ss;
  • netstat;
  • systemctl;
  • dig;
  • nslookup;
  • journalctl.

For CCNA, it is useful to know that different environments use different tools, but the network reasoning remains the same.

Host IP configuration

A host must have correct IP configuration.

Main elements:

  • IP address;
  • subnet mask or prefix length;
  • default gateway;
  • DNS server.

If one of these is wrong, communication can fail.

Examples:

  • IP in the wrong subnet: the host does not communicate correctly in the LAN.
  • Missing gateway: the host communicates locally but not with external networks.
  • Wrong DNS: the host reaches IP addresses but cannot resolve names.
  • Wrong subnet mask: the host may think remote hosts are local or vice versa.

DHCP on the host

DHCP allows the host to automatically receive IP configuration.

If DHCP does not work, the host may:

  • not receive an IP address;
  • receive APIPA in a Windows environment;
  • receive the wrong gateway;
  • receive wrong DNS;
  • have an expired lease;
  • fail to communicate with external networks.

In troubleshooting, ask:

  • does the client receive an IP?
  • is the IP in the correct subnet?
  • are gateway and DNS correct?
  • is the DHCP server reachable?
  • is ip helper-address needed if the server is in another subnet?

DNS on the host

DNS translates names into IP addresses.

Classic symptom:

  • ping to IP works;
  • access by name does not work.

Possible causes:

  • wrong DNS server;
  • missing DNS record;
  • outdated DNS cache;
  • connectivity problem toward DNS;
  • firewall blocking DNS;
  • misspelled domain;
  • DHCP configuration distributing wrong DNS.

For CCNA, connect this symptom to DNS and do not immediately confuse it with routing.

Default gateway

The default gateway is the router used by the host to reach external networks.

If the gateway is wrong or missing:

  • communication in the same subnet may work;
  • communication toward the Internet or remote networks fails.

Example:

  • PC 192.168.10.50/24;
  • correct gateway: 192.168.10.1;
  • wrong gateway: 192.168.20.1.

The gateway must be reachable in the same subnet as the host.

Local routing table

An operating system also has a routing table.

It contains information about:

  • directly connected networks;
  • default route;
  • local static routes;
  • interfaces used to exit;
  • metrics.

In some issues, the host may send traffic toward the wrong interface or gateway, especially if it has multiple network adapters, VPNs or virtual machines.

Local firewall

The local firewall controls inbound and outbound traffic on the device.

It can block:

  • ping;
  • TCP ports;
  • local services;
  • connections from specific networks;
  • applications;
  • inbound traffic.

Example: a server may have the web service active, but the local firewall may block port 80 or 443.

For CCNA, remember that a service can be configured correctly but still not reachable because of the local firewall.

Network drivers

The driver allows the operating system to use the network adapter.

Driver problems can cause:

  • adapter not recognized;
  • interface disabled;
  • low performance;
  • disconnections;
  • incorrect speed;
  • Wi-Fi issues;
  • issues after updates.

In troubleshooting, if everything seems correct but the interface does not work, the driver can be a cause.

Updates

Updates fix bugs, vulnerabilities and compatibility issues.

They are important for:

  • security;
  • stability;
  • hardware support;
  • driver compatibility;
  • error correction;
  • performance.

But updates must be managed carefully: an update can also introduce incompatibilities or require a reboot.

For this reason, in professional environments updates must be planned and tested.

Useful Windows commands

Common Windows commands:

  • ipconfig;
  • ipconfig /all;
  • ipconfig /release;
  • ipconfig /renew;
  • ipconfig /flushdns;
  • ping;
  • tracert;
  • nslookup;
  • netstat;
  • route print;
  • Test-NetConnection;
  • Get-NetIPConfiguration.

Examples:

  • ipconfig /all shows IP, gateway, DNS and DHCP.
  • ping tests reachability.
  • tracert shows the path to a destination.
  • nslookup tests DNS resolution.
  • netstat shows connections and ports.

Useful Linux commands

Common Linux commands:

  • ip addr;
  • ip route;
  • ping;
  • traceroute;
  • dig;
  • nslookup;
  • ss;
  • netstat;
  • systemctl;
  • journalctl;
  • resolvectl.

Examples:

  • ip addr shows addresses and interfaces.
  • ip route shows local routes.
  • ss shows sockets and ports.
  • systemctl controls services.
  • journalctl helps read system logs.

Ping

Ping uses ICMP to test reachability.

It can help understand:

  • whether a host responds;
  • whether the gateway is reachable;
  • whether a remote destination is reachable;
  • whether there is packet loss;
  • whether latency is high.

Important limit: a failed ping does not always mean the host is off. ICMP can be blocked by firewalls or policies.

Traceroute and tracert

Traceroute, or tracert in Windows, shows the path to a destination.

It is useful to understand:

  • where traffic stops;
  • which routers are crossed;
  • whether the path is unexpected;
  • whether a problem looks local or remote.

There are limits here too: firewalls and routers may filter or not respond to packets used by traceroute.

Netstat and ss

Netstat and ss help view connections and ports.

They can show:

  • listening ports;
  • established connections;
  • remote addresses;
  • protocols;
  • associated processes, in some cases.

They are useful if you need to understand whether a service is actually listening on a port.

Example: if a web server does not respond, you can verify whether it is listening on TCP 80 or 443.

Virtualization

Virtualization allows multiple virtual machines to run on a physical host.

Important concepts:

  • hypervisor;
  • VM;
  • vNIC;
  • virtual switch;
  • bridge;
  • NAT mode;
  • host-only network;
  • snapshot.

In a CCNA lab, VMs are useful for testing systems, services and networks without dedicated physical hardware.

Virtual networks

Virtual machines can use different network types.

Examples:

  • bridged: the VM appears in the same physical network as the host.
  • NAT: the VM exits through the host.
  • host-only: the VM communicates only with the host or other VMs in the virtual network.
  • internal network: communication between isolated VMs.

Common problems:

  • VM in the wrong network mode;
  • wrong IP;
  • host firewall;
  • virtual switch not configured;
  • virtual DHCP disabled;
  • conflicts between interfaces.

Snapshot

A snapshot saves the state of a virtual machine at a certain moment.

It is useful for:

  • testing configurations;
  • going back after mistakes;
  • labs;
  • testing updates;
  • repeating exercises.

Warning: a snapshot does not replace a full backup and should not be kept too long in real environments without control.

Host-side troubleshooting

When a host does not communicate, proceed in order:

  • check physical link or Wi-Fi;
  • verify IP, subnet mask, gateway and DNS;
  • check whether the IP comes from DHCP;
  • ping loopback;
  • ping its own IP;
  • ping the gateway;
  • ping an external IP;
  • test DNS resolution;
  • verify local firewall;
  • verify services and ports;
  • check local routes;
  • check drivers and interface status.

This approach avoids jumping to wrong conclusions.

Common quiz mistakes

  • Immediately looking for router problems without checking the host.
  • Confusing DHCP and DNS.
  • Forgetting the default gateway.
  • Thinking that a failed ping always means the host is off.
  • Forgetting that the local firewall can block traffic.
  • Ignoring drivers and network adapter status.
  • Confusing PowerShell and Bash.
  • Not distinguishing process and service.
  • Thinking that a VM always works like a physical host.
  • Using the wrong virtual network mode.
  • Thinking that a snapshot always equals a backup.
  • Forgetting that DNS can be the problem even if Internet works toward IP addresses.

Mini exam scenario

A PC receives the correct IP address and can ping the gateway. It can also ping 8.8.8.8, but it cannot open websites using names.

The most likely cause is a DNS problem: routing works, IP connectivity works, but name resolution does not work.

Another scenario: a web service is active on a server, but clients cannot reach it. Before changing routing, check whether the service is listening on the correct port and whether the local firewall is blocking traffic.

Mini checklist before the quiz

Before starting the quiz, you should be able to explain:

  • the difference between process and service;
  • what the CLI is used for;
  • when to use PowerShell or Bash;
  • how to verify IP, gateway and DNS on a host;
  • why DHCP is important on the client side;
  • how to recognize a DNS problem;
  • what the local firewall is used for;
  • why drivers can affect the network;
  • what ping, tracert, traceroute, netstat and ss do;
  • what local routing table means;
  • what virtualization and snapshots are;
  • how to reason through host-side troubleshooting.

FAQ

Why are operating systems important in CCNA?

Because many network problems depend on host configuration: IP, gateway, DNS, DHCP, local firewall, drivers, services or local routing table.

What is the difference between process and service?

A process is a running program. A service is a function that runs in the background, often without direct user interaction.

What is ipconfig used for?

On Windows, ipconfig shows the host IP configuration, including IP address, subnet mask, gateway, DNS and DHCP information.

What is ping used for?

Ping tests reachability using ICMP, but it can fail even if the host is on, because ICMP can be blocked.

What is a typical DNS problem symptom?

The host can reach IP addresses, but cannot reach services using domain names.

Can the local firewall block traffic even if the network works?

Yes. A service may be active and the network correct, but the local firewall can block the required ports.

What are virtualization and snapshots used for?

Virtualization allows virtual machines to be used for testing and labs. Snapshots allow a saved state to be restored after changes or mistakes.

Why should the default gateway be checked?

Because without a correct default gateway the host can communicate in the local network, but not with external networks.

Now test what you reviewed

After the review, start the quiz to check whether you really understand the key concepts.